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 ?
|