Cisco Transport Manager Installation Guide, 8.5
Appendix C: Mounting and Unmounting CDs on Sun Solaris

Table Of Contents

Mounting and Unmounting CDs on Sun Solaris

C.1  Mounting a Local CD-ROM Drive

C.2  Mounting a Remote CD-ROM Drive

C.3  Unmounting a Local CD-ROM Drive

C.4  Unmounting a Remote CD-ROM Drive


Mounting and Unmounting CDs on Sun Solaris


This appendix describes how to mount and unmount CD-ROMs on a Solaris system. It includes general information only. For more detailed instructions, consult your Sun documentation.

C.1  Mounting a Local CD-ROM Drive

To mount a local CD-ROM drive, insert the CD-ROM into the drive and complete the following steps:


Step 1 Become the superuser by entering the su command and the root password at the command prompt, or log in as the root user. 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 /cdrom

Step 3 Mount the CD-ROM drive.


Note The vold process manages the CD-ROM device and performs the mounting. The CD-ROM might automatically mount onto the /cdrom/cdrom0 directory.


Step 4 If you are running File Manager, a separate File Manager window displays the contents of the CD-ROM. From the File Manager, double-click the setup.sh file. The Action: Run dialog box appears. Click OK to continue the installation.

Step 5 If the /cdrom/cdrom0 directory is empty because the CD-ROM was not mounted, or if the File Manager does not open a window displaying the contents of the CD-ROM, enter the following command to verify that the vold daemon is running:

ps -ef | grep vold | grep -v grep

Step 6 If vold is running, the system displays the process identification number of vold. If the system does not display anything, enter the following command to restart the daemon:

/usr/sbin/vold &

Step 7 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, enter the following command to obtain it:

ps -ef | grep vold | grep -v grep

Step 8 Enter the following command to stop the vold process:

kill -15 <process_ID_number>

Step 9 Enter the following command to restart the vold process:

/usr/sbin/vold &

Step 10 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 Small Computer System Interface (SCSI) ID number, and z is the slice of the partition on which the CD-ROM is located.


C.2  Mounting a Remote CD-ROM Drive

Insert the CD-ROM into the CD-ROM drive of the remote workstation and perform Steps 1 through 12 only on the remote workstation. Then, perform Steps 13 through 16 on the workstation where you want to install the application.


Step 1 Log in as the root user. 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 /cdrom

Step 3 Mount the CD-ROM drive.


Note The vold daemon process manages the CD-ROM device and performs the mounting. The CD-ROM might automatically mount onto the /cdrom/cdrom0 directory.


Step 4 If you are running File Manager, a separate File Manager window displays the contents of the CD-ROM. From the File Manager, double-click the setup.sh file. The Action: Run dialog box appears. Click OK to continue the installation.

Step 5 If the /cdrom/cdrom0 directory is empty because the CD-ROM was not mounted, or if the File Manager does not open a window displaying the contents of the CD-ROM, enter the following command to verify that the vold daemon is running:

ps -ef | grep vold | grep -v grep

Step 6 If vold is running, the system displays /usr/sbin/vold. If the system does not display anything, enter the following command to restart the daemon:

/usr/sbin/vold &

Step 7 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, enter the following command to obtain it:

ps -ef | grep vold | grep -v grep

Step 8 Enter the following command to stop the vold process:

kill -15 <process_ID_number>

Step 9 Enter the following command to restart the vold process:

/usr/sbin/vold &

Step 10 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.

Step 11 Use a text editor to create an /etc/dfs/dfstab file, if one does not already exist.

Step 12 Add the following line to the /etc/dfs/dfstab file:

share -F nfs -o ro /cdrom/cdrom0

Step 13 Enter the following command to verify that your remote workstation is enabled as a Network File System (NFS) server:

ps -ef | grep nfs | grep -v grep

The output of this command shows whether or not the /usr/lib/nfs/nfsd and /usr/lib/nfs/mountd daemons are running. If they are not running, enter the following command to enable your workstation as an NFS server:

/etc/init.d/nfs.server start

If your workstation is enabled as an NFS server, enter the share or shareall command.

Step 14 Go to the workstation where you want to install the application.

Step 15 Log in as the superuser by entering the su command and the root password, or log in as the root user.

Step 16 Enter the following command to create a /cdrom directory, if one does not already exist:

mkdir -p /cdrom/<directory_name>

Step 17 Enter the following command to mount the CD-ROM drive:

/usr/sbin/mount -r <remote_workstation_name>:/cdrom/cdrom0 /cdrom/<directory_name>


C.3  Unmounting a Local CD-ROM Drive


Step 1 As the root user, enter the following commands:

cd
umount /cdrom/cdrom0 
eject

Step 2 Remove the CD-ROM and store it in a safe place.


C.4  Unmounting a Remote CD-ROM Drive


Step 1 As the root user, enter the following command on the local workstation:

umount /cdrom/<directory_name>

Step 2 As the root user, enter the following command on the remote workstation:

umount /cdrom/cdrom0

Step 3 Remove the CD-ROM and store it in a safe place.