|
Table Of Contents
Mounting and Unmounting on Solaris
Mounting a Remote CD-ROM Drive
Unmounting a Local CD-ROM Drive
Unmounting a Remote CD-ROM Drive
Mounting and Unmounting on Solaris
This appendix describes how to mount the CD One CD-ROM on a Solaris system. It includes general information only. For more detailed instructions, consult your Sun 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 Solaris system.
This appendix contains:
•Mounting a Local CD-ROM Drive
•Mounting a Remote CD-ROM Drive
Mounting a Local CD-ROM Drive
Insert the CD One 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 (#).
Step 2 If the /cdrom directory does not already exist, enter the following command to create it:
# mkdir /cdromStep 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.
If you are running File Manager, a separate File Manager window displays the contents of the CD-ROM.
Step 4 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 -e | grep vold | grep -v grepStep 5 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:
# /usr/sbin/vold &Step 6 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 grepStep 7 Stop the vold process by entering:
# kill -15 process_ID_numberStep 8 Restart the vold process by entering:
# /usr/sbin/vold &Step 9 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/cdrom0where 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 now mounted the CD-ROM drive. See the "Installing CD One" chapter for instructions on installation.
Mounting a Remote CD-ROM Drive
Insert the CD One CD-ROM into the CD-ROM drive of the remote machine and perform Steps 1 through 12 only on the remote machine.
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:
# mkdir /cdromStep 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.
If you are running File Manager, a separate File Manager window displays the contents of the CD-ROM.
Step 4 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 -e | grep vold | grep -v grepStep 5 If vold is running, the system displays /usr/sbin/vold. If the system does not display anything, restart the daemon by entering:
# /usr/sbin/vold &Step 6 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 grepStep 7 Stop the vold process by entering:
# kill -15 process_ID_numberStep 8 Restart the vold process by entering:
# /usr/sbin/vold &
Step 9 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/cdrom0where 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 10 Use a text editor to create an /etc/dfs/dfstab file, if one does not exist.
Step 11 Add the following line to the /etc/dfs/dfstab file:
share -F nfs -o ro /cdrom/cdrom0Step 12 Make sure your remote machine is enabled as an NFS server by entering:
# ps -ef | grep nfs | grep -v grepThe 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 machine as an NFS server by entering:
# /etc/init.d/nfs.server startIf your machine is enabled as an NFS server, enter one of the following:
# shareor
# shareallStep 13 Go to the machine on which you want to install CD One.
Step 14 Log on as superuser by entering the command su and the root password, or log in as root.
Step 15 Create a /cdrom directory, if one does not already exist, by entering:
# mkdir -p /cdrom/cw2000Step 16 To mount the CD-ROM drive, enter:
# /usr/sbin/mount -r remote_machine_name:/cdrom/cdrom0 /cdrom/cw2000You have now mounted the CD-ROM drive. See the "Installing CD One" chapter for installation instructions.
Unmounting the CD-ROM Drive
After you complete the CD One installation, you must unmount the CD-ROM drive.
Unmounting a Local CD-ROM Drive
To unmount a local CD-ROM drive:
Step 1 As root, enter:
# cd# umount /cdrom/cdrom0# ejectStep 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, enter the following on the local machine:
# umount /cdrom/cw2000Step 2 As root, enter the following on the remote machine:
# umount /cdrom/cdrom0Step 3 Remove the CD-ROM and store it in a safe place.