Hi everyone, after using Linux for 12 years, I now decided to give OpenSolaris a try, using it as OS for my new home-filer. I''ve created a zpool, and multiple zfs on there, two of those are NAME USED AVAIL REFER MOUNTPOINT tank/data 838G 993G 42.6K /data tank/data/video 389G 993G 389G /data/video and I''ve shared tank/data: root at sheeana:~# zfs get sharenfs tank/data NAME PROPERTY VALUE SOURCE tank/data sharenfs rw,nosuid,root=@192.168.2 local root at sheeana:~# zfs get sharenfs tank/data/video NAME PROPERTY VALUE SOURCE tank/data/video sharenfs rw,nosuid,root=@192.168.2 inherited from tank/data Now I''d like to mount the whole /data tree with all its sub-zfs via NFS, but if I do a mount -t nfs sheeana:/data /mnt I can only see an empty /mnt/video; I have to additionally do a mount -t nfs sheeana:/data/video /mnt/video Is there some way to mount everything using just the first mount-command? tia This message posted from opensolaris.org
According to PerterB in #opensolaris, I''d need NFS4 mirror-mounts for that. I decided to instead just setup the automounter on the clients and put the directories in the automount-map :) This message posted from opensolaris.org
Yep - each zfs file system has its own nfs mount point. Will mirror mount it all works like magic and is pretty nice. Can see it being a git for linux, I wonder when it will mirror mount will get implemented in linux. This message posted from opensolaris.org
On 13 July, 2008 - John-Paul Drawneek sent me these 0,4K bytes:> Yep - each zfs file system has its own nfs mount point. > > Will mirror mount it all works like magic and is pretty nice. > > Can see it being a git for linux, I wonder when it will mirror mount > will get implemented in linux.Linux already supports it. /Tomas -- Tomas ?gren, stric at acc.umu.se, http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Ume? `- Sysadmin at {cs,acc}.umu.se