 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

9th December 2009, 05:25 PM
|
|
Registered User
|
|
Join Date: Apr 2009
Posts: 183

|
|
|
NFS: submounts under exported mount
I have an exported (via NFS) file system that contains other sub-mounted file systems (eg, DVD drives, ISO files, etc). While the sub-mounts show up locally, they aren't visible when the parent mount is exported.
In /etc/exportfs, the nohide option is specified for that export.
What else do I need to do?
TIA
ken
|

9th December 2009, 05:31 PM
|
|
Registered User
|
|
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,150

|
|
|
I thought the "nohide" was only effective on mounts that existed before the export
takes place, but I could be mistaken.
What happens if you mount everything and then do an "exportfs -a" ?
|

9th December 2009, 07:05 PM
|
|
Registered User
|
|
Join Date: Apr 2009
Posts: 183

|
|
Quote:
Originally Posted by jpollard
I thought the "nohide" was only effective on mounts that existed before the export
takes place, but I could be mistaken.
What happens if you mount everything and then do an "exportfs -a" ?
|
DOH! I feel a bit stupid now. That never really occurred to me :-( .
The export that I want to use is pretty much in use 24x7 right now, so I can't really do anything with it till maintenance time. But I can at least create a test export.
Will let you know.
Thanks,
ken
|

24th December 2009, 05:32 PM
|
|
Registered User
|
|
Join Date: Apr 2009
Posts: 183

|
|
I still can't get NFS to export sub-mounts.
Here are the mounts:
On the server (from /etc/fstab): /dev/VolGroup3W/LogVol3W /3W ext4 unhide,defaults 0 2 in /var/lib/nfs/etab: /3W 192.168.1.0/24(rw,sync,wdelay,nohide,nocrossmnt,insecure,no_ro ot_squash,no_all_squash,no_subtree_check,secure_lo cks,acl,mountpoint,anonuid=65534,anongid=65534) I then will do:
[root@Elmer 3W]# mount -o loop -t iso9660 /3W/iso/XXX.ISO /3W/iso/dvd/XXX
[root@Elmer 3W]# exportfs -a.
(XXX.ISO is an ISO image file)
On the client, from /etc/fstab: elmer:/3W /mnt/3W nfs bg,noatime,nodiratime 0 0
and elmer is the server above, and in the hosts table as 192.168.1.103, and this client is 192.168.1.102.
The client doesn't see the sub-mounted ISO image /mnt/3W/iso/dvd/XXX, although it is seen on the server. Also, fwiw, it is seen with samba on my windows box.
Any ideas?
TIA
ken
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 09:12 (Wednesday, 19-06-2013)
|
|
 |
 |
 |
 |
|
|