XEN. Добавляем сторадж

Добавить новый жесткий диск в XEN очень просто:

xe sr-create content-type=user device-config:device=/dev/disk/by-id/scsi-SATA_WDC_WD10EARX-00_WD-WCC0T0051654 \
host-uuid=239282d8-3959-42a9-9c8f-df91e551a555 name-label="File Server Storage" shared=false type=lvm

Оно ответит нечто наподобие:


В команде берем device= id нашего диска, которое можно увидеть в /dev/disk/by-id

If you open your console, you will type in: “ls -al /dev/disk/by-id”. Then, look for the disks with no additional “part1/part2/…” defined on them. These are the additional hard-drives added to the system.

Значение host-uuid= you get from typing into your console: “xe host-list”

You can find the full command line documented page at:


virtualization/xen_add_storage.txt · Last modified: 2014/08/30 15:13 by rybario
About this template
CC Attribution-Share Alike 4.0 International
Powered by PHP Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 Valid HTML5