Hi,
I have an pve 5.1 system, wich are updated last week, where I create an new VM, but the VM don't start, because the links below /dev/zvol/rpool/data/ wasn't created.
I've tried this with different pools, but the same happens on the other zfs-pools.
The disk was created:
If I create the disk on lvm-storage I can start the VM.
After that, i can also migrate the disk to zfs-storage and both links will be created (from the unused an the new one):
As zfs-related stuff I have installed additional things
Udo
I have an pve 5.1 system, wich are updated last week, where I create an new VM, but the VM don't start, because the links below /dev/zvol/rpool/data/ wasn't created.
Code:
qm start 206
kvm: -drive file=/dev/zvol/rpool/data/vm-206-disk-1,if=none,id=drive-scsi0,discard=on,format=raw,cache=none,aio=native,detect-zeroes=unmap: Could not open '/dev/zvol/rpool/data/vm-206-disk-1': No such file or directory
The disk was created:
Code:
# syslog
Mar 21 14:43:57 pve01 pvedaemon[21527]: <udo@pve> update VM 206: -scsi0 local-zfs:50,discard=on
zfs list | grep 206
rpool/data/vm-206-disk-1 56K 394G 56K -
Code:
pveversion -v
proxmox-ve: 5.1-41 (running kernel: 4.13.13-6-pve)
pve-manager: 5.1-46 (running version: 5.1-46/ae8241d4)
pve-kernel-4.13.13-6-pve: 4.13.13-41
pve-kernel-4.13.13-5-pve: 4.13.13-38
corosync: 2.4.2-pve3
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libpve-access-control: 5.0-8
libpve-common-perl: 5.0-28
libpve-guest-common-perl: 2.0-14
libpve-http-server-perl: 2.0-8
libpve-storage-perl: 5.0-17
libqb0: 1.0.1-1
lvm2: 2.02.168-pve6
lxc-pve: 2.1.1-3
lxcfs: 2.0.8-2
novnc-pve: 0.6-4
openvswitch-switch: 2.7.0-2
proxmox-widget-toolkit: 1.0-11
pve-cluster: 5.0-20
pve-container: 2.0-19
pve-docs: 5.1-16
pve-firewall: 3.0-5
pve-firmware: 2.0-3
pve-ha-manager: 2.0-5
pve-i18n: 1.0-4
pve-libspice-server1: 0.12.8-3
pve-qemu-kvm: 2.9.1-9
pve-xtermjs: 1.0-2
pve-zsync: 1.6-15
qemu-server: 5.0-22
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3
zfsutils-linux: 0.7.6-pve1~bpo9
After that, i can also migrate the disk to zfs-storage and both links will be created (from the unused an the new one):
Code:
ls -lsa /dev/zvol/rpool/data/
total 0
0 drwxr-xr-x 2 root root 120 Mar 21 15:00 .
0 drwxr-xr-x 3 root root 80 Mar 16 17:27 ..
0 lrwxrwxrwx 1 root root 14 Mar 21 15:00 vm-206-disk-1 -> ../../../zd224
0 lrwxrwxrwx 1 root root 14 Mar 21 15:00 vm-206-disk-2 -> ../../../zd240
Code:
cat /etc/pve/qemu-server/206.conf
balloon: 0
bootdisk: scsi0
cores: 2
ide2: local:iso/SW_DVD9_Windows_Svr.ISO,media=cdrom
memory: 8192
name: vtest
net0: virtio=BE:79:CE:72:82:AF,bridge=vmbr0,tag=5
numa: 0
ostype: win10
scsi0: local-zfs:vm-206-disk-2,size=10G
scsihw: virtio-scsi-pci
smbios1: uuid=194ab9c7-8487-40c2-bc4f-578087c24587
sockets: 2
unused0: local-zfs:vm-206-disk-1
unused1: sasraid:vm-206-disk-1
Code:
ii znapzend 0.17.0-1 amd64 High performance open source ZFS backup with mbuffer and ssh support
ii pve-zsync 1.6-15 all Proxmox VE storage management library