Networking Forums

Networking Forums > Computer Networking > Linux Networking > mounted hd does not show via NFS

Reply
Thread Tools Display Modes

mounted hd does not show via NFS

 
 
edward hage
Guest
Posts: n/a

 
      04-16-2004, 10:04 PM
I have two computers at home in a LAN.
One is set up as a NFS-server and has 2 hd's; the root disk and an
additional mount hd on /mnt/hd/..
From the server I can see en manipulate everything on that mounted disk.
The /etc/exports:
/ 192.168.0.0/255.255.255.0(rw,sync,no_root_squash)

My second computer is setup as NFS-client and mounts the server okay, I
can manipulate every file etc (as root on my system).
However, I can not see the contents of the second mounted disk (or the
contents of a mounted CD-ROM for that matter).

Is that normal? And are there ways to correct this, so that I do have
acces to the hd (and the CD-ROM)?

Greetings, Edward

 
Reply With Quote
 
 
 
 
PDock
Guest
Posts: n/a

 
      04-17-2004, 09:47 AM
edward hage wrote:

> I have two computers at home in a LAN.
> One is set up as a NFS-server and has 2 hd's; the root disk and an
> additional mount hd on /mnt/hd/..
> From the server I can see en manipulate everything on that mounted disk.
> The /etc/exports:
> / 192.168.0.0/255.255.255.0(rw,sync,no_root_squash)
>
> My second computer is setup as NFS-client and mounts the server okay, I
> can manipulate every file etc (as root on my system).
> However, I can not see the contents of the second mounted disk (or the
> contents of a mounted CD-ROM for that matter).
>
> Is that normal? And are there ways to correct this, so that I do have
> acces to the hd (and the CD-ROM)?

Yes
man exports gives in part:

nohide This option is based on the option of the same name
provided in IRIX NFS. Normally, if a server
exports two filesystems one of which is mounted on
the other, then the client will have to mount both
filesystems explicitly to get access to them. If
it just mounts the parent, it will see an empty
directory at the place where the other filesystem
is mounted. That filesystem is "hidden".

Setting the nohide option on a filesystem causes it
not to be hidden, and an appropriately authorised
client will be able to move from the parent to that
filesystem without noticing the change.

However, some NFS clients do not cope well with
this situation as, for instance, it is then possi-
ble for two files in the one apparent filesystem to
have the same inode number.

The nohide option is currently only effective on
single host exports. It does not work reliably
with netgroup, subnet, or wildcard exports.

Help ?

 
Reply With Quote
 
edward hage
Guest
Posts: n/a

 
      04-17-2004, 12:51 PM


PDock wrote:
> edward hage wrote:
>
>
>>I have two computers at home in a LAN.
>>I can not see the contents of the second mounted disk (or the
>>contents of a mounted CD-ROM for that matter).
>>
>>Is that normal? And are there ways to correct this, so that I do have
>>acces to the hd (and the CD-ROM)?

>
> Yes
> man exports gives in part:
>
> nohide This option is based on the option of the same name
> provided in IRIX NFS. Normally, if a server


Thanks, that did the trick. Just put another line in /etc/exports and an
extra mount commando on my client.

 
Reply With Quote
 
Vilmos Soti
Guest
Posts: n/a

 
      04-22-2004, 05:37 AM
edward hage <(E-Mail Removed)> writes:

> I have two computers at home in a LAN.
> One is set up as a NFS-server and has 2 hd's; the root disk and an
> additional mount hd on /mnt/hd/..
> From the server I can see en manipulate everything on that mounted disk.
> The /etc/exports:
> / 192.168.0.0/255.255.255.0(rw,sync,no_root_squash)
>
> My second computer is setup as NFS-client and mounts the server okay,
> I can manipulate every file etc (as root on my system).
> However, I can not see the contents of the second mounted disk (or the
> contents of a mounted CD-ROM for that matter).
>
> Is that normal? And are there ways to correct this, so that I do have
> acces to the hd (and the CD-ROM)?


Yes, this is normal. This is discussed in exports(5). Look for "nohide".

Vilmos
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache not serving from CIFS-mounted share, works if it's mounted asSMBFS Rick Onanian Linux Networking 3 03-27-2008 07:45 PM
SAN mounted file sys on Red Hat 4 server Petyr David Linux Networking 2 03-17-2007 09:00 AM
NFS and sub-mounted partitions John Stolz Linux Networking 2 06-06-2005 10:34 AM
Wall Mounted DSL Router? thedysk@yahoo.com Broadband 10 05-19-2005 04:54 PM
Rack mounted switch bob_jeffcoat@hotmail.com Windows Networking 3 02-26-2005 06:35 PM



1 2 3 4 5 6 7 8 9 10 11