Mounting CDs or DVDs (AIX)
Depending on your system configuration, you might need to log on as root to mount discs.
To mount the CD or DVD on AIX® using the System Management Interface Tool (SMIT), perform the following steps:
- Insert the disc in the drive.
- Create a disc mount point by entering the mkdir -p /disc command, where disc represents the CD or DVD mount point directory.
- Allocate a disc 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 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 our example, we will use /dev/cd0 as the device name.
- Enter the disc mount point directory in the MOUNT POINT window. In our example, the mount point directory is /disc.
- 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 or DVD file system by entering the smit mountfs command.
- In the Mount a File System window:
- Enter the device name for this CD or DVD file system in the FILE SYSTEM name field. In our example, the device name is /dev/cd0.
- Enter the disc mount point in the Directory over which to mount field. In our example, the mount point is /disc.
- 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 yes.
- Accept the remaining default values and click OK to close the window.
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.
Parent topic: An overview of installing your DB2 server product (Linux and UNIX)