Table Of Contents
Mounting and Unmounting on AIX
Mounting a Remote CD-ROM Drive
Unmounting a Local CD-ROM Drive
Unmounting a Remote CD-ROM Drive
Mounting and Unmounting on AIX
This appendix describes how to mount the Essentials CD-ROM on an AIX system and includes general information only. For more detailed instructions, consult your AIX documentation.
You can install Essentials from a CD-ROM mounted on the Essentials server system or from a CD-ROM mounted on a remote AIX system.
This appendix contains the following sections:
•
Mounting a Local CD-ROM Drive
•
Mounting a Remote CD-ROM Drive
Mounting a Local CD-ROM Drive
Insert the Essentials CD-ROM into the CD-ROM drive and perform the following steps:
Step 1
Become the superuser by entering the command su and the root password at the command prompt, or log in as root. The command prompt changes to the pound sign (#).
Step 2
If the /cdrom directory does not already exist, enter the following command to create it:
# mkdir /cdromStep 3
Start SMIT by entering the following command:
# smitStep 4
From the SMIT System Management menu, select System Storage Management (Physical & Logical Storage).
Step 5
Select File Systems.
Step 6
Select Add/Change/Show/Delete File Systems.
Step 7
Select CDROM File Systems.
Step 8
Select Add a CDROM File System. The Add a CDROM File System dialog box appears.
Step 9
Click the DEVICE name List button, and select the device name (such as cd0) from the list that appears.
Step 10
Enter the name of a mount point directory (such as /cdrom) in the Mount Point field.
Step 11
Click OK and check for messages in the Output: field.
If you have already performed this procedure, or if another device is already mounted on the mount point, the process fails.
Step 12
Click Done. Click Cancel to clear the Add CDROM File System dialog box.
Step 13
Terminate SMIT by pressing F12 or selecting Exit > Exit SMIT.
Step 14
Enter the following at the command prompt:
# smit mountfsThe Mount a File System dialog box appears.
Step 15
Click the FILE SYSTEM name List button, and select the device name of the CD-ROM drive that you want to mount (such as cd0) from the list that appears.
Step 16
In the DIRECTORY over which to mount field, enter the name of a mount point directory (for example, /cdrom).
Step 17
Click the TYPE of file system List button, and select crfs as the filesystem type.
Step 18
Set the Mount as Read-Only system field to yes.
Step 19
Click OK and check for messages in the Output: field. If the mount is successful, there are no messages.
Step 20
Click Done.
Step 21
Click Cancel to exit SMIT.
You have now mounted the CD-ROM drive. See the "" chapter for instructions for installing Essentials.
Mounting a Remote CD-ROM Drive
To mount the CD-ROM on the local filesystem from a remote CD-ROM drive, first perform the following steps on the remote workstation:
Step 1
Perform all steps described in "Mounting a Local CD-ROM Drive" on the remote workstation.
Step 2
From the command line, enter the following command:
# smit mknfsexpThe Add a Directory to Exports List dialog box appears.
Step 3
Enter the CD-ROM mount point directory (such as /cdrom) in the PATHNAME of directory to export field.
Step 4
Use the arrow butons to change the Mode to Export Directory field to read-only.
Step 5
Enter the appropriate information, if necessary, into the other fields.
Step 6
Click OK, and check for messages in the Output: field.
Step 7
Click Done.
Step 8
Click Cancel to exit SMIT.
After working on the remote workstation, perform the following steps on the local workstation:
Step 1
Log in as root.
Step 2
Enter the following command:
# mount remote_hostname:remote_exported_filesystem_name \local_mount_pointFor example, to mount the /cdrom remote filesystem from the workstation zen to the local /cdrom directory, enter the following command:
# mount zen:/cdrom /cdromYou have now mounted the remote CD-ROM on the local machine. See the "" chapter for instructions for installing Essentials.
Unmounting the CD-ROM Drive
After you have completed the Essentials installation, you need to unmount the CD-ROM drive, as explained in the following sections.
Unmounting a Local CD-ROM Drive
To unmount a local CD-ROM drive, follow these steps:
Step 1
Unmount the CD-ROM filesystem by performing one of the following procedures:
•
As root, enter the following commands:
# cd# umount themountpointWhere themountpoint is the directory on the local system on which you mounted the CD-ROM. For example, if you mounted the CD-ROM on the local directory /cdrom, you would enter the following command:
# umount /cdromOr
(a)
As root, invoke SMIT by entering the command smit.
(b)
Select System Storage Management.
(c)
Select File Systems.
(d)
Select Unmount a File System.
(e)
Enter the mountpoint in the Name of the file system to unmount field.
(f)
Click OK.
Step 2
Remove the CD-ROM caddy from the drive. Remove the CD-ROM and store it in a safe place.
Unmounting a Remote CD-ROM Drive
To unmount a remote CD-ROM drive, follow these steps:
Step 1
As root, invoke SMIT at the remote machine by entering the command smit.
Step 2
Select System Storage Management (Physical & Local Storage).
Step 3
Select File Systems.
Step 4
Select Add/Change/Show/Delete File Systems.
Step 5
Select Network File System (NFS).
Step 6
Select Network File System (NFS) again.
Step 7
Select Remove a Directory from Exports List.
Step 8
Enter the CD-ROM mount point directory (such as /cdrom) in the PATHNAME of exported directory to be removed field and click OK.
Step 9
As root, enter the following command on the remote machine and the local machine:
# cd# umount themountpointWhere themountpoint is the directory on the system on which you mounted the CD-ROM. For example, if you mounted the CD-ROM on the directory /cdrom on both the local and remote systems, you would enter the following command on both machines:
# umount /cdrom![]()
Note
Alternatively, you can use SMIT to unmount the CD-ROM filesystem on the local machine as explained in the "Unmounting a Local CD-ROM Drive" section.
Step 10
Remove the CD-ROM caddy from the drive. Remove the CD-ROM and store it in a safe place.