У меня есть виртуальная машина Fedora 26 Linux под XenServer с 2 виртуальными дисками, емкость 2x 2TB. В Linux используется программный RAID0, а в ОС - 4 ТБ. Теперь мне не нужно 4 ТБ, и мне нужно перенести машину на другой хост без больших жестких дисков.
Я считаю, что мне нужно:
Поскольку это немного сложная процедура, я прошу помощи.
Disk /dev/xvdb: 2 TiB, 2147483648000 bytes, 4194304000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2e5ea059
Device Boot Start End Sectors Size Id Type
/dev/xvdb1 2048 4286463 4284416 2G 8e Linux LVM
/dev/xvdb2 4286464 4194299903 4190013440 2T fd Linux raid autodetect
Disk /dev/xvda: 2 TiB, 2147483648000 bytes, 4194304000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xdc4306f1
Device Boot Start End Sectors Size Id Type
/dev/xvda1 * 2048 2099199 2097152 1G 83 Linux
/dev/xvda2 2099200 4286463 2187264 1G 8e Linux LVM
/dev/xvda3 4286464 4194299903 4190013440 2T fd Linux raid autodetect
Disk /dev/md127: 3.9 TiB, 4290305327104 bytes, 8379502592 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes
Disk /dev/mapper/fedora_collector-swap: 3.1 GiB, 3292528640 bytes, 6430720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes