免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
1234
最近访问板块 发新帖
楼主: workaholic
打印 上一主题 下一主题

[新手入门] [原创]在AIX 上MOUNT *.ISO镜像文件 [复制链接]

论坛徽章:
0
31 [报告]
发表于 2006-08-24 13:20 |只看该作者
顶下了。5.3的也可以

论坛徽章:
0
32 [报告]
发表于 2007-01-31 16:05 |只看该作者
IBM 帮助文档上是这样说的:
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.

论坛徽章:
0
33 [报告]
发表于 2007-01-31 17:37 |只看该作者
偶也报:

# mount -rv cdrfs /dev/cdlv /mnt/iso

mount: 0506-324 Cannot mount /dev/cdlv on /mnt/iso: The media is not formatted o
r the format is not correct.

郁闷掉了!!

论坛徽章:
0
34 [报告]
发表于 2007-01-31 18:30 |只看该作者
好像是iso文件有问题,换另一个可以成功!!

论坛徽章:
0
35 [报告]
发表于 2007-01-31 23:38 |只看该作者
收下了,谢谢!

论坛徽章:
0
36 [报告]
发表于 2007-02-01 12:58 |只看该作者
原帖由 workaholic 于 2003-8-26 13:28 发表
谨以此文献给没有刻录机的兄弟  :

用处不大,在实在没有刻录机的时候,可以一用,  :)  经测试,在aix4.3.3和aix5.1都可以。

1、建立一个逻辑卷,大小和ISO image相同或者大些。

2、在/etc/filesyst ...

我晕,这也算是原创,还有人"支持原创"

论坛徽章:
0
37 [报告]
发表于 2007-02-01 13:07 |只看该作者
我靠!!!还是进精华???

论坛徽章:
0
38 [报告]
发表于 2007-04-16 14:29 |只看该作者
dd速度太慢,还不如用老方法

论坛徽章:
0
39 [报告]
发表于 2007-08-24 14:50 |只看该作者
dd的速度可以通过改变bs参数来提高
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP