Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: Gavilaan on 11 April 2021, 23:41:00

Title: ZFS Dataset not mounted
Post by: Gavilaan on 11 April 2021, 23:41:00
Hi all,
i installed a new artix system with zfs on root. Since the old wiki instruction aren't there any more i followed the instruction for arch-linux as recommended. The system is up and running, but during the installation i created (also as recommended) a lot of datasets, but none of them is mounted after reboot.
I think the missing part is in "System Configuration" Step 2. I created the zfs-list.cache file but as far as i understand it, it is used by systemd to mount the datasets. I haven't found any comparable openrc files, but maybe i'm missing something here.
If i do a "zfs mount -a", all datasets are mounted as expected.

Thanks
Gav
Title: Re: ZFS Dataset not mounted
Post by: alium on 12 April 2021, 00:30:06
maybe you need add our universe repo to your pacman.conf and install zfs from our universe repo.

Code: [Select]
[universe]
Server = https://universe.artixlinux.org/$arch

repo contains zfs-dkms and zfs-utils, but no init things
Title: Re: ZFS Dataset not mounted
Post by: ndowens on 12 April 2021, 13:21:56
There is no need for systemd or any inits for zfs to auto mount. Sounds as installation steps may have been missed or wrong. Of course ignore sysd parts of the install.
Title: Re: ZFS Dataset not mounted
Post by: Artist on 12 April 2021, 14:54:05
Did you run genfstab or add the mounts manually to the fstab file?
Title: Re: ZFS Dataset not mounted
Post by: ndowens on 12 April 2021, 14:56:05
Did you run genfstab or add the mounts manually to the fstab file?
If one does zfs as normal and not use zfs legacy mode, the only thing that would need to be in fstab is /boot and other non-zfs partitions.