This is a discussion on NFS export within the Linux Networking forums, part of the Linux Forums category; Hi All I have a directory /nfs and few subdirectories a, b, c. i have the following mount on server. /...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
In comp.os.linux.setup Anil Kommareddy <anil_kommareddy@hotmail.com> 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 |
|
|||
|
"Anil Kommareddy" <anil_kommareddy@hotmail.com> 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? |
|
|||
|
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" <gws@mtco.com> wrote in message news:1133975508.747998.113960@z14g2000cwz.googlegr oups.com... > Hi, > > What does your /etc/exports file contain? > |
|
|||
|
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! |