NFS & ZFS: how to export whole FS hierarhy to mount it with one command on client?

Lev Serebryakov lev at FreeBSD.org
Sat Aug 1 11:04:45 UTC 2015


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.

-- 
Best regards,
 Lev                          mailto:lev at FreeBSD.org



More information about the freebsd-fs mailing list