On Wed, Sep 27, 2006 at 08:55:48AM -0600, Mark Maybee wrote:
> Patrick wrote:
> >So ... how about an automounter? Is this even possible? Does it exist ?
> 
> *sigh*, one of the issues we recognized, when we introduced the new
> cheap/fast file system creation, was that this new model would stress
> the scalability (or lack thereof) of other parts of the operating
> system.  This is a prime example.  I think the notion of an automount
> option for zfs directories is an excellent one.  Solaris does support
> automount, and it should be possible, by setting the mountpoint property
> to "legacy", to set up automount tables to achieve what you want now;
> but it would be nice if zfs had a property to do this for you
> automatically.

Perhaps ZFS could write a cache on shutdown that could be used to speed
up mounting on startup by avoiding all that I/O?  Sounds difficult; if
the cache is ever wrong there has to be some way to recover.

Alternatively, it'd be neat if ZFS could do the automounting of ZFS
filesystems mounted on ZFS filesystems as needed and without autofs.
It'd have to work server-side (i.e., when the trigger comes from NFS).
And because of the MOUNT protocol ZFS would still have to keep a cache
of the whole hierarchy so that the MOUNT protocol can serve it without
everything having to be mounted (and also so 'zfs list' can show what's
there even if not yet mounted).

Nico
-- 
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to