UK Jaiswal wrote:
> Hi,
>
> I have a linux server(192.168.0.1) which has iso-images of various
> CD-ROMs. Now I have mounted these iso images on directories residing in
> /home/ftp/pub and /var/www/html so that people in our intranet may
> access the CDs via anonymous ftp or http (in fact I use the service to
> install linux(red-hat) on machines through ftp/http using just a
> floppy).
> Now I wanted to access those CDs through NFS also (basically for network
> installation of slackware using nfs) and so I put /home/ftp/pub in
> /etc/exports with ro option and started the nfs server.
> /home/iso/Slackware-7.1-install.iso has been mounted on
> /home/ftp/pub/slack/install directory and I can see all the files and
> directories of the cd in /home/ftp/pub/slack/install locally and through
> ftp from a client m/c.
> When I mount (thru NFS) 192.168.0.1:/home/ftp/pub on some directory in a
> client m/c, I see that I am not able to see anything in
> /home/ftp/pub/slack/install directory. So NFS client is just able to
> access the actual files/directories inside the directory mounted but not
> what the server itself has mounted in one of those directories.
> I would appreciate any suggestion in this regard.
I believe you will need to export (and nfs mount)
/home/ftp/pub/slack/install seperately since these are seperate
filesystems.
I ran into a similar learning experience a while back where I mounted a new
partition pretty deep into a dir tree to give it some more space, and could
not see the new partiton after mounting it. To add insult to injury, if I
created a flie in the directory seen from the client in to the tree below
the new partition mount, I could not see it from the server since there was
a partitio mounted over it. It effectively hid the file from the server.
Gave me a headache trying to figure out what the *#$^% was going on. As I
said, a learning experience :)
HTH
Bret
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list