cc/td/doc/product/rtrmgmt/snaview/snav12
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Mounting a CD-ROM

Mounting a CD-ROM

This appendix describes how to mount a CD-ROM from a local or remote system so that you can install and configure CiscoWorks Blue SNA View on a workstation. It describes how to export the CD-ROM from a remote workstation and then mount it on the local workstation. This appendix contains these major sections:

Mounting from a Local or Remote CD-ROM Drive on AIX Systems

You can install CiscoWorks Blue SNA View from a CD-ROM drive attached to your system or from a drive connected to a remote system. You must first use SMIT to mount the local or remote device on the local AIX system.

Caution Avoid exposing the CiscoWorks Blue SNA View CD-ROM to direct sunlight because it could harm the contents.

To install SNA View on AIX from a CD-ROM, you can do one of the following:

Mounting from a CD-ROM Drive on the Local Workstation

This section describes how to mount the local CD-ROM drive. If you have already performed this procedure, or if another device is already mounted on the mount point, this process will fail.

To mount the CD-ROM on the file system from a local CD-ROM drive, use SMIT to perform the following steps:

Step 1 Insert the SNA View CD-ROM into the CD-ROM drive.

Step 2 Log in as the root user. (For instructions about how to become the root user, see "Becoming the Root User" in the "Preparing to Install CiscoWorks Blue SNA View" chapter.)

Step 3 Enter the following smit command:

The main SMIT menu appears, as shown in Figure A-1.



Figure A-1: Main SMIT Menu

Step 4 From the System Management menu, click 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.

Step 9 Select the "DEVICE name" List button and select the device name (such as /dev/cd0) from the list that appears.

Step 10 In the Mount point field, enter the name of a mount point directory (such as /cdrom).

Step 11 Click OK and read the output.

Step 12 Click Done.

Step 13 Terminate SMIT by pressing F12 or by selecting Exit SMIT from the Exit menu.

Step 14 Use the mountfs command, as shown below, to mount the file system:

Step 15 Click the "FILE SYSTEM name" List button and select a device name (such as /dev/cd0) from the list that appears.

Step 16 In the "DIRECTORY field," enter the name of a mount point directory (such as /cdrom).

Step 17 Click the "TYPE of file system" List button and select cdrfs as the file system type.

Step 18 Set the "Mount as Read-Only System" field to yes.

Step 19 Click OK and read the output, and then click Done.

Step 20 Terminate SMIT by pressing F12 or by selecting Exit SMIT from the Exit menu.

Mounting from a CD-ROM Drive on a Remote Workstation

This section describes how to mount a remote CD-ROM on your local workstation. Installation of CiscoWorks Blue SNA View does not require any disk space on the remote system. The software is copied across the network to the local workstation.

On the Remote System

To mount the CD-ROM on the local file system from a remote CD-ROM drive, perform the following steps on the remote system. If you have already performed this procedure, or if another device is already mounted on the mount point, this process will fail.

Step 1 Insert the SNA View CD-ROM into the CD-ROM drive.

Step 2 Log in as the root user. (For instructions about how to become the root user, see "Becoming the Root User" in the "Preparing to Install CiscoWorks Blue SNA View" chapter.)

Step 3 To start SMIT, enter the smit command:

The main SMIT menu appears, as shown earlier in Figure A-1.


Step 4 On the System Management list, click 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.

Step 9 Select the "DEVICE name" List button and select the device name (such as /dev/cd0) from the list that appears.

Step 10 In the "Mount point field," enter the name of a mount point directory (such as /cdrom).

Step 11 Click OK and read the output.

Step 12 Click Done.

Step 13 Terminate SMIT by pressing F12 or by selecting Exit SMIT from the Exit menu.

Step 14 Use the mountfs command, shown below, to mount the file system:

Step 15 Click the "FILE SYSTEM name" List button and select a device name (such as /dev/cd0) from the list that appears.

Step 16 In the "DIRECTORY field," enter the name of a mount point directory (such as /cdrom).

Step 17 Click the "TYPE of file system" LIST button and select cdrfs as the file system type.

Step 18 Set the "Mount as Read-Only System" field to yes.

Step 19 Click OK and read the output, and then click Done.

Step 20 Terminate SMIT by pressing F12 or by selecting Exit SMIT on the Exit menu.

Step 21 Enter the following command at the system prompt:

Step 22 In the "PATHNAME of directory to export" field, enter the path name (such as /cdrom).

Step 23 Use the arrow keys to change the "Mode to Export Directory" field to read-only.

Step 24 Enter the appropriate information, if necessary, into any of the other fields.

Step 25 Click OK, read the output, then click Done.

Step 26 Terminate SMIT by pressing F12 or by selecting Exit SMIT from the Exit menu.

Mount the CD-ROM On the Local System

Perform the following steps on the local system to mount the remote file system.

Step 1 Enter the smit command, as shown below:

Step 2 In the "FILE SYSTEM name" field, enter the device name from the remote system (such as /cdrom).

Step 3 In the "DIRECTORY over which to mount" field, type the name of the mount point directory (such as /cdrom).

Step 4 Click the "TYPE of file system" List button and select nfs as the file system type.

Step 5 In the "REMOTE NODE" field, type the name of the remote host, such as host1.cisco.com.

Step 6 Set the "Mount as Read-Only System" field to yes.

Step 7 Click OK and read the output, and then click Done.

Step 8 Terminate SMIT by pressing F12 or by selecting Exit SMIT on the Exit menu.

The CD-ROM is ready for installation of software.


Mounting from a Remote or Local CD-ROM Drive on HP-UX or Solaris Systems

You can install CiscoWorks Blue SNA View from a CD-ROM drive attached to your system or from a drive connected to a remote system. You must first mount the remote or local device on the local system.

