Quick Beginnings

Mounting CD-ROMs on UNIX Operating Systems

The following sections describe how to mount your DB2 product CD-ROM on UNIX-based operating systems.

Mounting the CD-ROM on AIX

To mount the CD-ROM on AIX using the System Management Interface Tool (SMIT), perform the following steps:

  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, select File Systems --> Add / Change / Show / Delete File Systems --> CDROM File Systems --> Add CDROM File System.
  6. In the Add a File System window:
  7. Next, mount the CD-ROM file system by entering the smit mountfs command.
  8. In the Mount a File System window:

Your 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.

Mounting the CD-ROM on HP-UX

Because DB2 Version 7.1 for HP-UX contains several files with long file names, the mount command may fail. The following steps will enable you to mount successfully your DB2 for HP-UX 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
    

    where /cdrom represents the mount point of the CD-ROM.

  5. Log out.

Mounting the CD-ROM on Linux

To mount the CD-ROM on Linux:

  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    
    

    where /cdrom represents the mount point of the CD-ROM.

  3. Log out.

Note that some window managers may automatically mount your CD-ROM for you. Consult your system documentation for more information.

Mounting the CD-ROM on PTX

To mount the CD-ROM on PTX:

  1. Log in as a user with root authority.
  2. Insert the CD-ROM in the drive and enter the following commands:
       mkdir /cdrom
       mount -r -F cdfs /dev/dsk/cd0 /cdrom
    

    where /cdrom is the mount point of the CD-ROM.

  3. Log out.

Mounting the CD-ROM on Solaris

To mount the CD-ROM on Solaris:

  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 your 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
    

    where /cdrom/unnamed_cdrom represents the CD-ROM mount directory and /dev/dsk/c0t6d0s2 represents the CD-ROM drive device.
    Note:If you 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. You 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.


[ Top of Page | Previous Page | Next Page ]