DB2 Version 9.7 for Linux, UNIX, and Windows

Mounting CDs or DVDs (AIX)

To mount your DB2® database product CD or DVD on AIX® operating systems, use the System Management Interface Tool (SMIT).

Before you begin

Depending on your system configuration, you might need to log on with root user authority to mount discs.

Procedure

To mount the CD or DVD on AIX using SMIT, perform the following steps:

  1. Insert the disc in the drive.
  2. Create a disc mount point by entering the mkdir -p /disc command, where disc represents the CD or DVD mount point directory.
  3. Allocate a disc file system using SMIT by entering the smit storage command.
  4. After SMIT starts, select File Systems > Add / Change / Show / Delete File Systems > CDROM File Systems > Add CDROM File System.
  5. In the Add a File System window:
    1. Enter a device name for your CD or DVD file system in the DEVICE Name field. Device names for CD or DVD file systems must be unique. If there is a duplicate device name, you may need to delete a previously-defined CD or DVD file system or use another name for your directory. In this example, /dev/cd0 is the device name.
    2. Enter the disc mount point directory in the MOUNT POINT window. In this example, the mount point directory is /disc.
    3. In the Mount AUTOMATICALLY at system restart field, select yes to enable automatic mounting of the file system.
    4. Click OK to close the window, then click Cancel three times to exit SMIT.
  6. Mount the CD or DVD file system by entering the smit mountfs command.
  7. In the Mount a File System window:
    1. Enter the device name for this CD or DVD file system in the FILE SYSTEM name field. In this example, the device name is /dev/cd0.
    2. Enter the disc mount point in the Directory over which to mount field. In this example, the mount point is /disc.
    3. Enter cdrfs in the Type of Filesystem field. To view the other kinds of file systems you can mount, click List.
    4. In the Mount as READ-ONLY system field, select yes.
    5. Accept the remaining default values and click OK to close the window.

Results

Your CD or DVD file system is now mounted. To view the contents of the CD or DVD, place the disk in the drive and enter the cd /disc command where disc is the disc mount point directory.