There are multiple segfaults in syslog during boot and subvolumes aren't mounted properly. In fact, after boot, my zpool mountpoints aren't there and appear after a while, but are not mounted - only empty parent folder exists.
Workaround
I've tried many configuration changes from other threads, but nothing helped so far.
Only workaround is to
What I've tried, but no success
I've tried tip from linked thread to disable ZFS cache mount and use zfs-import-scan.service. I've completely disabled cache in
I've even loaded Live CD Debian and deleted all "mountpoints folders" to omit conflicts with existing folders.
Can you please tell me, what can I try now? I want my pools to mount at startup and start all VMs automatically. It was working fine, but now it's not.
Please let me know if you need more information.
Errors (during boot):
When starting container:
My configuration:
/etc/default/zfs:
Thank you!
Workaround
I've tried many configuration changes from other threads, but nothing helped so far.
Only workaround is to
zfs mount <mountpoint_path>
one by one, then start containers.
Code:
for i in `zfs list|sed 1d|grep -e '^tank/container/subvol'|awk '{print $1}'`; do zfs mount $i ; done
for i in `pct list|sed 1d|grep -e 'stopped'|awk '{print $1}'`; do pct start $i ; done
What I've tried, but no success
I've tried tip from linked thread to disable ZFS cache mount and use zfs-import-scan.service. I've completely disabled cache in
/etc/default/zfs
.I've even loaded Live CD Debian and deleted all "mountpoints folders" to omit conflicts with existing folders.
Can you please tell me, what can I try now? I want my pools to mount at startup and start all VMs automatically. It was working fine, but now it's not.
Please let me know if you need more information.
Errors (during boot):
When starting container:
My configuration:
Code:
# pveversion -v
proxmox-ve: 6.1-2 (running kernel: 5.3.18-3-pve)
pve-manager: 6.1-8 (running version: 6.1-8/806edfe1)
pve-kernel-helper: 6.1-8
pve-kernel-5.3: 6.1-6
pve-kernel-5.3.18-3-pve: 5.3.18-3
pve-kernel-5.3.18-2-pve: 5.3.18-2
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.3-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
libjs-extjs: 6.0.1-10
libknet1: 1.15-pve1
libpve-access-control: 6.0-6
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.0-17
libpve-guest-common-perl: 3.0-5
libpve-http-server-perl: 3.0-5
libpve-storage-perl: 6.1-5
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 3.2.1-1
lxcfs: 4.0.1-pve1
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.1-3
pve-cluster: 6.1-4
pve-container: 3.0-23
pve-docs: 6.1-6
pve-edk2-firmware: 2.20200229-1
pve-firewall: 4.0-10
pve-firmware: 3.0-7
pve-ha-manager: 3.0-9
pve-i18n: 2.0-4
pve-qemu-kvm: 4.1.1-4
pve-xtermjs: 4.3.0-1
qemu-server: 6.1-7
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.3-pve1
# zfs --version
zfs-0.8.3-pve1
zfs-kmod-0.8.3-pve1
/etc/default/zfs:
Code:
ZFS_MOUNT='yes'
ZFS_UNMOUNT='yes'
ZFS_SHARE='yes'
ZFS_UNSHARE='yes'
ZPOOL_IMPORT_ALL_VISIBLE='no'
ZPOOL_IMPORT_PATH="/dev/disk/by-id"
ZFS_POOL_IMPORT="rpool"
VERBOSE_MOUNT='no'
DO_OVERLAY_MOUNTS='no'
ZPOOL_IMPORT_OPTS="-o cachefile=none"
ZPOOL_CACHE="none"
MOUNT_EXTRA_OPTIONS=""
ZFS_DKMS_ENABLE_DEBUG='no'
ZFS_DKMS_ENABLE_DEBUGINFO='no'
ZFS_DKMS_DISABLE_STRIP='no'
ZFS_INITRD_PRE_MOUNTROOT_SLEEP='0'
ZFS_INITRD_POST_MODPROBE_SLEEP='0'
Thank you!