Mount CD-ROMS on AIX, HP-UX, Linux and Solaris systems

+

Search Tips   |   Advanced Search

 

AIX

Mount the CD-ROM using the System Management Interface Tool (SMIT) as follows:

  1. Log in as a user with root authority.

  2. Insert the CD-ROM in the drive.

  3. Create a CD-ROM mount point by entering the mkdir -p /cdrom command, where cdrom represents the CD-ROM mount point directory.

  4. Allocate a CD-ROM file system using SMIT by entering the smit storage command.

  5. After SMIT starts, click File Systems > Add / Change / Show / Delete File Systems > CDROM File Systems > Add CDROM File System.

  6. In the Add a File System window:

    • Enter a device name for our CD-ROM file system in the DEVICE Name field. Device names for CD-ROM file systems must be unique. If there is a duplicate device name, we may need to delete a previously-defined CD-ROM file system or use another name for our directory. The example uses /dev/cd0 as the device name.

    • Enter the CD-ROM mount point directory in the MOUNT POINT window. In our example, the mount point directory is /cdrom.

    • In the Mount AUTOMATICALLY at system restart field, select yes to enable automatic mounting of the file system.

    • Click OK to close the window, then click Cancel three times to exit SMIT.

  7. Next, mount the CD-ROM file system by entering the smit mountfs command.

  8. In the Mount a File System window:

    • Enter the device name for this CD-ROM file system in the FILE SYSTEM name field. In our example, the device name is /dev/cd0.

    • Enter the CD-ROM mount point in the Directory over which to mount field. In our example, the mount point is /cdrom.

    • Enter cdrfs in the Type of Filesystem field. To view the other kinds of file systems we can mount, click List.

    • In the Mount as READ-ONLY system field, select yes.

    • Accept the remaining default values and click OK to close the window.

    Our CD-ROM file system is now mounted. To view the contents of the CD-ROM, place the disk in the drive and enter the cd /cdrom command where cdrom is the CD-ROM mount point directory.

 

HP-UX

Mount the CD-ROM. Because WebSphere Application Server contains several files with long file names, the mount command can fail. The following steps let we successfully mount our WebSphere Application Server product CD-ROM.

  1. Log in as a user with root authority.

  2. In the /etc directory, add the following line to the pfs_fstab file:

        /dev/dsk/c0t2d0 mount_point pfs-rrip ro,hard
    
    

    ...where mount_point represents the mount point of the CD-ROM.

  3. Start the pfs daemon by entering the following commands (if they are not already running):

        /usr/sbin/pfs_mountd &    
        /usr/sbin/pfsd 4 & 
    
    

  4. Insert the CD-ROM in the drive and enter the following commands:

        mkdir /cdrom     
        /usr/sbin/pfs_mount /cdrom 
    
    

    The /cdrom variable represents the mount point of the CD-ROM.

  5. Log out.

 

Linux

Mount the CD-ROM using the following steps.

  1. Log in as a user with root authority.

  2. Insert the CD-ROM in the drive and enter the following command:

       mount -t iso9660 -o ro /dev/cdrom /cdrom     
    
    

    The /cdrom variable represents the mount point of the CD-ROM.

  3. Log out.

Some window managers can automatically mount our CD-ROM for you. Consult our system documentation for more information.

 

Solaris

Mount the CD-ROM using the following steps.

  1. Log in as a user with root authority.

  2. Insert the CD-ROM into the drive.

  3. If the Volume Manager is not running on our system, enter the following commands to mount the CD-ROM:

        mkdir -p /cdrom/unnamed_cdrom    
        mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom/unnamed_cdrom 
    
    

    The /cdrom/unnamed_cdrom variable represents the CD-ROM mount directory and the /dev/dsk/c0t6d0s2 represents the CD-ROM drive device.

    If we are mounting the CD-ROM drive from a remote system using NFS, the CD-ROM file system on the remote machine must be exported with root access. We must also mount that file system with root access on the local machine.

    If the Volume Manager (vold) is running on your system, the CD-ROM is automatically mounted as:

     /cdrom/unnamed_cdrom 
    
    

  4. Log out.

 

What to do next

Return to the installation procedure to continue.


 

Related tasks


Installing IBM HTTP Server