LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-31-2005, 01:31 PM   #1
jiawj
Member
 
Registered: Jul 2004
Location: Beijing, China
Distribution: Slackware,Redhat
Posts: 121

Rep: Reputation: 15
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.
 
Old 03-31-2005, 01:45 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Just because you mounted the iso image in /hd/cdrom, not hd
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nfs export and loop mount problem thomasd Linux - Networking 9 06-01-2010 01:47 PM
What is Loop Device Support? Dswissmiss Linux - General 3 08-03-2004 08:36 PM
loop: can't open device /dev/loop0: No such device or address miaviator278 Linux - Security 3 06-09-2004 09:24 PM
loop device BH_Dirty bit devershetty Linux - Newbie 0 07-16-2003 06:50 AM
UMSDOS vs. loop device okok Linux - General 5 01-29-2002 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration