Operating System - HP-UX
1837943 Members
2513 Online
110124 Solutions
New Discussion

Re: Mount Veritas cdrom with pfs truncate file names

 
SOLVED
Go to solution

Mount Veritas cdrom with pfs truncate file names

Hello team,

I need to mount a Veritas CD on an HP rp7420 server running HPUX 11.23, I have done:

1.-create a file /etc/pfs_fstab

2.-make an entry
/dev/dsk/c1t2d0 /cdrom pfs-rrip xlat=unix 0 0

3.-insert the CD into the drive
#pfs_mountd&

#pfsd&

#pfs_mount /cdrom

But it results:
pfs_mount: /dev/dsk/c1t2d0 on /cdrom: not rrip.
pfs_mount: giving up on /cdrom

I also did:
mount -F cdfs -o cdcase /dev/dsk/c1t2d0

but truncates file names, can some body help me to know how can I mount this kind of CD ?

Thanks a lot for your help,
Lissete
8 REPLIES 8
Kent Ostby
Honored Contributor

Re: Mount Veritas cdrom with pfs truncate file names

Lissete --

The "not rrip" means not Rock Ridge compliant.

You could try using the -t [type] option as listed in the man page for pfs_mount:

-t type Force the CD-ROM to be mounted as the specified type, if possible. Accepted types are:

iso9660 will cause the mount program to attempt to mount the CD-ROM image using the ISO 9660 specifications. If the CD image is not ISO 9660 compatible, the mount fails. Note that if the CD image is also Rock Ridge compliant, and the -t iso9660 option is not specified, the CD-ROM image will be mounted with Rock Ridge extensions enabled.

hsfs will cause the mount program to attempt to mount the CD-ROM image using the High Sierra specifications. If the CD image is not hsfs compatible, the mount fails.

rrip will cause the mount program to attempt to mount the CD-ROM image using the Rock Ridge Interchange specifications. If the CD image is not RRIP compatible, the mount fails. Note, that if the CD-ROM image supports the Rock Ridge Interchange Protocol, and the CD-ROM image is mounted with rrip, the translation options are suppressed.

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"

Re: Mount Veritas cdrom with pfs truncate file names

Hello Kent,

Thanks for your quick response .

I have tried to mount the cd using:

#pfs_mount -t iso9660 /dev/dsk/c1t2d0 /cdrom

And previously:

vi /etc/pfs_fstab
/dev/dsk/c1t2d0 /cdrom pfs-iso9660 xlat=unix 0 0

With no good results, because I still have the file names truncated,

dvd1:/cdrom > ls
cluster_ gnu storage_ volume_r
file_sys installe support windows
getting_.pdf perl volume_m

This is a Veritas CD from Symantec, I can not install from there since the installer from the cd could not find the correct file names.

I also tried hsfs type :

dvd1:/ > pfs_mount -t hsfs /dev/dsk/c1t2d0 /cdrom
pfs_mount: /dev/dsk/c1t2d0 on /cdrom: not hsfs.
pfs_mount: giving up on /cdrom

Any ideas?

Re: Mount Veritas cdrom with pfs truncate file names

Hi again,

If the cd is not hsfs or rrip, and I can mount the cd with thw iso9660 option, but I still see file ames truncated :(
drwxrwxrwx 2 root sys 2048 Feb 5 2036 cluster_
drwxrwxrwx 2 root sys 2048 Feb 5 2036 file_sys
-rwxrwxrwx 1 root sys 569939 Mar 3 2005 getting_.pdf
drwxrwxrwx 2 root sys 2048 Feb 5 2036 gnu
-rwxrwxrwx 1 root sys 1935 Mar 2 2005 installe
drwxrwxrwx 2 root sys 2048 Feb 5 2036 perl
drwxrwxrwx 2 root sys 2048 Feb 5 2036 storage_
drwxrwxrwx 2 root sys 2048 Feb 5 2036 support
drwxrwxrwx 2 root sys 2048 Feb 5 2036 volume_m
drwxrwxrwx 2 root sys 2048 Feb 5 2036 volume_r
drwxrwxrwx 2 root sys 2048 Feb 5 2036 windows


Is there a way or a patch to solve this problem?

Please help me...
Geoff Wild
Honored Contributor
Solution

Re: Mount Veritas cdrom with pfs truncate file names

Yes - don't use PFS!

they used Rock Ridge extensions. Long names are truncated or show upper case only. Oracle tells you to use pfs_mount.

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 /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.

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.

Re: Mount Veritas cdrom with pfs truncate file names

Hi Geof!

Server is running 11.23 I have not found any Rock Ridge extension for ISO9660 patches or any aptche related to.

Any clue ?

Geoff Wild
Honored Contributor

Re: Mount Veritas cdrom with pfs truncate file names

Sorry - it is RockRidge built into 11.23 - just mount it - like this:

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


Course, I create a link to the actual dvd drive in my machine:

# ll /dev/dvdrom
lrwxr-xr-x 1 root sys 15 Feb 13 14:12 /dev/dvdrom -> /dev/dsk/c0t0d0


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.

Re: Mount Veritas cdrom with pfs truncate file names


Bad news...

dvd1:/> mount -F cdfs -o ro,rr,noauto /dev/dsk/c1t2d0 /cdrom
dvd1:/cdrom > ls
CLUSTER_ GNU
STORAGE_
VOLUME_R
FILE_SYS
INSTALLE;1
SUPPORT
WINDOWS
GETTING_.PDF;1
PERL
VOLUME_M

The CD was created under ISO9660 format not directly RockRidge. Do you think could be the reason ?

Thanks in advance.

Re: Mount Veritas cdrom with pfs truncate file names

Bad news :(

vd1:/ > mount -F cdfs -o ro,rr,noauto /dev/dsk/c1t2d0 /cdrom

dvd1:/ > cd cdrom

dvd1:/cdrom > ll
total 1154
dr-xr-xr-x 1 -1 -1 2048 Nov 24 13:28 CLUSTER_
dr-xr-xr-x 1 -1 -1 2048 Nov 24 13:28 FILE_SYS
-r-xr-xr-x 1 -1 -1 569939 Mar 4 2005 GETTING_.PDF;1
dr-xr-xr-x 1 -1 -1 2048 Nov 24 13:29 GNU
-r-xr-xr-x 1 -1 -1 1935 Mar 2 2005 INSTALLE;1
dr-xr-xr-x 1 -1 -1 2048 Nov 24 13:29 PERL
dr-xr-xr-x 1 -1 -1 2048 Nov 24 13:30 STORAGE_
dr-xr-xr-x 1 -1 -1 2048 Nov 24 13:30 SUPPORT
dr-xr-xr-x 1 -1 -1 2048 Nov 24 13:30 VOLUME_M
dr-xr-xr-x 1 -1 -1 2048 Nov 24 13:31 VOLUME_R
dr-xr-xr-x 1 -1 -1 2048 Nov 24 13:31 WINDOWS

The Veritas CD was recorded under ISO9660 format not Rock Ridge directly. Do you think that could be the reason ?