[CentOS] RE-export nfs mounted share
James Pearson
james-p at moving-picture.com
Mon Jun 9 11:10:38 UTC 2008
whoami i wrote:
> Hi
>
> Is there any way to re-export an nfs mounted directory? I am having three
> servers runnning on centos4.5 and i am trying to implement nfs share in an
> below manner [bcoz there is no alternative way for me to setup nfs share]
>
> HOST A--->>>EXPORTS /prod/data ------->>>HOST B
>
> HOST B ---->>MOUNTED ------>>> /prod/data-----UNDER---/PROD1 [working fine]
>
> HOST B EXPORTS /PROD1 ------>>>>HOST C
>
> HOST C ----->>TRY MOUNTING ----->>>RESULT IN BELOW ERROR
>
> BUT WHEN I TRY TO MOUNT THE ALREADY MOUNTED NFS SHARE IN "HOST C " I AM
> GETTING BELOW ERROR.
>
> #################MOUNT ERROR##########################################
> mount: 10.65.64.30:/PROD1 failed, reason given by server: Permission denied
> ##########################################################################
>
> Can anyone suggest me the way to work out aboVE scenario.
>
>
> Note: I find no -r(-re-export) option in rpc.mountd
AFAIK, it is not possible to (re-)export NFS mounted file systems using
the kernel NFS server.
It might be possible to do this by running a userland NFS server (on
"host b"), although I've never done this and I believe there are known
issues with doing this.
James Pearson
More information about the CentOS
mailing list