Closed azeemism closed 4 years ago
@kpande but to my knowledge the directory does exist. If I boot into my non-native ZFS OS and mount the pool zpool import -o cachefile=none -o altroot=/sysroot rpool
, then only mount "/" zfs mount rpool/ROOT/debian-8
, the /sysroot/var/backups
folder exits. ...So I am not clear why then I am receiving the canonicalization error 2, that this directory does not exist. Additionally, when I am in the non-native ZFS OS, I have no trouble mounting rpool/ROOT/debian-8/var/backups
.
Further, I have followed the Debian install wiki https://github.com/zfsonlinux/zfs/wiki/Debian-Jessie-Root-on-ZFS
in setting canmount=off
for rpool/ROOT/debian-8/var
. I was able to overcome this issue by allowing rpool/ROOT/debian-8/var
to mount during install. ...So to my eyes canmount=off cannot be used in Debian Jessie and that is basically the issue here. If the wiki is incorrect or missing some steps, please let me know so I can close this issue and follow your recommendation to use the zfs-discuss list.
Thanks.
Current versions of the HOWTOs set canmount=off on /var, so this presumably works now.
System information
Describe the problem you're observing
Debian Jessie Native ZFS fails to load sub filesystems under
/var
whenrpool/ROOT/debian-8/var
is set tocanmount=off
.Describe how to reproduce the problem
Follow zfs wiki to install with the exception of putting
/boot
an/boot/efi
partitions on a different disk.https://github.com/zfsonlinux/zfs/wiki/Debian-Jessie-Root-on-ZFS
Include any warning/errors/backtraces from the system logs
Thanks!