Operating System - HP-UX
1834934 Members
2481 Online
110071 Solutions
New Discussion

exportfs -a: Too many levels of remote in path

 
SOLVED
Go to solution
Matt Hearn
Regular Advisor

exportfs -a: Too many levels of remote in path

Anyone seen the "Too many levels of remote in path" in a situation in which you are NOT trying to export something that's been NFS-mounted from elsewhere? I have a locally mounted CD-ROM that it won't let me export.

The only thing I can think of is that it's pfs_mounted to eliminate the "ALL CAPS;1" problem. I vaguely recall there may be a way to use the normal mount command and eliminate that issue as well, but I don't remember it. Any ideas?
3 REPLIES 3
Doug O'Leary
Honored Contributor

Re: exportfs -a: Too many levels of remote in path

Hey;

I ran into a similar issue many moons ago. I'm not sure if it's still relevant, but the applicable lessons learned entry is at:

http://www.olearycomputers.com/ll/hppfsexport.html

HTH;

Doug

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
TwoProc
Honored Contributor

Re: exportfs -a: Too many levels of remote in path

In general, when trying to export and then nfs-mount a cdrom from another system, I've had to do the mount as read-only. I don't think your error is the same as the one that I received, but it will only take you a moment to try the mount command as read-only.
We are the people our parents warned us about --Jimmy Buffett
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: exportfs -a: Too many levels of remote in path

You shouldn't need pfs_mount to correct the all caps and version numbers.

You simply need to mount -F cdfs -o cdcase /dev/dsk/c2t5d0 /cdrom and then a conventional NFS export will work (read-only, of course). Man mount_cdfs for details. Make sure that you pfs_umount the cdrom and kill all the pfs daemons before doing this conventional mount.

If you insist upon using pfs_mount then the corresponding export command is pfs_exportfs. Man pfs_exportfs for details.
If it ain't broke, I can fix that.