Date: Sat, 1 Aug 2015 07:21:10 -0400 (EDT) From: Rick Macklem <rmacklem@uoguelph.ca> To: lev@FreeBSD.org Cc: FreeBSD FS <freebsd-fs@freebsd.org> Subject: Re: NFS & ZFS: how to export whole FS hierarhy to mount it with one command on client? Message-ID: <1363497421.7238055.1438428070047.JavaMail.zimbra@uoguelph.ca> In-Reply-To: <795246861.20150801140429@serebryakov.spb.ru> References: <795246861.20150801140429@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Lev wrote: > Hello FreeBSD, > > I had "/usr/home" UFS exported to several hosts (all of them are FreeBSD), > and it worked as intended: remote host mounted "server:/usr/home" and got > all user home dirs. > > Now I converted "/usr/home" to ZFS and created one FS per user (so, here is > FSes "zhome/lev", "zhome/sveta", etc., on pool "zhome"). > > When client mount "server:/usr/home" now it gets all user directories, but > all of them are empty, because NFS sees every user home dir as different FS! > > How could I export all this tree in one piece now? I don't want to have > multiple NFS mounts (one per user) on each host which needs home > directories. > To mount multiple file systems as one mount, you'll need to use NFSv4. I believe you will have to have a separate export entry in the server for each of the file systems. rick > -- > Best regards, > Lev mailto:lev@FreeBSD.org > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1363497421.7238055.1438428070047.JavaMail.zimbra>