Everything ZFS

Hello. I configured mounting of encrypted home directory after login according to this article https://wiki.archlinux.org/title/ZFS#PAM_module

But I have additional datasets in another pool which I want to be mounted inside my home directory (they are unencrypted).

The problem it that I get them mounted before my homedir is mounted if I have canmount=on configured

I tried to tinker with zfs-mount-generator but couldn't make it mount my datasets after login.

I know that I can mount them elsewhere and have symlinks but I wonder whether there is a way mount them automatically after login.

Can anyone show me the right direction?

canmount=off and then mount them in your .profile or .bashrc ?

1 replies

Needed recommendations for zpool planning

7mon 12d ago by lemmy.world/u/poinck in zfs
642

Help - who mounted all my snapshots??

7mon 1d ago by lemmy.ca/u/GreatBlueHeron in zfs
503

SATA vs M.2

1y 1mon ago by lemmy.zip/u/0x0 in zfs
724

Isolating Containers with ZFS and Linux Namespaces - Klara Systems

1y 3mon ago by lemmy.world/u/ikidd in zfs from klarasystems.com
1115

Question regarding Metadata Special Device

1y 3mon ago by lemmy.sdf.org/u/SexualPolytope in zfs
456

ZFS new disk

1y 5mon ago by lemmy.ml/u/vonProteus in zfs
727

To scrub, or not to scrub

1y 10mon ago by lemmy.ca/u/GreatBlueHeron in zfs
1168

ZFS Swap question

2y 6mon ago by lemmy.world/u/JustineSmithies in zfs
529

OpenZFS Lands Exciting RAIDZ Expansion Feature

2y 7mon ago by lemmy.world/u/codemichael in zfs from www.phoronix.com
26010

Zpool drive replacement help

2y 8mon ago by lemmy.world/u/mrtoast72 in zfs
11811

How can I best back up a ZFS volume to a USB hard drive?

2y 9mon ago by lemmygrad.ml/u/signofzeta in zfs
6112
0013

Jim Salter (/u/mercenary_sysadmin) has opened a Discourse server for ZFS

2y 11mon ago by lemmy.world/u/ikidd in zfs from discourse.practicalzfs.com
5014

New ZFS meeting spot; if you can't get help here, go where Salter is!

2y 11mon ago by lemmy.world/u/ikidd in zfs from discourse.practicalzfs.com
6015

Announcing a new filesystem: SpeZFS!

2y 11mon ago by lemmy.world/u/ikidd in zfs
23116