Caution Avoid exposing the CiscoWorks Blue SNA View CD-ROM to direct sunlight because it could harm the contents.

To install SNA View on HP-UX or Solaris from a CD-ROM, you do the following:

Exporting a CD-ROM File System from a Remote HP-UX or Solaris System

This section describes how to export a CD-ROM file system from a remote system.

Caution The instructions for mounting a remotely exported CD-ROM drive on a local system are for like systems. For example, the instructions are for exporting a CD-ROM file system from an HP-UX system and mounting it on another HP-UX system for installation, or for exporting from one Solaris system and mounting on another Solaris system, but not for cross-platform operation. If necessary, your system administrator can help you with cross-platform exporting and mounting.

To export a CD-ROM file system from an HP-UX or Solaris system, perform the following steps on the remote system:

Step 1 Insert the SNA View CD-ROM in the CD-ROM drive.

Step 2 Log in as the root user. (For information about how to become the root user, see the section "Becoming the Root User" in the "Preparing to Install CiscoWorks Blue SNA View" chapter.)

Step 3 If the /cdrom directory already exists, proceed to the next step. If the /cdrom directory does not exist, create it with the mkdir command:

Step 4 Create an exports file using a text editor, if the file does not already exist.

Step 5 Edit the exports file to include this line:

Step 6 If you just created a new exports file (/etc/dfs/dfstab or /etc/exports) in Step 4, you must now enable your workstation as a Network File System (NFS) server. To start the nfsd server, entering the commands shown below.

On Solaris:


On HP-UX:


Step 7 On Solaris only, add the following line to the etc/dfs/dfstab file:

Step 8 Mount the CD-ROM.

On Solaris:


The vold server automatically manages the CD-ROM device and performs the mounting. The CD-ROM may automatically mount onto the /cdrom/cdrom0 directory. If you are running File Manager, a separate File Manager window displays the contents of the CD-ROM disk. If the /cdrom/cdrom0 directory is empty because the CD was not mounted, or if File Manager did not open a window displaying the contents of the CD-ROM disk, verify whether the vold server is running by entering the following commands:


If the system does not display anything, restart the server:


If the vold server is running but did not mount the CD, stop the vold server process and then restart it:


Where process_ID is the UNIX process ID of the vold server.


Then enter the mount command:


On HP-UX:


Use the following command to mount the CD-ROM:


Where:


The -o ro option mounts the CD-ROM in read-only mode.


The -t indicates the type of file system: hsfs for the ISO 9660 standard, and cdfs for the High Sierra standard with Rock Ridge extensions.


Replace the device_filename variable with /dev/dsk/c201d2s0 or a different device number reported by the /etc/ioscan program for the CD-ROM device.


Step 9 If the exports file existed previously (before Step 4), enter the following command:

If exports file did not exist previously, reboot your system.


You can continue to the next section, "Mounting a Remotely Exported CD-ROM File System on a Local System."

Mounting a Remotely Exported CD-ROM File System on a Local System

To mount a file system that is exported from a remote system, perform the following steps on the local HP-UX or Solaris system:

Step 1 Log in as the root user. (For information about how to become the root user, see the section "Becoming the Root User" in the "Preparing to Install CiscoWorks Blue SNA View" chapter.)

Step 2 If a /cdrom directory does not already exist, create it with the mkdir command:

Step 3 To mount a file system that is exported from a remote system, use the mount command, as shown below:

Where:


remote_hostname is the name of the remote workstation.


remote_filesystem is the name of the file system on the remote workstation.


local_mount_point is the name to be used on the local workstation.


For example, to mount the /cdrom file system from a remote host called faraway on a local directory named /cdrom, you would use the following command at the prompt:


The remote CD-ROM is ready for installation of software on the local system.


Mounting a Local CD-ROM on HP-UX or Solaris

To prepare the system for installation of software from a local CD-ROM drive, complete the following steps:

Step 1 Insert the SNA View CD-ROM in the CD-ROM drive.

Step 2 Log in as the root user. (For information about how to become the root user, see the section "Becoming the Root User" in the "Preparing to Install CiscoWorks Blue SNA View" chapter.)

Step 3 If the /cdrom directory already exists, proceed to the next step.

If a /cdrom directory does not exist, create it with the mkdir command:


Step 4 Mount the CD-ROM.

On Solaris:


The vold server automatically manages the CD-ROM device and performs the mounting. The CD-ROM may automatically mount onto the /cdrom/cdrom0 directory. If you are running File Manager, a separate File Manager window displays the contents of the CD-ROM disk. If the /cdrom/cdrom0 directory is empty because the CD was not mounted, or if File Manager did not open a window displaying the contents of the CD-ROM disk, verify that the vold server is running by entering the following commands:


If the system does not display anything, restart the vold server using the following command:


If the vold server is running but did not mount the CD, stop the vold server process and then restart the vold server:


Where process_ID is the UNIX process ID of the vold server.


On HP-UX:


Where:


The -o ro option mounts the CD-ROM in read-only mode.


The -t indicates the type of file system: hsfs for the ISO 9660 standard, and cdfs for the High Sierra standard with Rock Ridge extensions.


Replace the device_filename variable with /dev/dsk/c201d2s0 or a different device number reported by the /etc/ioscan program for the CD-ROM device.


Unmounting the CD-ROM

Unmount the CD by logging in as the root user and entering the following commands at the local or remote workstation on which the CD-ROM is mounted:

# cd / # umount /cdrom

AIX unmounts the CD-ROM device from the /cdrom directory. Remove the CD-ROM from the drive.

hometocprevnextglossaryfeedbacksearchhelp
Copyright 1989-1997 © Cisco Systems Inc.