1832275 Members
2112 Online
110041 Solutions
New Discussion

NFS on a pfs_mount

 
Praveen Bezawada
Respected Contributor

NFS on a pfs_mount

Hi
I have nfs mounted the SD_CDROM of a machine onto /CD_ROM of second machine. Then
I pfs_mount ed oracle CD on the first machine .
But when go to /CD_ROM I cannot find the contents on the CD whereas they are visible from first machine.
When I first pfs_mount then try NFS i get the error
Too many levels of remote in path
.
What could be the problem
Thanks in advance
Praveen
3 REPLIES 3
James A. Donovan
Honored Contributor

Re: NFS on a pfs_mount

You need to use the pfs_exportfs command on your first machine to make the cd-rom available, then start the pfs services on your second machine. See the pfs_exportfs manpage for more detail.
Remember, wherever you go, there you are...
Rick Garland
Honored Contributor

Re: NFS on a pfs_mount

There are previous posts concerning pfs mounts both locally and remotely. You do need the pfs_exports file to be present and populated. Do make sure you have the patches related to pfs. Most of the time, it works fine, but if there are problems you may have a difficult time in doing the pfs_umount. The processes will not die and you will have to reboot to clean up.

Here is a couple of previous posts on the issue.
Check out the Technical Knowledge Base
for doc rcfaxpfs001 (Troubleshooting
pfs mount problems)It covers this issue
as well as others.


Use the following steps to mount the remote cdrom

On Server side:

a:create /etc/exports with: /cdrom -ro
b:/usr/sbin/exportfs -av
c:WARNING!! before exportfs you have to pts_umount the cd
and mount it again after the exportfs command
d:nohup /usr/sbin/pfs_mountd &
e:nohup /usr/sbin/pfsd &
f: Note: use (ioscan -funC disk) to find the device name
g:add the filesystem to /etc/pfs_fstab as follows:
/dev/dsk/c0t2d0 /cdrom pfs -iso9660 ro,suid 0 0
h:add the filesystem to /etc/pfs_exports as follows: /cdrom
-ro
i:pfs_exportfs -a
j:pfs_mount /cdrom

On the client side:
a:nohup /usr/sbin/pfs_mountd &
b:nohup /usr/sbin/pfsd &
c:add the filesystem to /etc/pfs_fstab as follows:
:/cdrom /test pfs-nfs ro,hard,fg 0 0
d: pfs_mount -o xlat=unix remotesystemA:/cdrom /test
Bill Hassell
Honored Contributor

Re: NFS on a pfs_mount

Simply put: pfs is actually an NFS mount local to the server. Therefore it cannot be exported using NFS (NFS cannot export an NFS import). pfs has the ability to push the local pfs mount to another system running pfs, but not through local NFS.


Bill Hassell, sysadmin