1834462 Members
3236 Online
110067 Solutions
New Discussion

pfs_mount

 
SOLVED
Go to solution
Craig Williams
Frequent Advisor

pfs_mount

Hi,

I am trying to remotley pfs_mount a cd but am having trouble doing so.

I am getting the following error message when I try to pfs_mount the cd on the local machine:-
pfs_mount: giving up on /cdrom

I hope somebody can advise me on this?

Regards
Craif
8 REPLIES 8
Robin Wakefield
Honored Contributor

Re: pfs_mount

Craig,

What's the exact command you're running?

Robin.
James R. Ferguson
Acclaimed Contributor
Solution

Re: pfs_mount

Hi Craig:

From Knowledge Base document #A5486201:

/begin_quote/

A. Perform these steps on the local system:

1. nohup /usr/sbin/pfs_mountd &

2. nohup /usr/sbin/pfsd &

3. Add the filesystem to /etc/pfs_fstab

4. Add the filesystem to /etc/pfs_exports

5. pfs_exportfs -a

6. pfs_mount /cdrom

B. Perform these steps on the remote system:

1. nohup /usr/sbin/pfs_mountd &

2. nohup /usr/sbin/pfsd &

3. pfs_mount -o xlat=unix remotesystemA:/cdrom /localmnt_pnt

/end_quote/

...JRF...
Craig Williams
Frequent Advisor

Re: pfs_mount

James,

Thanks for the reply but Im still having problems. I have followed the above instructions but am still getting the error message:-

pfs_mount: giving up on /SD_CDROM

I have checked that all the pfs proccess are running which they seem to be (see below)

root 29029 22741 4 11:12:22 pts/tb 0:00 /usr/sbin/pfsd
root 29024 1 0 11:11:13 pts/tb 0:00 pfsd.rpc
root 28660 22741 0 10:37:12 pts/tb 0:00 pfs_mountd
root 29032 22741 0 11:12:26 pts/tb 0:00 grep pfs
root 28661 28660 4 10:37:12 pts/tb 0:00 pfs_mountd.rpc
root 29030 29029 4 11:12:22 pts/tb 0:00 pfsd.rpc

Regard
Craig
Thierry Poels_1
Honored Contributor

Re: pfs_mount

Hi,
I remember and old bug in pfs_mount where it fails if the user (root) belongs to more than xx (10?) groups.
Check the number of groups root has access to, and remove some temporarily (or create a pseudo-root). And then clean up running pfs processes and start over.
good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
James R. Ferguson
Acclaimed Contributor

Re: pfs_mount

Hi Craig:

I'd try stopping and restarting your pfs daemons.

Thierry is correct. In 10.20 root couldn't belong to more than eight (8) groups for the pfs mount to work. There were patches to fix this.

...JRF...
John Poff
Honored Contributor

Re: pfs_mount

Hello,

Another thing to look out for with pfs is the statd and lockd daemons. You'll need them for pfs. If they aren't running, try:

/usr/sbin/rpc.lockd
/usr/sbin/rpc.statd


JP
MANOJ SRIVASTAVA
Honored Contributor

Re: pfs_mount

Hi Craig


If you are trying to do between 10.20 and 11.00 it will not work . In the local server you need to see the mount ( bdf )as :

servername:/cdrom xxxx xxxx xxxxx 100% /cdrom

in case you can get to this stage in the local server then there should be no problems. I will repeat the following :

Local Machine (A)

1. pfs_mountd &
2. pfsd &
3. pfs_mount /dev/dsk/cxtydz /cdrom
4. pfs_exportfs -a -v ( of course under /etc u should have file pfs_exports wiht /cdrom as single entry).

remote machine (B)

1. pfs_mountd &
2. pfsd &
3. pfs_mount servername:/cdrom /cdrom ( server name is local server name ie (A) ).

ofcourse you should be able to ping across the network between remote servers.

incase you are trying across 10.2 and 11.00 it will not work.

Manoj Srivastava
Craig Williams
Frequent Advisor

Re: pfs_mount

Just wanted to say thanks to all that replied.

Problem resolved.