Operating System - HP-UX
1748266 Members
3135 Online
108760 Solutions
New Discussion юеВ

Re: Nfs mount on nfs mounted disk from somewhere....nested nfs???

 
SOLVED
Go to solution
Vinayak_HPUX
Frequent Advisor

Nfs mount on nfs mounted disk from somewhere....nested nfs???

Hi I am getting below error
root@vinayak:/net/malhar/DUMPS> exportfs -a
exportfs error: /TOT: Too many levels of remote in path
===============
Here /DUMPS is a nfs mounted directory from server vishal & we are trying to export the nfs imported or mounted disk.
============================
This is kind of nfs mount for nfs mounted disk
from somewhere is not happening......Could you please help me........?
"Success is matter of law not luck, Make ur own & follow them -Shivkhera[You Can Win] "
12 REPLIES 12
Bart Paulusse
Respected Contributor
Solution

Re: Nfs mount on nfs mounted disk from somewhere....nested nfs???

Please post the contents of your /etc/exports file.
If I understand correct you are trying to export a directory that is actualy an nfs mount which was exported by another server. Why? It is already exported that other server.
Vinayak_HPUX
Frequent Advisor

Re: Nfs mount on nfs mounted disk from somewhere....nested nfs???

Main server where it is mounted is very critical one so we do not want to mount it directly. & 2nd thing is that the disk which is
on this critical server was on this Vishal server only due to os curruption issue we attached this disk to the critical server vinayak
"Success is matter of law not luck, Make ur own & follow them -Shivkhera[You Can Win] "
Bart Paulusse
Respected Contributor

Re: Nfs mount on nfs mounted disk from somewhere....nested nfs???

Please post output of cat /etc/exports
Vinayak_HPUX
Frequent Advisor

Re: Nfs mount on nfs mounted disk from somewhere....nested nfs???

root@vinayak:~ >cat /etc/exports
/dumps -anon=65534
/pkgs
/cpe_home
/cpe_scratch
/metasaves
/sfqa_home
/scm_home
/DBED_BE
/hp
#/project
#/malhar_dumps_restore
#/net/malhar/dumps/malhar_dumps

root@vinayak:~ >mount
/ on /dev/vg00/lvol3 defaults on Tue Apr 14 11:04:09 2009
/stand on /dev/vg00/lvol1 defaults on Tue Apr 14 11:04:10 2009
/home7 on /dev/vx/dsk/shared_homedg2/vol1 ioerror=disable,qio,cluster,crw,log on Tue Apr 14 13:43:10 2009
/src on /dev/vx/dsk/shared_builddg/vol1 ioerror=disable,qio,cluster,crw,log on Tue Apr 14 13:43:31 2009
/DUMPS on Vishal:/net/malhar/dumps/malhar_dumps rsize=65536,wsize=65536,NFSv3 on Mon Apr 20 13:31:10 2009
root@vinayak:~ >
"Success is matter of law not luck, Make ur own & follow them -Shivkhera[You Can Win] "
Vinayak_HPUX
Frequent Advisor

Re: Nfs mount on nfs mounted disk from somewhere....nested nfs???

Above issue is easily reproducible as below:
1]do nfs mount disk from server called "A"
2]let that mount nfs as "MOUNTA" directory on machine /server "B"
3]then export that as nfs mount to have access to others i.e to 3rd party server/machines.
"Success is matter of law not luck, Make ur own & follow them -Shivkhera[You Can Win] "
Vinayak_HPUX
Frequent Advisor

Re: Nfs mount on nfs mounted disk from somewhere....nested nfs???

let that 3d party Server as "C"
"Success is matter of law not luck, Make ur own & follow them -Shivkhera[You Can Win] "
Vinayak_HPUX
Frequent Advisor

Re: Nfs mount on nfs mounted disk from somewhere....nested nfs???

I am trying this scenario only due to which I am getting below Error:
exportfs error: /TOT: Too many levels of remote
in path
"Success is matter of law not luck, Make ur own & follow them -Shivkhera[You Can Win] "
Bart Paulusse
Respected Contributor

Re: Nfs mount on nfs mounted disk from somewhere....nested nfs???

Are you trying to re-export an nfs mounted filesystem? That is not allowed by hp-ux for securtiy reasons.
Dennis Handly
Acclaimed Contributor

Re: Nfs mount on nfs mounted disk from somewhere....nested nfs???

>Main server where it is mounted is very critical one so we do not want to mount it directly.

How is this going to make it more reliable?
The main server isn't going to have any problem with NFS clients, other than being slowed down.

>I am trying this scenario only due to which I am getting below Error:
exportfs error: /TOT: Too many levels of remote in path

This is telling you that you can't do this. You have to mount the filesystem from the original server. There is no daisy chaining of NFS.