[an error occurred while processing this directive]

Support

Mounting and Unmounting on AIX

 Feedback

Table Of Contents

Mounting and Unmounting on AIX

Mounting a Local CD-ROM Drive

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 CD One CD-ROM on an AIX system. It includes general information only. For more detailed instructions, consult your AIX documentation.

You can install CD One from a CD-ROM mounted on the CD One server system or from a CD-ROM mounted on a remote AIX system.

This appendix contains:

Mounting a Local CD-ROM Drive

Mounting a Remote CD-ROM Drive

Unmounting a Local CD-ROM Drive

Unmounting a Remote CD-ROM Drive

Mounting a Local CD-ROM Drive

To mount a local CD-ROM drive:


Step 1 Insert the CD One CD-ROM.

Step 2 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 3 If the /cdrom directory does not already exist, enter the following command to create it:

# mkdir /cdrom

Step 4 Start SMIT by entering:

# smit

Step 5 From the SMIT System Management menu, select System Storage Management (Physical & Logical Storage).

Step 6 Select File Systems.

Step 7 Select Add/Change/Show/Delete File Systems.

Step 8 Select CDROM File Systems.

Step 9 Select Add a CDROM File System

Step 10 Click the DEVICE name List button, and select the device name (such as cd0) from the list that appears.

Step 11 Enter the name of a mount point directory (such as /cdrom) in the Mount Point field.

Step 12 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 13 Click Done. Click Cancel to clear the Add CDROM File System dialog box.

Step 14 Stop SMIT by pressing F12 or selecting Exit > Exit SMIT.

Step 15 Enter the following at the command prompt:

# smit mountfs

The Mount a File System dialog box appears.

Step 16 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 17 In the DIRECTORY over which to mount field, enter the name of a mount point directory (for example, /cdrom).

Step 18 Click the TYPE of file system List button, and select cdrfs as the filesystem type.

Step 19 Set the Mount as Read-Only system field to yes.

Step 20 Click OK and check for messages in the Output: field. If the mount is successful, there are no messages.

Step 21 Click Done.

Step 22 Click Cancel to exit SMIT.


Mounting a Remote CD-ROM Drive

To mount a remote CD-ROM drive:


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 mknfsexp

The 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 buttons 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:

a. Log in as root.

b. Enter:

# mount remote_hostname:remote_exported_filesystem_name \ 
local_mount_point

For example, to mount the /cdrom remote filesystem from the workstation zen to the local /cdrom directory, enter the following command:

# mount zen:/cdrom /cdrom

Unmounting a Local CD-ROM Drive

To unmount a local CD-ROM drive:


Step 1 Unmount the CD-ROM filesystem by performing one of the following procedures:

a. As root, enter:

# cd
# unmount themountpoint

Where 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, enter unmount / cdrom:

Or

a. As root, start SMIT by entering 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 and store it in a safe place.


Unmounting a Remote CD-ROM Drive

To unmount a remote CD-ROM drive:


Step 1 As root, start SMIT at the remote machine by entering 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 commands on the remote and local machines:

# cd
# unmount themountpoint

Where 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, enter unmount /cdrom on both machines:


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 and store it in a safe place.



[an error occurred while processing this directive]