Operating System - HP-UX
1821413 Members
3453 Online
109633 Solutions
New Discussion юеВ

HP-UX 11.31 mount CDFS from a file

 
SOLVED
Go to solution
Steen Christensen
New Member

HP-UX 11.31 mount CDFS from a file

Hi,

In previous versions of HP-UX one could mount a .iso image as a file using pfs_mount, but this command is no longer supported. If called pfs_mount states: "The equivalent functionality is now supported in the CDFS file system." But I cannot figure out how to mount a .iso image from a file, not a CD drive, trying a command similar to pfs_mount gives the answer:

root@rose$ mount -r -F cdfs -o xlat=UNIX /usr/tmp/T64CONFIG.iso /sctest

mount: /usr/tmp/T64CONFIG.iso is an invalid operand

(T64CONFIG.iso is not the image I want to mount, just used as an example)

Anybody who knows how to do this?

Thanks,
Steen
3 REPLIES 3
Jaime Bolanos Rojas.
Honored Contributor
Solution

Re: HP-UX 11.31 mount CDFS from a file

Hi Steen,

pfs_mount is not supported any more under 11.23 or 11.31, you might want to follow this procedure:

Find out the size of the ISO image:
# du -k /tmp/test.iso
NOTE: The size will be in Kb.

Create a logical volume to hold the ISO image:
# lvcreate -L -n iso /dev/vg00
NOTE: The name of the logical volume will be /dev/vg00/iso

Copy the ISO file to the raw logical volume:
# dd if=/tmp/test.iso of=/dev/vg00/riso bs=64k

Create a temporary directory and mount the /dev/vg00/iso volume:
# mkdir /iso_image
# mount /dev/vg00/iso /iso
NOTE: For HP-UX 11.11 you must install the latest CDFS patches:
PHCO_25841 Add Rock Ridge extension to mount_cdfs(1M)
PHKL_26269 Rock Ridge extension for ISO-9660
PHKL_34153 CDFS cumulative patch


Regards,

Jaime

Work hard when the need comes out.
Steen Christensen
New Member

Re: HP-UX 11.31 mount CDFS from a file


Thanks Jamie. This solved my problem.

Regards,
Steen
Steen Christensen
New Member

Re: HP-UX 11.31 mount CDFS from a file

Solved by Jamies answer.