Table Of Contents
Mounting and Unmounting the CD-ROM Drive on Solaris
Mounting an Network File System-Exported CD-ROM Drive
Steps to Perform on the Remote System
Steps to Perform on the Local System
Unmounting a Local CD-ROM Drive
Unmounting a Remote CD-ROM Drive
Mounting and Unmounting the CD-ROM Drive on Solaris
You can install the SGM server or client software from a CD-ROM drive connected to your local system or from a CD-ROM drive connected to a remote system. In either case, you must first mount the CD-ROM drive. Mounting a device makes it available to the local file system.
This appendix presents the CD-ROM drive mounting and unmounting instructions in the following sections:
•
Mounting an Network File System-Exported CD-ROM Drive
Mounting a Local CD-ROM
To mount a local CD-ROM:
Step 1
Insert the SGM CD-ROM into the CD-ROM drive.
Step 2
Log in as the root user, as described in the "Becoming the Root User" section. The command prompt changes to the pound sign (#).
Step 3
If the /cdrom directory does not already exist, create it using the mkdir command:
# mkdir /cdromStep 4
Mount the CD-ROM drive.
![]()
Note
The vold process manages the CD-ROM device and performs the mounting. The CD-ROM should mount automatically onto the /cdrom/cdrom0 directory.
If you are running File Manager, a separate File Manager window displays the contents of the CD-ROM.
Step 5
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 the following command:
# ps -e | grep vold | grep -v grepStep 6
Do one of the following:
•
If the vold daemon is running, the system displays the process identification number of vold. If the system does not display anything, restart the daemon by entering the following command:
#/usr/sbin/vold &•
If the vold daemon is running but did not mount the CD-ROM, then stop the vold daemon process using the kill command and restart the daemon:
#kill -15 process_ID_number# /usr/sbin/vold &![]()
Note
To stop the vold process, you must know the process identification number. If you do not know the process identification number, enter the ps command shown in Step 5.
Step 7
If you have problems with the vold daemon, use the following mount command to mount the CD-ROM directly:
# mount -F hsfs -r ro /dev/dsk/device_filename /cdrom/cdrom0Where:
-F indicates the type of file system (hsfs for the ISO 9660 standard).
-r ro mounts the CD-ROM in read-only mode.
device_filename is the name of the device, such as /dev/dsk/cxtyd0sz where x is the CD-ROM drive controller number, y is the CD-ROM drive SCSI ID number, and z is the slice partition on which the CD-ROM is located.
Mounting an Network File System-Exported CD-ROM Drive
SGM installation from a device on a remote system does not require any disk space on the remote system. The software is copied across the network to the local system.
![]()
CautionThe instructions for mounting a Network File System-exported (NFS-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 a Solaris system and mounting it on another Solaris system for installation, but not for cross-platform operation. For help with cross-platform operations, see your system administrator.
The NFS-exported CD-ROM drive mounting instructions are presented in the following sections:
•
Steps to Perform on the Remote System
•
Steps to Perform on the Local System
Steps to Perform on the Remote System
On the remote system perform the following steps:
Step 1
Log in as the root user as described in the "Becoming the Root User" section. The command prompt changes to the pound sign (#).
Step 2
If the /cdrom directory does not already exist, create it using the mkdir command:
# mkdir /cdromStep 3
Mount the CD-ROM drive.
![]()
Note
The vold process manages the CD-ROM device and performs the mounting. The CD-ROM should mount 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 the following command:
# ps -e | grep vold | grep -v grepStep 5
Do one of the following:
•
If the vold daemon is running, the system displays the process identification number of vold. If the system does not display anything, then restart the daemon by entering the following command:
#/usr/sbin/vold &•
If the vold daemon is running but did not mount the CD-ROM, then stop the vold daemon process using the kill command and restart the daemon:
#kill -15 process_ID_number# /usr/sbin/vold &![]()
Note
To stop the vold process, you must know the process identification number. If you do not know the process identification number, enter the ps command shown in Step 5.
Step 6
If you have problems with the vold daemon, use the following mount command to mount the CD-ROM:
# mount -F hsfs -r ro /dev/dsk/device_filename /cdrom/cdrom0Where:
-F indicates the type of file system (hsfs for the ISO 9660 standard).
-r ro mounts the CD-ROM in read-only mode.
device_filename is the name of the device, such as /dev/dsk/cxtyd0sz where x is the CD-ROM drive controller number, y is the CD-ROM drive SCSI ID number, and z is the slice partition on which the CD-ROM is located.
Step 7
Edit or create the /etc/dfs/dfstab file to include the following line, which sets the NFS attributes to read-only:
share -F nfs -o ro -d /cdrom/cdrom0Where:
-F specifies the file system share type.
-o specifies the start of file system export options.
ro specifies read-only file system export option.
-d specifies that you want to share a directory.
/cdrom/cdrom0 is the name of the directory to be shared.
Step 8
Make sure your remote machine is enabled as an NFS server by entering the following command:
# ps -ef | grep nfs | grep -v grepVerify that the /usr/lib/nfs/nfsd and /usr/lib/nfs/mountd daemons are running.
Step 9
If the daemons you verified in Step 8 are not running, enable your machine as an NFS server by entering the following command:
#/etc/init.d/nfs.server startStep 10
When your machine is enabled as an NFS server, enter either of the following commands:
# share# shareall
Steps to Perform on the Local System
On the local system perform the following steps:
Step 1
Go to the machine on which you want to install SGM.
Step 2
Log in as the root user as described in the "Becoming the Root User" section.
Step 3
If the /cdrom directory does not already exist, create it using the mkdir command:
# mkdir -p /cdrom/SGMStep 4
To mount a file system that is exported from a remote system, use the mount command, as shown below:
# /usr/sbin/mount -r remote_hostname:/cdrom/cdrom0 /cdrom/SGMThe remote CD-ROM is mounted and ready for software installation on the local system.
![]()
Note
When you are installing SGM using an NFS-exported CD-ROM drive, image checking might take several hours to complete. To avoid this problem, when you install SGM, enter ./setup.sh -i, which disables image checking.
Unmounting the CD-ROM Drive
After you install SGM, you must unmount the CD-ROM drive as explained in the following sections:
•
Unmounting a Local CD-ROM Drive
•
Unmounting a Remote CD-ROM Drive
Unmounting a Local CD-ROM Drive
To unmount a local CD-ROM drive:
Step 1
Log in as the root user as described in the "Becoming the Root User" section. The command prompt changes to the pound sign (#).
Step 2
Enter the following commands:
# cd# umount /cdrom/cdrom0Step 3
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
Log in as the root user on the local machine and enter the following command:
# umount /cdrom/SGMStep 2
Log in as the root user on the remote machine and enter the following command:
# umount /cdrom/cdrom0Step 3
Remove the CD-ROM and store it in a safe place.