MOUNT *. ISO image file on AIX
MOUNT *. ISO image file on AIX
1. Create a file system with the same or larger size as ISO image.
#crfs -v jfs2 -g datavg -a size=1G -m /iso
2. Modify the attributes of the file system:
#chfs -a vfs=cdrfs /iso#chfs -p ro /iso
3. Determine the logical volume device name of the new file system:
# Lsfs/iso (assume:/dev/lv01)
4. Run the dd command to copy the iso file to the file system.
#dd if=/data.iso of=/dev/lv01 bs=10M
5. Mount the file system:
#mount -rv cdrfs /dev/lv01 /mnt
6. Analysis:
In the operating system, devices are accessed by accessing device files.
Therefore, both/dev/cd0 and/dev/lv01 can achieve the same purpose. Their attributes are the same.
7. Install software using mounted iso
#smitty easy_install*input device /directory for software [/mnt]
The following is an example of Coal
crfs -v jfs2 -g rootvg -a size=1G -m /iso3chfs -a vfs=cdrfs /iso3chfs -p ro /iso3lsfs /iso3dd if=/data.iso of=/dev/lv01 bs=10Mdd if=/TSMsoft/TSMforSANst_agent.iso of=/dev/fslv03 bs=50Mmount -rv cdrfs /dev/fslv03 /TSMforSANTSMforSANst_agent.isotar -xvf 5.5.4.0-TIV-TSMBAC-AIX.tar TSMBAC