Networking Forums

Networking Forums > Computer Networking > Linux Networking > NFS export

Reply
 
 
Anil Kommareddy
Guest
Posts: n/a

 
      12-05-2005, 11:30 AM
Hi All

I have a directory /nfs and few subdirectories a, b, c.
i have the following mount on server.
/dev/sdb1 /nfs/a
/dev/sdc1 /nfs/b
/dev/sdd1 /nfs/c

when i export /nfs i dont see data under a, b, c subdirectories on nfs
clients.
How do i achieve this without having to export each subdirectory.

Thanks
Anil



 
Reply With Quote
 
 
 
 
Peter T. Breuer
Guest
Posts: n/a

 
      12-05-2005, 12:37 PM
In comp.os.linux.setup Anil Kommareddy <(E-Mail Removed)> wrote:
> Hi All


> I have a directory /nfs and few subdirectories a, b, c.
> i have the following mount on server.
> /dev/sdb1 /nfs/a
> /dev/sdc1 /nfs/b
> /dev/sdd1 /nfs/c


> when i export /nfs i dont see data under a, b, c subdirectories on nfs
> clients.
> How do i achieve this without having to export each subdirectory.


This is what nfs does anyway (of course). It may be that you are using
the botched nfs kernel server implementation (knfs?) instead of the classic
user space nfs server, in which case the effects culd be either this or
green spots on your underwear in the morning.

But I would suspect that you are carefully witholding from us some
truths that you think would make our lives too easy, like the fact that
you have imported nfs mounts on a/ b/ and c/, and you are trying to
re-export them without having tld your server (whatever it is) to do that.

Or maybe those are links to somewhere else.

Come clean.

Peter
 
Reply With Quote
 
Nico Kadel-Garcia
Guest
Posts: n/a

 
      12-06-2005, 01:34 AM

"Anil Kommareddy" <(E-Mail Removed)> wrote in message
news:gpWkf.381632$084.51508@attbi_s22...
> Hi All
>
> I have a directory /nfs and few subdirectories a, b, c.
> i have the following mount on server.
> /dev/sdb1 /nfs/a
> /dev/sdc1 /nfs/b
> /dev/sdd1 /nfs/c
>
> when i export /nfs i dont see data under a, b, c subdirectories on nfs
> clients.
> How do i achieve this without having to export each subdirectory.


That won't work because /nfs/a is another moutpoint on the *SERVER*.

What exactly are you trying to do?


 
Reply With Quote
 
gary
Guest
Posts: n/a

 
      12-07-2005, 04:11 PM
Hi,

What does your /etc/exports file contain?

 
Reply With Quote
 
Anil Kommareddy
Guest
Posts: n/a

 
      12-09-2005, 11:59 AM
Hi Gary

/nfs *(rw,sync,insecure)

it works fine when i export individual subdirectories

/nfs/a *(rw,sync,insecure)
/nfs/b *(rw,sync,insecure)
/nfs/c *(rw,sync,insecure)

i am just looking for a solution which would reduce no. of exports i have to
keep track.

thanks

Anil


"gary" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> Hi,
>
> What does your /etc/exports file contain?
>



 
Reply With Quote
 
gary
Guest
Posts: n/a

 
      12-09-2005, 04:14 PM
Hi,

I think you are trying to make the mount point /nfs as a general mount
point. It is a distinct mount point. You are assuming that the /nfs/a,
/nfs/b and /nfs/c will appear when /nfs is mounted.

This is a filesystem! Your mounts are distinct. If you want to have
the auto mounts then you could use your /etc/fstab to auto mount. Note
that the clients must have the mount points.

I would suggest a google at this point. Lot of examples and solutions
to this.

HTH!

 
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
Export Profiles in WZC Stan Cooper Wireless Networks 4 01-06-2010 06:07 PM
Quark Export Bob Alston Wireless Internet 0 10-13-2005 09:23 PM
NFS export problem Concerned Netizen Linux Networking 5 04-01-2005 07:00 PM
Export X over ssh? Sargon Linux Networking 4 01-28-2004 11:24 AM
Export an NFS Mount Seremil Linux Networking 2 10-30-2003 05:50 PM



1 2 3 4 5 6 7 8 9 10 11