Table Of Contents
Mounting and Unmounting CD-ROM
Mounting Local CD-ROM Drive
Mounting Remote CD-ROM Drive
Unmounting CD-ROM Drive
Unmounting Local CD-ROM Drive
Unmounting Remote CD-ROM Drive
Mounting and Unmounting CD-ROM
This appendix describes how to mount the CD-ROM on a Solaris system. It includes general information only. For more information, consult your Sun documentation.
You can install Common Services from a CD-ROM mounted on the CiscoWorks server or from a CD-ROM mounted on a remote Solaris system.
This appendix contains:
•
Mounting Local CD-ROM Drive
•
Mounting Remote CD-ROM Drive
•
Unmounting CD-ROM Drive
Mounting Local CD-ROM Drive
Insert the CD-ROM into the CD-ROM drive and do the following:
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 (#).
If the /cdrom directory does not already exist, enter the following command to create it:
Step 2
Mount the CD-ROM drive.
The vold process manages the CD-ROM device and performs the mounting. The CD-ROM might 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. From the File Manager, double click on setup.sh file. The Action: Run box appears. Click OK to continue installation.
•
If the /cdrom/cdrom0 directory is empty because the CD-ROM was not mounted, or if File Manager did not open a window displaying the contents of the CD-ROM, verify the vold daemon is running by entering:
# ps -ef | grep vold | grep -v grep
•
If vold is running, the system displays the process identification number of vold. If the system does not display anything, restart the daemon by entering:
•
If the vold daemon is running but did not mount the CD-ROM, stop the vold daemon and then restart it. To stop the vold process, you must know the process identification number. If you do not know the process identification number, you can get it by entering:
# ps -ef | grep vold | grep -v grep
Step 3
Stop the vold process by entering:
# kill -15 process_ID_number
Step 4
Restart the vold process by entering:
If you have problems using the vold daemon, enter the following command to mount the CD-ROM:
# mount -F hsfs -r ro /dev/dsk/cxtyd0sz /cdrom/cdrom0
where x is the CD-ROM drive controller number, y is the CD-ROM drive SCSI ID number, and z is the slice of the partition on which the CD-ROM is located.
You have mounted the CD-ROM drive. See "Installing CiscoWorks Common Services," for instructions on installation.
Mounting Remote CD-ROM Drive
Insert the CD-ROM into the CD-ROM drive of the remote system and perform Steps 1 through 12 on the remote system.
Step 1
Log in as root.
The command prompt changes to the pound sign (#).
If the /cdrom directory does not already exist, enter:
Step 2
Mount the CD-ROM drive.
The vold daemon process manages the CD-ROM device and performs the mounting. The CD-ROM might 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.
a.
From the File Manager, double click on setup.sh file.
The Action: Run box appears.
b.
Click OK to continue installation.
•
If the /cdrom/cdrom0 directory is empty because the CD-ROM was not mounted, or if File Manager did not open a window displaying the contents of the CD-ROM, verify that the vold daemon is running by entering:
# ps -ef | grep vold | grep -v grep
•
If vold is running, the system displays /usr/sbin/vold. If the system does not display anything, restart the daemon by entering:
•
If the vold daemon is running but did not mount the CD-ROM, stop the vold daemon and then restart it. To stop the vold process, you must know the process identification number. If you do not know the process identification number, you can get it by entering:
# ps -ef | grep vold | grep -v grep
Step 3
Stop the vold process by entering:
# kill -15 process_ID_number
Step 4
Restart the vold process by entering:
If you have problems using the vold daemon, enter the following to mount the CD-ROM:
# mount -F hsfs -r ro /dev/dsk/cxtyd0sz /cdrom/cdrom0
where x is the CD-ROM drive controller number, y is the CD-ROM drive SCSI ID number, and z is the slice of the partition on which the CD-ROM is located.
Step 5
Use a text editor to create an /etc/dfs/dfstab file, if one does not exist.
Step 6
Add the following line to the /etc/dfs/dfstab file:
share -F nfs -o ro /cdrom/cdrom0
Step 7
Make sure your remote system is enabled as an NFS server by entering:
# ps -ef | grep nfs | grep -v grep
The output of this command shows whether the /usr/lib/nfs/nfsd and /usr/lib/nfs/mountd daemons are running. If they are not running, enable your system as an NFS server by entering:
# /etc/init.d/nfs.server start
If your system is enabled as an NFS server, enter either:
or
Step 8
Go to the system where you want to install CiscoWorks Common Services.
Step 9
Log on as superuser by entering the command su and the root password, or log in as root.
Step 10
Create a /cdrom directory, if one does not already exist, by entering:
Step 11
Mount the CD-ROM drive by entering:
# /usr/sbin/mount -r remote_system_name:/cdrom/cdrom0 /cdrom/cwcs
The CD-ROM drive is now mounted.
See "Installing CiscoWorks Common Services," for installation instructions.
Unmounting CD-ROM Drive
After you complete the Common Services installation, you must unmount the CD-ROM drive.
Unmounting Local CD-ROM Drive
To unmount a local CD-ROM drive:
Step 1
As root, enter:
Step 2
Remove the CD-ROM.
Unmounting Remote CD-ROM Drive
To unmount a remote CD-ROM drive:
Step 1
As root, enter the following on the local system:
Step 2
As root, enter the following on the remote system:
Step 3
Remove the CD-ROM.