Previous Topic: Mounting on SolarisNext Topic: Mounting on HP Itanium


Mounting on AIX

Use the following information to mount the ISO file on AIX platform.

Follow these steps:

  1. Obtain the size of the ISO image.

    Example:

    ls -la /tmp/CAGen85.AIX.iso
    -rwxr-xr-x    1 root     system    253929472 Dec 26 16:05 /tmp/CAGen85.AIX.iso
    
  2. Identify the nearest multiple of 128 MB that will provide enough space for the image.

    In our example, the image is approximately 254 MB, so use 256 MB as an image size.

  3. 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 256M hdisk0
    
  4. If the command fails, increase the volume size by a multiple of 128.
  5. To create a pseudo-device, use the dd command. Ensure that the partition has enough space for the pseudo-device.

    In the following example command, the pseudo-device is /dev/cdlv.

    # dd if=/tmp/CAGen85.AIX.iso of=/dev/cdlv
    

    Note: This command may take a long time and creates two dd processes.

  6. Mount the device like a CD-ROM in AIX. Ensure that the mount point exists.
    # mkdir -p /mnt/iso-disk
    # mount -v cdrfs -o ro /dev/cdlv /mnt/iso-disk