Sponsored Content
Operating Systems AIX How to mount an ISO image in AIX 5.2 Post 302326438 by sumanthsharma on Thursday 18th of June 2009 02:45:13 AM
Old 06-18-2009
Lightbulb How to mount an ISO image in Aix

Unfortunately there is no simple way of doing this in Aix as in SunOs (like the lofiadm command in Solaris)

Firstly you need to have a file system (cdrfs filesystem) of the size at least as much as the ISO image.

Assuming nothing is in place, then create a volume and then run the following commands as mentioned here

The example in the link assumes your 'rootvg' Volume group is composed of hdisk0 and may be more, and at least 384MB of space is available on it. It uses the good old 'dd' command in the Unix


To generalize

1. Assume the space requirement of the ISO image (xyz.iso) is 1GB
2 You had enough space in volume group 'myvg' which had hdiskxx and hdiskxy.
3. Create a volume of size 1GB on 'myvg' using say both hdiskxx abd hdiskxy as follows (/usr/sbin/mklv -y'isolv1' -e'x' -L myvg 1024M hdiskxx hdiskxy). Here we created a volume named 'isolv1' with a maximum capacity of 1GB.
4. Now the usual steps of (dd if=/<full_path_to_your_iso_image>/xyz.iso.iso of=/dev/cdlv)
5. mkdir -p /mnt/iso ##the directory name could be anything
6 And (mount -v cdrfs -o ro /dev/isolv1 /mnt/iso)


This is the way I have been doing as well.

I know this is a very old question but am posting the response now since my colleague was asking me the same, so I put it up on my project wiki and thought of doing the same on this Unix forum hoping it may of use to someone.

Hope this helps.

PS: If you need help even to know if you have enough space in any of your Volume groups, it involves some knowledge of Aix LVM which is quite simple, you may refer here Logical Volume Manager and the same information on LVM is available for download in pdf format here AIX PDFs --> Look esp for "AIX Logical Volume Manager from A to Z - Introduction and Concepts" and "AIX Logical Volume Manager from A to Z - Troubleshooting and Commands"

Last edited by sumanthsharma; 06-18-2009 at 07:36 AM.. Reason: Correcting language error
 

10 More Discussions You Might Find Interesting

1. Tips and Tutorials

Mounting an ISO image on Solaris

Many software packages can be downloaded in the form of an ISO image. ISO images can also be created from CD and saved as ISO images: $ cat /dev/somecd > somename.iso Rather than burning the image to a CD-ROM to access its contents, it is easy to mount the image directly into the filesystem... (0 Replies)
Discussion started by: kduffin
0 Replies

2. HP-UX

Need iso image on CD_ROM of 9.01 to 9.07 HPUX How do I get one

There is a HP APPOLLO series 700 workstation where I am working that runs some CAD/CAM software. The department has not upgraded, backup, or done anything with the box. They have been using it this way for years. It doesn't boot up now, seems like probably bad drive. It would be nice to... (0 Replies)
Discussion started by: camsoft
0 Replies

3. UNIX for Advanced & Expert Users

mount iso image

I would like to mount an iso CD image on my Suse linux (SLES 9), the image has been copied to my suse linux machine. am able to mount the iso image manually by mount -oloop /iso/SLES-9-i386-CD1.iso /free but I would like to put the above entry in /etc/fstab so that when the machine is rebooted,... (2 Replies)
Discussion started by: hassan1
2 Replies

4. Ubuntu

Writing ISO image to CD

I want to install Ubuntu 7.10 and I have ISO image ubuntu-7.10-desktop-i386.iso . How can I convert to a bootable CD on linux or on windows. Thanks, J. (5 Replies)
Discussion started by: superuser84
5 Replies

5. Solaris

Create an ISO image of whole system

Hi All, Please help me with this. My plan is to create an ISO image of my current solaris 8 OS.Because we use a stripped out version of solaris 8 which is different than the standard one in CD. Will dd command will do ? My idea is to create a VMware image from iso file and play it in... (6 Replies)
Discussion started by: Jartan
6 Replies

6. AIX

AIX ISO image file

Hi all, Can anyone get the link to download the iso image of AIX as i am new to AIX need to study and work on the concepts of AIX. Thnx in advance... VINU:) (3 Replies)
Discussion started by: vinuvinod
3 Replies

7. Solaris

Solaris ISO image

Hi All, Can anyone give me the lnik to download the iso image file Solaris 10 . I need to install it on my local machine . Pls help me out. VINU (5 Replies)
Discussion started by: vinuvinod
5 Replies

8. UNIX for Dummies Questions & Answers

How to modify an iso image file

