After gaining the root access to the host (see the last post) it is the time to finally upgrade its disk drivers … In this case, they landed on my desktop in form of an iso image. This is all nice and dandy but the host does not have a cd/dvd drive … – this post shows how to unpack an iso image without it.
Use, whatever is appropriate to move the iso image to the host that needs it. Next, create a file system (I call it /iso) of the appropriate size and with appropriate attributes (-pro, -tno).
# crfs -v jfs2 -g vg_name -a size=5G -m /iso -Ano -pro -tno
Since, I allowed LVM to create the logical volume creating the file system above, now it is time to learn its name:
# lsfs /iso | grep fslv
In the next line the if= defines the location of image, and the of defines just identified logical volume. To load the image into the file system we used the command as old as UNIX:
# dd if=/home/duszyk/dlmglm_074001.iso of=/dev/fslv00/ bs=100M
Now, mount the file system (mount /iso) and explore its contents.
It came quick and swift – I am talking about the two comments to this post
. Thank you Marcus and Ku!!!! For the reader – if you are on AIX 6.1.4 and above, please user the loopmount command instead of creating a file system and populating it with the image with dd command!
By the way, see one of the previous post for loopmount command - http://www.wmduszyk.com/?p=7999&langswitch_lang=en
It looks like I need to add a few GB’s to my own memory …..



Hi Mark, since AIX 6.1 Technology Level 4 it is no longer necessary to copy the content of an iso image to a logical volume. Instead you can mount the iso image by using the ‘loopmount’ command and then access its contents:
mkdir /isoimage
loopmount -i /home/duszyk/dlmglm_074001.iso -o “-V cdrfs -o ro” -m /isoimage
The ‘loopmount’ command is part of the AIX fileset ‘devices.loopback.rte’
Hello Marc,
there is a new Command called loopmount in AIX 6.
root@localhost:/> which loopmount
/usr/sbin/loopmount
root@localhost:/> lslpp -w /usr/sbin/loopmount
File Fileset Type
—————————————————————————-
/usr/sbin/loopmount
devices.loopback.rte File
# loopmount -i -o “-V cdrfs -o ro” -m /
Cheers,
ku