|
||||||||
|
|
#1
|
|
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 Anil Kommareddy |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
"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? |
|
#4
|
|||
|
|||
|
Hi,
What does your /etc/exports file contain? |
|
#5
|
|||
|
|||
|
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? > |
|
#6
|
|||
|
|||
|
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! |
![]() |
| Tags |
| export, nfs |
| Thread Tools | |
| Display Modes | |
|
|