Table Of Contents
Mounting and Unmounting DVDs
D.1 Mounting a Local DVD-ROM Drive in Solaris
D.2 Mounting a Local DVD-ROM Drive in Linux
D.3 Mounting a Remote DVD-ROM Drive
D.4 Unmounting a Local DVD-ROM Drive in Solaris
D.5 Unmounting a Local DVD-ROM in Linux
D.6 Unmounting a Remote DVD-ROM Drive
Mounting and Unmounting DVDs
This appendix describes how to mount and unmount DVD-ROMs on a Solaris or Linux system. It includes general information only. For detailed instructions, consult your Sun Solaris or Red Hat Linux documentation.
D.1 Mounting a Local DVD-ROM Drive in Solaris
To mount a local DVD-ROM drive in Solaris, insert the DVD-ROM into the drive and do the following:
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:
Step 3
Mount the DVD-ROM drive.
Note
The vold process manages the DVD-ROM device and performs the mounting. The DVD-ROM might automatically mount onto the /cdrom/cdrom0 DVD mount point.
Step 4
If you are running File Manager, a separate File Manager window displays the contents of the DVD-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 (Solaris) or /cdrom/server/ (Linux) directory is empty because the DVD-ROM was not mounted, or if the File Manager does not open a window displaying the contents of the DVD-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:
Step 7
If the vold daemon is running but did not mount the DVD-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:
Step 10
If you have problems using the vold daemon, enter the following command to mount the DVD-ROM:
mount -F hsfs -r ro /dev/dsk/cxtyd0sz /cdrom/cdrom0
where x is the DVD-ROM drive controller number, y is the DVD-ROM drive Small Computer System Interface (SCSI) ID number, and z is the slice of the partition on which the DVD-ROM is located.
D.2 Mounting a Local DVD-ROM Drive in Linux
To mount a local DVD-ROM drive in Linux, insert the DVD-ROM into the drive and do the following:
Step 1
Log in as the root user.
Step 2
If the /cdrom directory does not already exist, enter the following command to create it:
Step 3
Enter the following command to mount the DVD-ROM drive:
mount -t iso9660 -o ro /dev/cdrom /cdrom
D.3 Mounting a Remote DVD-ROM Drive
Insert the DVD-ROM into the DVD-ROM drive of the remote workstation and perform Step 1 to Step 12 only on the remote workstation. Then, perform Step 13 to Step 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:
Step 3
Mount the DVD-ROM drive.
Note
The vold daemon process manages the DVD-ROM device and performs the mounting. The DVD-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 DVD-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 DVD-ROM was not mounted, or if the File Manager does not open a window displaying the contents of the DVD-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:
Step 7
If the vold daemon is running but did not mount the DVD-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:
Step 10
If you have problems using the vold daemon, enter the following command to mount the DVD-ROM:
mount -F hsfs -r ro /dev/dsk/cxtyd0sz /cdrom/cdrom0
where x is the DVD-ROM drive controller number, y is the DVD-ROM drive SCSI ID number, and z is the slice of the partition on which the DVD-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 DVD-ROM drive:
/usr/sbin/mount -r remote-workstation-name:/cdrom/cdrom0 /cdrom/directory-name
D.4 Unmounting a Local DVD-ROM Drive in Solaris
Step 1
As the root user, enter the following commands:
Step 2
Remove the DVD-ROM and store it in a safe place.
D.5 Unmounting a Local DVD-ROM in Linux
Step 1
As the root user, enter the following commands:
Step 2
Remove the DVD-ROM and store it in a safe place.
D.6 Unmounting a Remote DVD-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:
Step 3
Remove the DVD-ROM and store it in a safe place.