Mount ISO on liunx/aix/solaris
Redhat Liunx:
mount -o loop -t iso9660 /tmp/iso.iso /media/cdrom
Aix:
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.
注:如果DD比較慢,把BS設定大一點。
[@more@]來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/789833/viewspace-1041503/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- aix 下nfs solaris mountAINFS
- aix mountAI
- Mounting ISO images on AIXAI
- solaris非法關機之後硬碟無法mount(轉)硬碟
- mount iso檔案的時候提示Could not find any loop deviceOOPdev
- 關於solaris10 掛載ISO檔案的方法
- linux mount掛載裝置(u盤,光碟,iso等 )使用說明Linux
- AIX中Mount Redhat Linux上的nfs檔案系統AIRedhatLinuxNFS
- Solaris10(SPARC)下掛載NFS空間出錯:nfs mount: Not ownerNFS
- AIX JFS2 Filesystem Concurrent Mount Protection 0506-365 FailureAI
- linux_unix_aix_hp_solaris multi path多路徑配置LinuxAI
- unix系統資訊收集參考(hp-ux,solaris,aix)UXAI
- Liunx運維(九)-Liunx程式管理命令運維
- Liunx筆記筆記
- AIX,HP-UX,LINUX,SOLARIS磁碟與卷管理常用命令AILinux
- How many nodes can be had in an HP-UX/Solaris/AIX/Windows/Linux cluster?AIWindowsLinux
- Liunx運維(十二)-Liunx系統常用內建命令運維
- 各大作業系統AIX/HPUX/Solaris/Linux下的系統日誌作業系統AILinux
- Liunx 安裝 GoGo
- 【liunx】telnet命令
- liunx之:ln命令
- Liunx基礎命令
- 使用Linux expect批次巡檢Linux Aix Solaris磁碟使用率指令碼LinuxAI指令碼
- AIX、HP-UX、Linux、Solaris 常用命令及配置檔案對照表AILinux
- linux solaris aix上取系統前N天日期(必須安裝perl)LinuxAI
- startup mount與startup restrict mount有何區別REST
- cd iso
- liunx之:解決liunx下dns配置重啟失效的問題DNS
- linux mountLinux
- mount uuidUI
- mount 的使用
- Liunx Composer 安裝
- liunx磁碟掛載操作
- Liunx命令符(面試題)面試題
- Liunx常用命令
- liunx的基本命令
- Liunx 網路卡繫結
- 製作ISO檔案 與 提取ISO檔案