1752826 Members
4346 Online
108789 Solutions
New Discussion юеВ

Re: Exporting NFS Mounts

 
SOLVED
Go to solution
Ramesh_27
Occasional Advisor

Exporting NFS Mounts

Hi

I am planning to export /sys file sytem on Server A. Server B will nfs mount that file system as /disk.

Is it possible for me to reexport /disk?
so that server C can nfs mount it as /sys/disk1

any answers highly appreciated!!!
6 REPLIES 6
Scott Palmer_1
Trusted Contributor

Re: Exporting NFS Mounts

yes, System b will export it as if it were local, but you will still have any restrictions you had from server A to server B

Regards

Scott
G. Vrijhoeven
Honored Contributor

Re: Exporting NFS Mounts

Ramesh,

Not sure, but why do you want to do that. You are able to mount /sys on server A on B as /disk and at the same time on server C as /sys/disk1.

To export to both server create /etc/exports.
and start nfs client en server software ( /sbin/init.d/nfs* start (core client and server if i am correct ) exportfs -a. To mount on server B and C start nfs software and mount serverA:sys mountpoint.

HTH,

Gideon
sinhass
Regular Advisor
Solution

Re: Exporting NFS Mounts

Hi if I understood ur question properly that u want to re-export the exported file system. thats not possible. But u can mount /sys file system on server C.

-sinhass
Sanjay_6
Honored Contributor

Re: Exporting NFS Mounts

Hi Ramesh,

If serverA exports the filesystem with root access allowed to serverB, then serverB can also export that NFS mounted filesystem to ServerC which can mount the do a NFS mount of this filesystem exported by serverB.

But it is best to avoid situations like these, since a problem with the NFS may at time force you to reboot the server.

Try this doc from hp doc site for more info on NFS / configuring NFS.

http://docs.hp.com/hpux/onlinedocs/B1031-90054/B1031-90054.html

Hope this helps.

Regds
KapilRaj
Honored Contributor

Re: Exporting NFS Mounts

I do not think you can export an NFS mounted filesystem !.

Why not mount it directly from Server A === > Server C

Regds,

Kaps
Nothing is impossible
Brian Hackley
Honored Contributor

Re: Exporting NFS Mounts

Hi,

You can do this with Linux, but not with HPUX. HPUX 10.20/11.0/11.11/11.23 gives this error when attempting to export an NFS-mounted file system:

nbox# exportfs -i /mnt
exportfs error: /mnt: Too many levels of remote in path

You get the same error if the /mnt export is
in /etc/exports and you run exporfs -a.

Regards,

-> Brian Hackley
Ask me about telecommuting!