Rudd-O / zfs

Native ZFS for Linux
http://zfsonlinux.org/
Other
8 stars 3 forks source link

investigate the use of zfs automounts #4

Open Rudd-O opened 12 years ago

Rudd-O commented 12 years ago

It may be sensible to use automount units rather than mount units for ZFS, to improve boot times.

it is also a good idea to check whether zfs share -a will work with automounts (unlikely) or will require all zfs mounts to be done before zfs share -a happens. otherwise zfs automounts may not get shared by the time the NFS server is up.

also investigate if all that is needed is the automount unit, or we need to generate corresponding mount units as well.

Rudd-O commented 12 years ago

we can tell the system about zfs automounts, but it may very well be the case that:

var.automount var.mount var-shared.automount var-shared.mount

when systemd activates var-shared.automount, var.mount is activated (because of the automount) because the mountpoint /var/shared is required to exist before var-shared.automount can be activated.

this impacts parallelism thus boot speed.