Operating System - HP-UX
1752805 Members
5542 Online
108789 Solutions
New Discussion юеВ

Re: How to mount ISO image on HP-UX 11.31?

 
SOLVED
Go to solution
gvdhananjay
Occasional Contributor

How to mount ISO image on HP-UX 11.31?

I am new bee for HP-UX. I have HP-UX 11.31 box. I want to mount dvd iso image (size 3 GB) on this machine. I tried to search on google, but could not find information for HP-UX 11.31. pfs_mount works only on HP-UX 11.23 but it has been deprecated in 11.31. Any help will be appreciated
7 REPLIES 7
Robert-Jan Goossens
Honored Contributor

Re: How to mount ISO image on HP-UX 11.31?

Hi,

# ioscan -fnCdisk
Find the device file for the dvd
# mkdir /cdrom
# /usr/sbin/mount -F cdfs -e -o ro,rr /dev/dsk/cxtydz /cdrom

Regards,
Robert-Jan
Matti_Kurkela
Honored Contributor

Re: How to mount ISO image on HP-UX 11.31?

Robert's advice seems to be for mounting an actual DVD, not an .iso image of one.

Unfortunately, it seems that HP-UX 11.31 cannot really mount files that contain filesystem images.

I think you'll have to either burn the image to an actual DVD or mount the image on a Linux or Solaris host and then NFS export it to HP-UX.

MK
MK
Robert-Jan Goossens
Honored Contributor

Re: How to mount ISO image on HP-UX 11.31?

Thanks for the correction Matti!
Robert-Jan Goossens
Honored Contributor

Re: How to mount ISO image on HP-UX 11.31?

Maybe it is possible.

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00997197-2

http://www8.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00997197-2

Title: HP-UX: mount iso image fails with "invalid type" or "invalid operand"
Document ID: emr_na-c00997197-2

Try.

# mount -orr /dir/image_file.iso /mnt/iso
whiteknight
Honored Contributor

Re: How to mount ISO image on HP-UX 11.31?



hi,

An enhancement request to mount iso image as filesystem, not time frame mentioned.

as workaround
On HP-UX, you can create a new volume of the appropriate size with LVM
or VxVM, copy the image to it, and them mount the volume:

$ mount -F cdfs -oro,rr /dev/vg00/lvol10 /

WK


Problem never ends, you must know how to fix it
Minoia
Advisor
Solution

Re: How to mount ISO image on HP-UX 11.31?

I had the same problem last week and I followed this procedure.
I've generated a new logical volume, bigger then iso image, Then I copied the iso image on the logical volume raw device and mounted it as a normal file system.

mkdir /isoimg
lvcreate -n ISOLV -L 3096 /dev/vg00
dd if=isoimage of=/dev/vg00/rISOLV bs=8192
mount /dev/vg00/ISOLV /isoimg

Gianni
Vladislav Proskuryakov
Honored Contributor

Re: How to mount ISO image on HP-UX 11.31?

Guys,

There is a workaround for this issue.
WITHOUT the need of creating additional logical volumes (which makes sense in the scenarios when you are not able to re-map your existing filesystem, when all space in occupied on your HDD)!

BUT.. you'll have to use your iLO2 (Advanced edition... if not available - get yourself a 30-day trial period ;-)) for this workaround.

1) Login to iLO2 Advanced via IE6 (Firefox is NOT supported!)
2) Virtual Devices -> Virtual Media.. click "Launch" buttin (NOTE: Java Plugin required)
3) In the pop-up window, select "Local Image File:" -> Browse for image -> Press "Connect"

Next steps are on HP-UX (in my case 11.31):
4) See the new device (MassStorage) to appear:
ioscan -kfnC disk
5) Use the mount command to mount your image to the desired destination folder. For example:
mount /dev/deviceFileSystem/Usb/MassStorage/dsk/disk\@UnknownDevice-1008+4902\=0017a4aba3fc /mnt/iso2

JOB'S DONE
HAVE FUN ;-)
HPE Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
If you liked it I would appreciate KUDOs. Thanks