[V5.1 and later]Mount a CD-ROM drive on AIX

 

Overview

This topic describes a procedure for using SMIT to mount a CD-ROM drive. Before using SMIT to to mount a CD-ROM drive, try the following command:

# mount -rv cdrfs /dev/cd0 /cdrom

The cd0 device is the name assigned to your CD-ROM. Your system might use another device name. You can use smit to see the device name.

The /cdrom directory is the mount directory. If a CD-ROM drive has ever been mounted on your system, there is a mount directory created with smit. It might be a different directory than the /cdrom directory.

If the command was successful, you can unmount the CD-ROM drive with the following command:

# umount /cdrom

If you cannot determine the device name and the mount directory, use the procedure in this topic to mount the CD-ROM drive.

 

Overview

This topic describes mounting a local CD-ROM drive. This procedure assumes you are already logged on as root.

 

Steps for this task

  1. Insert the CD-ROM labeled, Integration Server Disk 1 of 2 into the CD-ROM drive.

  2. If the /cdrom directory does not already exist, enter the following command to create it:

    # mkdir /cdrom

  3. Start SMIT by entering the following command:

    # smit

  4. From the SMIT System Management menu, select System Storage Management (Physical & Logical Storage).

  5. Click...

    File Systems Add/Change/Show/Delete File Systems | CDROM File Systems | Add a CDROM File System | List

    Select CD0 as the device name.

  6. Enter /cdrom in the Mount Point field.

  7. Click OK.

    The Output: field contains messages about any errors that can occur at this point in the procedure. If another device is already mounted on the mount point, the process fails.

  8. Click Done.

  9. Click Cancel to clear the Add CDROM File System dialog box.

  10. Press F12 to close SMIT or click Exit > Exit SMIT.

  11. Enter the following command:

    # smit mountfs

    The Mount a File System dialog box appears.

  12. Click List and select the CD0 CD-ROM device.

  13. Type /cdrom in the DIRECTORY field.

  14. Click List in the Type of File System field.

  15. Click cdrfs as the file system type.

  16. Click yes for the Set the Mount as Read-Only system field.

  17. Click OK. A successful mount generates no errors in the Output: field.

  18. Click Done.

  19. Click Cancel to exit SMIT.