Operating System - HP-UX
1832864 Members
2749 Online
110048 Solutions
New Discussion

pfs mount error : /cdrom: not rrip.

 
SOLVED
Go to solution
Jerry_109
Super Advisor

pfs mount error : /cdrom: not rrip.

HP-UX B.11.11 U 9000/800/N4000-44
###############################

Hello All,
Received the following error when attempting to pfs_mount a cdrom :

Error :
/usr/sbin/pfs_mount: /dev/dsk/c0t2d0 on /cdrom: not rrip.
/usr/sbin/pfs_mount: giving up on /cdrom


###############################

Commands entered :

# nohup /usr/sbin/pfs_mountd &
[1] 2241
root@hohp223[/]
# Sending output to nohup.out

root@hohp223[/]
# nohup /usr/sbin/pfsd &
[2] 2276
root@hohp223[/]
# Sending output to nohup.out

# /usr/sbin/pfs_mount /cdrom


# more /etc/pfs_fstab
/dev/dsk/c0t2d0 /cdrom pfs-rrip xlat=unix 0
5 REPLIES 5
Christian Tremblay
Trusted Contributor
Solution

Re: pfs mount error : /cdrom: not rrip.

You get this error because your CD is not in the rock ridge format.

Try your pfs_mount with the -t switch and either iso9660 or hsfs as the parameter

pfs_mount -t iso9660
Christian Tremblay
Trusted Contributor

Re: pfs mount error : /cdrom: not rrip.

If this doesn't work, use the regular mount command:

mount -F cdfs /dev/dsk/xxxxxx /mountpoint
TKeller
Frequent Advisor

Re: pfs mount error : /cdrom: not rrip.

I've had that problem before as well and the fix for me was to make sure that the CD image in question is -compatible (being iso9660, rrip, and hsfs) otherwise the mount will fail.

It's quite similar to file/directory distortion when burning a cd on a windows machine and trying to read it on a *nix box and finding all your files capitalized and ending with 1; or whatever.

You can find out more http://docs.hp.com/en/B2355-90692/pfs_mount.1M.html
It is said you should treat your body like a temple. I treat mine like an amusement park.
Geoff Wild
Honored Contributor

Re: pfs mount error : /cdrom: not rrip.

Somewhat related - don't use pfs!

Do not use pfs_mount!. Install the Rock-Ridge extension patches instead and never worry about these problems. For HP-UX 11.00 you will need forget all about PFS and install PHKL_26448 (now superceded by PHKL_28060), PHCO_26449, and PHKL_26450 to have HP-UX recognize those file systems automatically on mount! For HP-UX 11.11 (11i) you need PHCO_25841, PHKL_26269, and PHKL_25760 (now superceded by PHKL_28025).

Installation of patches requires a reboot.

swinstall -x autoreboot=true -x autoselect_patches=TRUE -x patch_match_target=TRUE -x patch_filter=*
.* -s pc1005:/var/software/hp/rockridge @`hostname`


To mount a Rockridge CD (instead of using pfs_mount):

mount -F cdfs -o ro,rr,noauto /dev/cdrom /cdrom

To unmount:

umount /cdrom

To share out the cd over NFS:

exportfs -i -o ro,anon=0 /cdrom

On remote:

mount -F nfs sha1:/cdrom /zmnt


Note: client server does NOT need to have Rock Ridge patches installed to access the cdrom remotely.

Note 2: For HP-UX 11iV2 (11.23) - RockRidge is built into the OS - no need for a patch.



Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Jerry_109
Super Advisor

Re: pfs mount error : /cdrom: not rrip.

Used the following mount command :

mount -F cdfs /dev/dsk/c0t2d0 /cdrom


Executed the uppercase executable with ""
./"INSTALL.SH;1"

Installation worked fine.