I have a server "thumper1" which exports its root (UFS) filesystem to one specific server "hoss" via /etc/dfs/dfstab so that we can backup various system files. When I added a ZFS pool mypool to this system, I shared it to hoss and several other machines using the ZFS sharenfs property. Prior to adding the pool, hoss could see thumper1''s / directory. After adding the ZFS pool, hoss could only see the thumper1:/mypool (i.e. the ZFS share) directory. Using unshare/share and zfs unshare/zfs share in various orders, I can get hoss to see *EITHER* thumper1''s UFS root directory *OR* the ZFS mypool directory, but never both at the same time. On thumper1, doing a share command shows either / or /mypool shared, but never both at the same time. This is a bit of a surprise to me since sharing / and /mypool at the same time via dfstab would not be an issue if both filesystems were UFS (we''ve done this in the past with no problems). Any suggestions on how to get this working would be much appreciated. This message posted from opensolaris.org
Some additional information: I should have noted that the client could not see the thumper1 shares via the automounter. I''ve played around with this setup a bit more and it appears that I can manually mount both filesystems (e.g. on /tmp/troot and /tmp/tpool), so the ZFS and UFS volumes are being shared properly, it''s just the automounter that doesn''t want to deal with both at once. Does the automounter have issues with picking up UFS and ZFS volumes at the same time? This message posted from opensolaris.org
sean walmsley wrote:> Some additional information: I should have noted that the client could not see the thumper1 shares via the automounter. > > I''ve played around with this setup a bit more and it appears that I can manually mount both filesystems (e.g. on /tmp/troot and /tmp/tpool), so the ZFS and UFS volumes are being shared properly, it''s just the automounter that doesn''t want to deal with both at once. > > Does the automounter have issues with picking up UFS and ZFS volumes at the same time? >The automounter has no knowledge of UFS or ZFS file systems. You are seeing something on the way the client works, and you should perhaps take this to nfs-discuss and not zfs-discuss. -- richard