Hello all i have some ongoing issues with ZFS not always mounting properly, after reboot.
I tried some full ZFS (system installed to rpool) installs awhile back but this setup seemed to unstable for me grub errors and disks not found all that sort of thing. Anyways for now i have moved to an ext4 root system installed from the lastest 3.4-102d4547-6 ISO after which I setup some ZFS pools for VZs/VMs and backups.
I have updated to latest version of pve hoping ZFS might mount properly but it still does not here are my version infos
root@pve:~# pveversion -v
proxmox-ve-2.6.32: 3.4-163 (running kernel: 2.6.32-41-pve)
pve-manager: 3.4-11 (running version: 3.4-11/6502936f)
pve-kernel-2.6.32-40-pve: 2.6.32-160
pve-kernel-2.6.32-39-pve: 2.6.32-157
pve-kernel-2.6.32-41-pve: 2.6.32-163
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.7-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.10-3
pve-cluster: 3.0-19
qemu-server: 3.4-6
pve-firmware: 1.1-4
libpve-common-perl: 3.0-24
libpve-access-control: 3.0-16
libpve-storage-perl: 3.0-33
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-8
vzctl: 4.0-1pve6
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 2.2-11
ksm-control-daemon: 1.1-1
glusterfs-client: 3.5.2-1
Anyways i get errors in the boot logs (full log is attached) about pools not mounting because the directories are not empty as seen below, as it is not convient to reboot this machine right now i cannot show everything i have tried, however below is the latest reboot, after which i shutdown into single user mode and deleted the directories created by pve (dump images and that sort of thing)
see https://pve.proxmox.com/wiki/Storage:_ZFS#ZFS_mounting_workaround
Maybe this is a problem because i am mixing ext4 lvm root with ZFS pools, and i am reluctant to mess with the /etc/insserv.conf and /etc/ as it has caused me problems with system updates, but i am willing to try if someone assures me it might help Anyways this is quite confusing/scary to have to boot into single user mode deleting stuff. At this point im not sure if i have stuff mounted on top of other stuff or what exactly is goin on please help. NOTE i have attached some more infos to hopefully help get this all sorted and will provide any further information requested
Wed Sep 23 15:41:24 2015: Starting vzeventd:
Wed Sep 23 15:41:24 2015: Starting enhanced syslogd: rsyslogd.
Wed Sep 23 15:41:24 2015: Starting deferred execution scheduler: atd.
Wed Sep 23 15:41:24 2015: Starting NTP server: ntpd.
Wed Sep 23 15:41:24 2015: Starting OpenBSD Secure Shell server: sshd.
Wed Sep 23 15:41:24 2015: Mounting ZFS filesystem(s) cannot mount '/apool': directory is not empty
Wed Sep 23 15:41:24 2015: cannot mount '/bpool': directory is not empty
Wed Sep 23 15:41:24 2015: 1 ... failed!
Wed Sep 23 15:41:26 2015: Starting VMs and Containers
Wed Sep 23 15:41:26 2015: Starting VM 100
Wed Sep 23 15:41:30 2015: Starting CT 101
Wed Sep 23 15:41:32 2015: Starting CT 101 failed: command 'vzctl start 101' failed: exit code 62
Wed Sep 23 15:41:32 2015: Starting CT 102
Wed Sep 23 15:41:35 2015: Starting CT 102 failed: command 'vzctl start 102' failed: exit code 62
Wed Sep 23 15:41:35 2015: Starting CT 105
Wed Sep 23 15:41:38 2015: Starting CT 105 failed: command 'vzctl start 105' failed: exit code 62
Wed Sep 23 15:41:38 2015: Starting VM 106
Wed Sep 23 15:41:42 2015: Starting CT 109
Wed Sep 23 15:41:45 2015: Starting CT 109 failed: command 'vzctl start 109' failed: exit code 62
Wed Sep 23 15:41:45 2015: nohup: redirecting stderr to stdout
I tried some full ZFS (system installed to rpool) installs awhile back but this setup seemed to unstable for me grub errors and disks not found all that sort of thing. Anyways for now i have moved to an ext4 root system installed from the lastest 3.4-102d4547-6 ISO after which I setup some ZFS pools for VZs/VMs and backups.
I have updated to latest version of pve hoping ZFS might mount properly but it still does not here are my version infos
root@pve:~# pveversion -v
proxmox-ve-2.6.32: 3.4-163 (running kernel: 2.6.32-41-pve)
pve-manager: 3.4-11 (running version: 3.4-11/6502936f)
pve-kernel-2.6.32-40-pve: 2.6.32-160
pve-kernel-2.6.32-39-pve: 2.6.32-157
pve-kernel-2.6.32-41-pve: 2.6.32-163
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.7-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.10-3
pve-cluster: 3.0-19
qemu-server: 3.4-6
pve-firmware: 1.1-4
libpve-common-perl: 3.0-24
libpve-access-control: 3.0-16
libpve-storage-perl: 3.0-33
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-8
vzctl: 4.0-1pve6
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 2.2-11
ksm-control-daemon: 1.1-1
glusterfs-client: 3.5.2-1
Anyways i get errors in the boot logs (full log is attached) about pools not mounting because the directories are not empty as seen below, as it is not convient to reboot this machine right now i cannot show everything i have tried, however below is the latest reboot, after which i shutdown into single user mode and deleted the directories created by pve (dump images and that sort of thing)
see https://pve.proxmox.com/wiki/Storage:_ZFS#ZFS_mounting_workaround
Maybe this is a problem because i am mixing ext4 lvm root with ZFS pools, and i am reluctant to mess with the /etc/insserv.conf and /etc/ as it has caused me problems with system updates, but i am willing to try if someone assures me it might help Anyways this is quite confusing/scary to have to boot into single user mode deleting stuff. At this point im not sure if i have stuff mounted on top of other stuff or what exactly is goin on please help. NOTE i have attached some more infos to hopefully help get this all sorted and will provide any further information requested
Wed Sep 23 15:41:24 2015: Starting vzeventd:
Wed Sep 23 15:41:24 2015: Starting enhanced syslogd: rsyslogd.
Wed Sep 23 15:41:24 2015: Starting deferred execution scheduler: atd.
Wed Sep 23 15:41:24 2015: Starting NTP server: ntpd.
Wed Sep 23 15:41:24 2015: Starting OpenBSD Secure Shell server: sshd.
Wed Sep 23 15:41:24 2015: Mounting ZFS filesystem(s) cannot mount '/apool': directory is not empty
Wed Sep 23 15:41:24 2015: cannot mount '/bpool': directory is not empty
Wed Sep 23 15:41:24 2015: 1 ... failed!
Wed Sep 23 15:41:26 2015: Starting VMs and Containers
Wed Sep 23 15:41:26 2015: Starting VM 100
Wed Sep 23 15:41:30 2015: Starting CT 101
Wed Sep 23 15:41:32 2015: Starting CT 101 failed: command 'vzctl start 101' failed: exit code 62
Wed Sep 23 15:41:32 2015: Starting CT 102
Wed Sep 23 15:41:35 2015: Starting CT 102 failed: command 'vzctl start 102' failed: exit code 62
Wed Sep 23 15:41:35 2015: Starting CT 105
Wed Sep 23 15:41:38 2015: Starting CT 105 failed: command 'vzctl start 105' failed: exit code 62
Wed Sep 23 15:41:38 2015: Starting VM 106
Wed Sep 23 15:41:42 2015: Starting CT 109
Wed Sep 23 15:41:45 2015: Starting CT 109 failed: command 'vzctl start 109' failed: exit code 62
Wed Sep 23 15:41:45 2015: nohup: redirecting stderr to stdout