DB2 Version 9.7 for Linux, UNIX, and Windows

Mounting CDs or DVDs (Solaris Operating Environment)

If the CD-ROM is not automatically mounted when you insert it into the drive on Solaris Operating Environment, issue the mount command.

Before you begin

If you are mounting the CD or DVD drive from a remote system using NFS, the CD or DVD file system on the remote computer must be exported with root access. Depending on your local system configuration, you might also need root access on the local computer.

Procedure

To mount the CD or DVD on Solaris:

  1. Insert the CD or DVD into the drive.
  2. If the Volume Manager (vold) is running on your system, the disc is automatically mounted as /cdrom/cd_label if the CD or DVD has a label or /cdrom/unnamed_cdrom if it is unlabeled.

    If the Volume Manager is not running on your system, complete the following steps to mount the CD or DVD:

    1. Determine the name of the device by entering the following command:
      ls -al /dev/sr* |awk '{print "/" $11}'
      This command returns the name of the CD or DVD device. In this example, the command returns the string /dev/dsk/c0t6d0s2.
    2. Enter the following commands to mount the CD or DVD:
      mkdir -p /cdrom/unnamed_cdrom 
      mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom/unnamed_cdrom
      where /dev/dsk/c0t6d0s2 represents the name of the device that was returned in the preceding step and /cdrom/unnamed_cdrom represents the CD or DVD mount directory.
  3. Log out.

Results

Your CD or DVD file system is now mounted. View the contents of the CD or DVD by placing the disk in the drive and enter the cd /cdrom command where cdrom is the mount point directory.