This is the second time I've installed a proxmox host from scratch. This time I imported a ZFS pool from another proxmox machine and restored all my VMs and containers from that. However on startup, any of the containers or VMs configured to start at boot fail to start, saying that their respective disks don't exist. For example:
Similarly for containers configured to start at boot:
These disks definitely do exist at this location.
This same ZFS pool existed on a slightly older install of proxmox and didn't have any issues. Does anyone know what the issue is here?
storage.cfg:
LXC config:
Associated disk:
VM config:
Associated disk:
Code:
TASK ERROR: volume 'prox-vm:103/vm-103-disk-0.qcow2' does not exist
Similarly for containers configured to start at boot:
Code:
TASK ERROR: volume 'prox-vm:100/vm-100-disk-1.raw' does not exist
These disks definitely do exist at this location.
prox-vm
is a directory storage referencing a path in a zfs pool named prox-ZFS
. These errors only occur on startup, and after boot (and these errors) I can start the respective VMs and containers without any issue at all. Fiddling with the startup delays didn't seem to work, and googling only turns up issues with the VM disks actually being missing which isn't the case here. This same ZFS pool existed on a slightly older install of proxmox and didn't have any issues. Does anyone know what the issue is here?
storage.cfg:
Code:
dir: local
path /var/lib/vz
content iso,backup,vztmpl
zfspool: local-zfs
pool rpool/data
content images,rootdir
sparse 1
zfspool: prox-ZFS
pool prox-ZFS
content images,rootdir
mountpoint /prox-ZFS
sparse 0
dir: prox-backups
path /mnt/zfs/backup
content backup
prune-backups keep-all=1
shared 0
dir: prox-vm
path /mnt/zfs/vm
content images,rootdir
prune-backups keep-all=1
shared 0
dir: prox-iso
path /mnt/zfs/iso
content iso,vztmpl
prune-backups keep-all=1
shared 0
LXC config:
Code:
arch: amd64
cores: 1
hostname: piHole
memory: 256
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=9E:3D:1F:85:AA:76,ip=dhcp,type=veth
onboot: 1
ostype: ubuntu
rootfs: prox-vm:100/vm-100-disk-1.raw,size=4G
startup: up=25
swap: 512
unprivileged: 1
Associated disk:
Code:
ls -lrta /mnt/zfs/vm/images/100/
total 1748886
-rw-r----- 1 root root 4294967296 Aug 2 2020 vm-100-disk-0.raw
drwxr----- 2 root root 4 Jan 8 17:39 .
-rw-r----- 1 root root 4294967296 Jan 11 16:40 vm-100-disk-1.raw
drwxr-xr-x 10 root root 10 Jan 11 21:49 ..
VM config:
Code:
balloon: 1024
bootdisk: scsi0
cores: 2
ide2: none,media=cdrom
memory: 2048
name: Plex
net0: virtio=66:2E:C5:F4:71:99,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: l26
scsi0: prox-vm:103/vm-103-disk-0.qcow2,size=21G
scsihw: virtio-scsi-pci
smbios1: uuid=49e4b457-f598-4b4f-8d46-9574a77a24c0
sockets: 1
startup: up=30
vmgenid: 6d35fc36-1fc6-482d-9c17-4350de8e2619
Associated disk:
Code:
ls -lrta /mnt/zfs/vm/images/103/
total 13451226
drwxr----- 2 root root 3 Jan 10 16:55 .
drwxr-xr-x 10 root root 10 Jan 11 21:49 ..
-rw-r----- 1 root root 22552248320 Jan 16 18:47 vm-103-disk-0.qcow2