LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   why nfs lose loop device ? (https://www.linuxquestions.org/questions/slackware-14/why-nfs-lose-loop-device-308295/)

jiawj 03-31-2005 01:31 PM

why nfs lose loop device ?
 
hello, my os is slk 9.1

my server's IP is 10.10.10.10/24
I run:
Quote:

mount -o loop cd1.iso /hd/cdrom
and ls /hd/cdrom worked fine.

and my exports file:

Quote:

/hd 10.10.10.0/24(ro,sync)
then, I start nfsd service and showmount -e
Quote:

/hd 10.10.10.0/24
on client box (ip: 10.10.10.12/24)
mount 10.10.10.10:/hd /mnt/nfs

ls /mnt/nfs/cdrom, no any files!

and if I modify server's exports config file:

Quote:

/hd/cdrom 10.10.10.0/24(ro,sync)
and exportfs -avr , mount 10.10.10.10:/hd/cdrom /mnt/nfs
then, ls /mnt/nfs worked fine!

but why?

why my nfs server must export /hd/cdrom, ain't /hd ?

thx for any idea.

keefaz 03-31-2005 01:45 PM

Just because you mounted the iso image in /hd/cdrom, not hd


All times are GMT -5. The time now is 05:37 PM.