-
szilardI try to delegate an existing dataset into a lx zone. I have set the mountpoint of the dataset to legacy and unmounted it in the GZ. then I have used the /native/sbin/zfs to set the mountpoint of the dataset in the NGZ. No issue so far. Now I can /native/sbin/zfs mount -a to get the dataset mounted, but how to do it automatically at booting the zone? Remember,this is a lx zone.
-
szilardI wrote a systemd service to run "/native/sbin/zfs mount -a
-
szilardat boot. It works, but it would be better wuth using some native tools or services.
-
szilardLet me know if you know a better way.
-
sjorgeszilard pretty much what I do on mine
-
sjorgeYou can't use any of the zfs intergrations that generate systemd service/mounts, but I didn't look super long at those.