aix mount ISO

本文介绍了解决AIX平台挂载ISO镜像问题的方法。首先获取镜像文件大小,然后创建适当的逻辑卷,并使用dd命令创建伪设备,最后挂载该设备以实现ISO镜像的访问。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Mounting ISO images on AIX
There is a known problem with mounting ISO images on the AIX platform.
To workaround the problem, complete the following instructions:
Obtain the size of the image.
For example:
# ls -al
total 731594
drwxr-xr-x   2 root     system          512 Aug 18 11:33 .
drwxr-xr-x   6 root     system          512 Aug 18 11:32 ..
-rw-r--r--   1 root     system    374575104 Apr 29 02:59
                                            fim_console_rios_aix_5.iso
Identify the nearest multiple of 128 MB that will provide enough space
for the image.  In the above example, the image is approximately 374 MB, so
use 384 MB as an image size.
Make a logical volume of this size.  Ensure
that there is enough space on the physical volume. For example, hdisk0.
# mklv -y cdlv -s n -L /dev/cdlv rootvg 384M hdisk0
If the command
fails, increase the volume size by a multiple of 128.
Use thedd command to create a pseudo-device. Ensure
that the partition has enough space for the pseudo-device. In the following
example command, the pseudo-device is /dev/cdlv.
# dd if=/opt/software/iso/fim_console_rios_aix_5.iso f=/dev/cdlv
Note that this command may take a long time and will create two dd processes.
Mount the device like a CD-ROM in AIX. Ensure that the mount point exists.
# mount -v cdrfs -o ro /dev/cdlv /mnt/iso Change directory into /mnt/iso.
               

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/611609/viewspace-691971/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/611609/viewspace-691971/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值