Operating System - HP-UX
1834650 Members
1985 Online
110069 Solutions
New Discussion

can't remember pfs_mount syntax

 
Michael Elleby III_1
Trusted Contributor

can't remember pfs_mount syntax

I have started the daemons, so that I can mount this iso9660 cd, but command is not behaving appropriately:

pfs_mount -o xlat=unix /dev/rdsk/c12t2d0 /cdrom

Am I missing something?

Thanx.

Mike
Knowledge Is Power
5 REPLIES 5
Sridhar Bhaskarla
Honored Contributor

Re: can't remember pfs_mount syntax

Hi,

Add

-t iso9660

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Deshpande Prashant
Honored Contributor

Re: can't remember pfs_mount syntax

HI
For pfs mount use
#nohup /usr/sbin/pfs_mountd -v &
#nohup /usr/sbin/pfsd 4 -v &
#/usr/sbin/pfs_mount /SD_CDROM

You cdrom device should be entered in /etc/pfs_fstab file before mounting as
/dev/dsk/c2t2d0 /SD_CDROM pfs-rrip xlat=unix,soft 0 0

Thanks.
Prashant Deshpande.
Take it as it comes.
Craig Rants
Honored Contributor

Re: can't remember pfs_mount syntax

Here is how I do it,

vi /etc/pfs_fstab and verify: /dev/dsk/cntndn /cdrom pfs-rrip xlat=unix 0 0
(or put these options on command line)
/usr/sbin/pfs_mountd &
/usr/sbin/pfsd &
/usr/sbin/pfs_mount /cdrom
/usr/sbin/pfs_umount /cdrom
ps ???ef|grep pfs
kill ???9 (pfsd)
kill ???9 (pfs_mountd)

pfs_umount ???c (cleanup files if have trouble pfs mounting)

Without the nohup you can't exit your shell or everything craps out!

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Sanjay_6
Honored Contributor

Re: can't remember pfs_mount syntax

Hi Michael,

Have you tried simple mount with a cdcase option,

mount -o cdcase /dev/rdsk/cd_device_file /cdrom

Hope this helps.

Regds.

Eric Buckner
Regular Advisor

Re: can't remember pfs_mount syntax

Rename your /etc/pfs_fstab to something else and just start up your pfs_mountd and pfsd.

mv /etc/pfs_fstab /etc/pfs_fstab.old

pfs_mountd &
pfsd &

pfs_mount

Leave the rest to PFS. PFS is much better as guessing what it needs to do than I am at telling it what to do. I have had more luck doing it this way than any other way. In fact I am now starting PFS at system boot.

HTH,
Eric
Time is not a test of the truth.