免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2546 | 回复: 0
打印 上一主题 下一主题

[新手入门] aix mount ISO [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-05-08 17:46 |只看该作者 |倒序浏览
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 of=/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.
                   
                   
                   

    本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/7869/showart_681334.html
  • 您需要登录后才可以回帖 登录 | 注册

    本版积分规则 发表回复

      

    北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
    未成年举报专区
    中国互联网协会会员  联系我们:huangweiwei@itpub.net
    感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

    清除 Cookies - ChinaUnix - Archiver - WAP - TOP