NFS export multiple mounted file systems under a single root
I am trying to mount an exported directory which has sub-directories which are mount-points for local(to the NFS server) file systems.
/dev/sdb1 mounted on /data/disk1
/dev/sdc1 mounted on /data/disk2
/dev/sdd1 mounted on /data/disk3
/etc/exports looks like:
When I mount the server:/data export from a linux client and ls /mntpnt/data2 I get "Stale NFS file handle" error. When I map via SFU on a windows client, I get a duplicate of the /data (disk1 disk2 disk3) forever and ever when drilling down into any folder.
According to man exports, the combo of nohide and crossmnt should make these data available for general consumption.
I've tried exports with no options, just nohide, just crossmnt, both nohide and crossmnt, with no_subtree_check, with async, and with sync.
UID:GID's (though for ro it shouldn't make any difference) match on client and server.
I've Googled about quite a bit for any explanation, and the best I could find was regarding exporting a remote (to the NFS server) file system, which is irrelevant in this case as the file systems are local to the server.
Thanks in advance,
As it turns out, for anyone who may care to do this, the solution was to be really redundant in my /etc/exports like so:
mount server:/data on a client system and voila(!) it is working now.
Last edited by AdamDaughterson; 07-28-2009 at 09:16 AM.
Reason: I solved this myself