In HP-UX, we can not mount an ISO directly through commands. We must create a lvol and then copy the contents of the ISO to the lvol with dd. The drawback of this is that we need extra space to do so.
Once the ISO is on the machine, we create the lvol first.
# lvcreate -L 4096 -n iso /dev/vg00 Logical volume “/dev/vg00/iso” has been successfully created with character device “/dev/vg00/riso”. Logical volume “/dev/vg00/iso” has been successfully extended. Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf #
when the lvol is created, we have to copy the iso and mount the lvol
# dd if=/root/cdrom.iso of=/dev/vg00/riso bs=1024k 172+1 records in 172+1 records out # mount /dev/vg00/iso /cdrom # bdf /cdrom Filesystem kbytes used avail %used Mounted on /dev/vg00/iso 176860 176860 0 100% /cdrom #
0 comments:
Post a Comment