Hi, I'm trying to create a customized debian installer on a USB key. I found a tutorial on how to create the usb key. After the USB key is prepared, all you have to do is to copy the iso file to the stick. So what I need to do now is to be able to modify the content of the iso file before... (7 Replies)
Discussion started by: chebarbudo
7 Replies

9. BSD

Mount ISO Image on FreeBSD problem!

I'm try to mount an iso on FreeBSD 8.2, but i recive an error; I use the following commands: # mdconfig -a -t vnode -f /path/to/myimage.iso -u 1 # mount -t cd9660 /dev/md1 /media and receive the next message: mount_cd9660: /dev/md1: Invalid argument I also use mdconfig -d -u * (*- is the... (5 Replies)
Discussion started by: AnbuBlack
5 Replies

10. Red Hat

How to make boot.iso image from rhel6 installation dvd iso ?

Hello Everyone, Can anyone let me know how to make minimal boot.iso from rhl6 installation dvd iso image. I have a dvd image with me but i want to make just a minimal boot media. Somehow it is not shipped with dvd iso. I know we can download boot.iso from redhat site but is there any anyway we... (5 Replies)
Discussion started by: Rohit Bhanot
5 Replies
LVRESIZE(8)						      System Manager's Manual						       LVRESIZE(8)

NAME
lvresize - resize a logical volume SYNOPSIS
lvresize [--alloc AllocationPolicy] [--noudevsync] [-i|--stripes Stripes [-I|--stripesize StripeSize]] {[-l|--extents [+|-]LogicalEx- tentsNumber[%{VG|LV|PVS|FREE|ORIGIN}] | [-L|--size [+|-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]} [-f|--force] [-n|--nofsck] [-r|--resizefs] LogicalVolume{Name|Path} [PhysicalVolumePath[:PE[-PE]]...] DESCRIPTION
lvresize allows you to resize a logical volume. Be careful when reducing a logical volume's size, because data in the reduced part is lost!!! You should therefore ensure that any filesystem on the volume is shrunk first so that the extents that are to be removed are not in use. Resizing snapshot logical volumes (see lvcreate(8) for information about creating snapshots) is supported as well. But to change the number of copies in a mirrored logical volume use lvconvert(8). OPTIONS
See lvm(8) for common options. -f, --force Force resize without prompting even when it may cause data loss. -n, --nofsck Do not perform fsck before resizing filesystem when filesystem requires it. You may need to use --force to proceed with this option. -r, --resizefs Resize underlying filesystem together with the logical volume using fsadm(8). -l, --extents [+|-]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}] Change or set the logical volume size in units of logical extents. With the + or - sign the value is added to or subtracted from the actual size of the logical volume and without it, the value is taken as an absolute one. The number can also be expressed as a percentage of the total space in the Volume Group with the suffix %VG, relative to the existing size of the Logical Volume with the suffix %LV, as a percentage of the remaining free space of the PhysicalVolumes on the command line with the suffix %PVS, as a per- centage of the remaining free space in the Volume Group with the suffix %FREE, or (for a snapshot) as a percentage of the total space in the Origin Logical Volume with the suffix %ORIGIN. The resulting value is rounded downward for the substraction otherwise it is rounded upward. -L, --size [+|-]LogicalVolumeSize[bBsSkKmMgGtTpPeE] Change or set the logical volume size in units of megabytes. A size suffix of M for megabytes, G for gigabytes, T for terabytes, P for petabytes or E for exabytes is optional. With the + or - sign the value is added or subtracted from the actual size of the log- ical volume and rounded to the full extent size and without it, the value is taken as an absolute one. -i, --stripes Stripes Gives the number of stripes to use when extending a Logical Volume. Defaults to whatever the last segment of the Logical Volume uses. Not applicable to LVs using the original metadata LVM format, which must use a single value throughout. -I, --stripesize StripeSize Gives the number of kilobytes for the granularity of the stripes. Defaults to whatever the last segment of the Logical Volume uses. Not applicable to LVs using the original metadata LVM format, which must use a single value throughout. StripeSize must be 2^n (n = 2 to 9). --noudevsync Disable udev synchronisation. The process will not wait for notification from udev. It will continue irrespective of any possible udev processing in the background. You should only use this if udev is not running or has rules that ignore the devices LVM2 cre- ates. EXAMPLES
Extend a logical volume vg1/lv1 by 16MB using physical extents /dev/sda:0-1 and /dev/sdb:0-1 for allocation of extents: lvresize -L+16M vg1/lv1 /dev/sda:0-1 /dev/sdb:0-1 SEE ALSO
fsadm(8), lvm(8), lvconvert(8), lvcreate(8), lvreduce(8), lvchange(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) LVRESIZE(8)
All times are GMT -4. The time now is 04:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy