Hi, we have proxmox server configured with 1 TB / 2hard drives. It has been running great with 5 VMs on it until I restarted. Now all the VMS lost their hard drive. I can still log in to server but none of the VMS working. The server seems to have been configure zfs.
ls -l /dev/disk/by-id/
total 0
lrwxrwxrwx 1 root root 9 Apr 5 15:41 ata-Patriot_P200_1TB_AA000000000000000359 -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 5 15:41 ata-Patriot_P200_1TB_AA000000000000000359-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Apr 5 15:41 ata-Patriot_P200_1TB_AA000000000000000359-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Apr 5 15:41 ata-Patriot_P200_1TB_AA000000000000000359-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 9 Apr 5 15:41 ata-Patriot_P200_1TB_AA000000000000000511 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 5 15:41 ata-Patriot_P200_1TB_AA000000000000000511-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 5 15:41 ata-Patriot_P200_1TB_AA000000000000000511-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 5 15:41 ata-Patriot_P200_1TB_AA000000000000000511-part3 -> ../../sda3
lrwxrwxrwx 1 root root 12 Apr 5 15:41 lvm-pv-uuid-bDwkZ8-4stS-Y9YK-t6f9-MBS1-3P0n-aC288S -> ../../zd80p2
lrwxrwxrwx 1 root root 12 Apr 5 15:41 lvm-pv-uuid-cTK3Fy-0IgA-rffA-3tip-iY1w-6zle-eZ96Jo -> ../../zd16p2
lrwxrwxrwx 1 root root 12 Apr 5 15:41 lvm-pv-uuid-vVgfDD-YXQ0-bVQm-MDss-teas-2Wrh-Gwcp9j -> ../../zd96p2
zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 379G 544G 96K /rpool
rpool/ROOT 216G 544G 96K /rpool/ROOT
rpool/ROOT/pve-1 216G 544G 61.2G /
rpool/ROOT/pve-1/vm-100-disk-0 155G 698G 56K -
rpool/ROOT/pve-1/vm-104-disk-0 56K 544G 56K -
rpool/ROOT/pve-1/vm-105-disk-0 56K 544G 56K -
rpool/ROOT/pve-1/vm-106-disk-0 56K 544G 56K -
rpool/data 162G 544G 96K /rpool/data
rpool/data/vm-100-disk-0 61.0G 544G 61.0G -
rpool/data/vm-101-disk-0 54.7G 544G 54.7G -
rpool/data/vm-103-disk-0 16.1G 544G 16.1G -
rpool/data/vm-104-disk-0 56K 544G 56K -
rpool/data/vm-104-disk-1 2.63G 544G 2.63G -
rpool/data/vm-105-disk-0 13.9G 544G 13.9G -
rpool/data/vm-106-disk-0 14.2G 544G 14.2G -
--------------------------------------------------------------------------
How can I attach the hard drive to each of the VMs? Appreciate any help in the right direction. Sam
ls -l /dev/disk/by-id/
total 0
lrwxrwxrwx 1 root root 9 Apr 5 15:41 ata-Patriot_P200_1TB_AA000000000000000359 -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 5 15:41 ata-Patriot_P200_1TB_AA000000000000000359-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Apr 5 15:41 ata-Patriot_P200_1TB_AA000000000000000359-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Apr 5 15:41 ata-Patriot_P200_1TB_AA000000000000000359-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 9 Apr 5 15:41 ata-Patriot_P200_1TB_AA000000000000000511 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 5 15:41 ata-Patriot_P200_1TB_AA000000000000000511-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 5 15:41 ata-Patriot_P200_1TB_AA000000000000000511-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 5 15:41 ata-Patriot_P200_1TB_AA000000000000000511-part3 -> ../../sda3
lrwxrwxrwx 1 root root 12 Apr 5 15:41 lvm-pv-uuid-bDwkZ8-4stS-Y9YK-t6f9-MBS1-3P0n-aC288S -> ../../zd80p2
lrwxrwxrwx 1 root root 12 Apr 5 15:41 lvm-pv-uuid-cTK3Fy-0IgA-rffA-3tip-iY1w-6zle-eZ96Jo -> ../../zd16p2
lrwxrwxrwx 1 root root 12 Apr 5 15:41 lvm-pv-uuid-vVgfDD-YXQ0-bVQm-MDss-teas-2Wrh-Gwcp9j -> ../../zd96p2
zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 379G 544G 96K /rpool
rpool/ROOT 216G 544G 96K /rpool/ROOT
rpool/ROOT/pve-1 216G 544G 61.2G /
rpool/ROOT/pve-1/vm-100-disk-0 155G 698G 56K -
rpool/ROOT/pve-1/vm-104-disk-0 56K 544G 56K -
rpool/ROOT/pve-1/vm-105-disk-0 56K 544G 56K -
rpool/ROOT/pve-1/vm-106-disk-0 56K 544G 56K -
rpool/data 162G 544G 96K /rpool/data
rpool/data/vm-100-disk-0 61.0G 544G 61.0G -
rpool/data/vm-101-disk-0 54.7G 544G 54.7G -
rpool/data/vm-103-disk-0 16.1G 544G 16.1G -
rpool/data/vm-104-disk-0 56K 544G 56K -
rpool/data/vm-104-disk-1 2.63G 544G 2.63G -
rpool/data/vm-105-disk-0 13.9G 544G 13.9G -
rpool/data/vm-106-disk-0 14.2G 544G 14.2G -
--------------------------------------------------------------------------
How can I attach the hard drive to each of the VMs? Appreciate any help in the right direction. Sam