Mount disk drives on operating systems such as AIX and Linux
Some operating systems such as AIX or Linux require you to mount the drive before we can access data on WAS disk.
Insert WAS disk into the drive before mounting the drive.
You may experience errors if we install from a mounted ISO file created using a WAS product disk. Mount the drive which contains an official product disk or a product disk which was created from a licensed downloaded zip or tar file.
- [AIX] Mounting the CD-ROM on AIX
To mount the CD-ROM on AIX using the System Management Interface Tool (SMIT)...
- 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, click...
System Storage Management (Physical & Logical Storage) | File Systems | Add / Change / Show / Delete File Systems | CDROM File Systems | Add a CDROM File System
- In the Add a CDROM File System window:
- Enter a device name for the 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 the directory. The example uses /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 we 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-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.
- [HP-UX] Mounting the CD-ROM on HP-UX Because WAS contains several files with long file names, the mount command can fail.
The following steps let you mount successfully WAS v7 CD-ROM on the HP-UX platform:
- 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 /cdromThe /cdrom variable represents the mount point of the CD-ROM.
- Log out.
- (Linux) Mounting the CD-ROM on Linux
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 /cdromThe /cdrom variable represents the mount point of the CD-ROM.
If we have enabled and enforced Security-Enhanced Linux (SELinux) on the Red Hat Enterprise Linux V5 operating system while we are installing WAS from the CD, then mount the CD with the following option.
-o context=system_u:object_r:textrel_shlib_t- Log out.
Some window managers can automatically mount the CD-ROM for you. Consult the system documentation for more information.
- Mounting the CD-ROM on Solaris 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 the 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_cdromThe /cdrom/unnamed_cdrom variable represents the CD-ROM mount directory and the /dev/dsk/c0t6d0s2 represents the CD-ROM drive device.
If 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 the system, the CD-ROM is automatically mounted as:
/cdrom/unnamed_cdrom- Log out.
Related tasks
Preparing Red Hat Enterprise Linux 5 for installation
Install WAS and additional software