You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tried to trigger '/usr/bin/zpool import -a' with own script in '/etc/initramfs-tools/scripts/init-top/' and '/etc/initramfs-tools/scripts/init-premount/' (my 'echo' inside the script not even got shown during boot ...)
So far I'm just able to boot into recovery. Manually doing 'zpool import -a' and 'mount -a' works! But on boot it stuck on local-premount and systemd begins to complain about missing mount for '/var'!
How can this be fixed or is this only working using zfs as root also?! As mentioned currently I'm afraid of moving RootFS to ZFS as there are already so much problems just trying to make '/var' mount from ZFS rPool in place at boot already!
The text was updated successfully, but these errors were encountered:
I'm trying to migrate my disk to ZFS whereas I'm using an SSD-Drive (LVM for RootFS) and a Hard-Disk as Storage for my other Data setup with ZFS.
My RootFS relies on LVM-Volume (works). I want to have '/var' and some sub-folder (like /var/www) on ZFS.
I already tried this to fixup this issue:
Adding the rpool/dataset for var to /etc/init/zfs 'ZFS_INITRD_ADDITIONAL_DATASETS'
zfs set mountpoint=legacy rpool/var
adding rpool/var to fstab:
tried the workaround mentioned in Mounts datasets too late in boot process #101
tried to trigger '/usr/bin/zpool import -a' with own script in '/etc/initramfs-tools/scripts/init-top/' and '/etc/initramfs-tools/scripts/init-premount/' (my 'echo' inside the script not even got shown during boot ...)
So far I'm just able to boot into recovery. Manually doing 'zpool import -a' and 'mount -a' works! But on boot it stuck on local-premount and systemd begins to complain about missing mount for '/var'!
How can this be fixed or is this only working using zfs as root also?! As mentioned currently I'm afraid of moving RootFS to ZFS as there are already so much problems just trying to make '/var' mount from ZFS rPool in place at boot already!
The text was updated successfully, but these errors were encountered: