by
%2Fcom.ibm.tivoli.fim.doc_6.0.1%2Ftfim601_relnotes35.htm
1.创建一个LV(根据iso文件确定大小)
# mklv -y cdlv -s n -L /dev/cdlv rootvg 384M hdisk0
2.DD
# dd if=/opt/software/iso/fim_console_rios_aix_5.iso of=/dev/cdlv
注:该命令需要较长时间才能完成,并会产生两个dd进程。
3.挂载iso
#mount -v cdrfs -o ro /dev/cdlv /mnt/iso
AIX6 TL4+ 用loopmount 命令挂载ISO镜像文件
by
AIX下挂载ISO文件,在以往的版本中,我们一般是通过创建LV,然后DD...的步骤;或通过iSCSI之类的方式。
AIX 6.1 TL 4开始,AIX系统提供了一个loopmount命令,可直接mount ISO文件。
#lslpp -l | grep devices.loopback.rte
devices.loopback.rte 6.1.5.0 COMMITTED Loopback Device Driver
#mkdir /iso
#ls -l /iso
total 0
#cd /opt/tivoli/iso
#ls
tms_client_v6.2.1_aix.iso tsm__admin_v6.2_aix.iso tsmserver_aix_6.2.iso
#loopmount
Usage: loopmount {-i imagefile -l device} [-o "mount options" -m mountpoint]
#loopmount -i tsm__admin_v6.2_aix.iso -m /iso -o "-V cdrfs -o ro"
#df
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 4194304 3746616 11% 10830 3% /
/dev/hd2 8388608 2831264 67% 53139 15% /usr
/dev/hd9var 4194304 3493424 17% 8326 3% /var
/dev/hd3 3145728 3111800 2% 152 1% /tmp
/dev/hd1 4194304 3348248 21% 309 1% /home
/dev/hd11admin 1048576 1047728 1% 5 1% /admin
/proc - - - - - /proc
/dev/hd10opt 4194304 3651272 13% 8971 3% /opt
/dev/livedump 1048576 1047760 1% 4 1% /var/adm/ras/livedump
/dev/loop0 1428760 0 100% 357190 100% /iso
#cd /iso
#ls
COI PostFailureTask.xml install.bin uninstall_response.txt
DE README.htm sample_response.txt
阅读(970) | 评论(0) | 转发(0) |