DB2 Connect Quick Beginnings for UNIX**
The following sections describe how to mount your DB2
product CD-ROM on UNIX-based operating systems.
To mount the CD-ROM on AIX using the System Management Interface Tool
(SMIT), perform the following steps:
- Log in as a user with root authority.
- Insert the CD-ROM in the drive.
- Create a CD-ROM mount point by entering the mkdir -p /cdrom
command, where cdrom represents the CD-ROM mount point
directory.
- Allocate a CD-ROM file system using SMIT by entering the smit
storage command.
- After SMIT starts, select File Systems --> Add / Change /
Show / Delete File Systems --> CDROM File Systems --> Add
CDROM File System.
- In the Add a File System window:
- Enter a device name for your 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, you may need to delete a
previously-defined CD-ROM file system or use another name for your
directory. In our example, we will use /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.
- Next, mount the CD-ROM file system by entering the smit mountfs
command.
- 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 you can mount, click
List.
- In the Mount as READ-ONLY system field, select to
yes.
- Accept the remaining default values and click OK to close the
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.
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:
- Log in as a user with root authority.
- 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.
- Start the pfs daemon by entering the following commands (if
they are not already running):
/usr/sbin/pfs_mountd &
/usr/sbin/pfsd 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.
- Log out.
To mount the CD-ROM on Linux:
- Log in as a user with root authority.
- 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.
- Log out.
Note that some window managers may automatically mount your CD-ROM for
you. Consult your system documentation for more information.
To mount the CD-ROM on PTX:
- Log in as a user with root authority.
- 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.
- Log out.
To mount the CD-ROM on Solaris:
- Log in as a user with root authority.
- Insert the CD-ROM into the drive.
- 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
- Log out.
[ Top of Page | Previous Page | Next Page ]