Добрый день!
Установил Proxmox. Хост - Debain. Создал KVM машину с Debian.
Пробросил LVM тома хоста в гостя.
virtio1: /dev/mapper/serverLVM-data,size=1239776M
virtio3: /dev/mapper/serverLVM-VMs,size=80G
Не могу их правильно добавить в fstab
fdisk -l host
fdisk -l Disk /dev/mapper/serverLVM-data: 1300.0 GB, 1299999358976 bytes 255 heads, 63 sectors/track, 158049 cylinders, total 2539061248 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000 Disk /dev/mapper/serverLVM-data doesn't contain a valid partition table Disk /dev/mapper/serverLVM-VMs: 85.9 GB, 85899345920 bytes 255 heads, 63 sectors/track, 10443 cylinders, total 167772160 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000 Disk /dev/mapper/serverLVM-VMs doesn't contain a valid partition table
fdisk -l guest
fdisk -l Disk /dev/vdb: 1300.0 GB, 1299999358976 bytes 16 heads, 63 sectors/track, 2518909 cylinders, total 2539061248 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 Disk identifier: 0x00000000 Disk /dev/vdb doesn't contain a valid partition table Disk /dev/vdd: 85.9 GB, 85899345920 bytes 16 heads, 63 sectors/track, 166440 cylinders, total 167772160 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 Disk identifier: 0x00000000 Disk /dev/vdd doesn't contain a valid partition table
/etc/fstab
/dev/vdb /data ext4 0 0 /dev/vdd /VMs ext3 0 0
Если побродить по дискам через Dolphin (KDE), то потом через
mount /data
mount /data
mount: wrong fs type, bad option, bad superblock on /dev/vdb,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Подскажите, как правильно прописать диски в fstab?
Возможно, я их неправильно добавил в kvm машину?