The Volume Manager (vold) daemon in Sun Solaris will automatically detect and mount a CDROM when inserted on Sun Solaris under /cdrom (if CD is not labelled )or /cdrom/<label> where <label> is the label of the CD
In instances where vold is not running or when there is a need to manually mount the CDROM the following the procedure should help.
Logon to the Sun Server and switch user to root
sunsolaris$ su –
Password:
Indentify Device Name for CDROM
The device name for the CDROM is normally /dev/dsk/c0t6d0s2. However, you can find this as follows:
sunsolaris# ls -al /dev/sr* |awk ‘{print “/” $11}’
This returns the device name for the CDROM. In my case, /dev/dsk/c0t6d0s2
Mount CDROM
Assuming the mount point “/cdrom” already exists, mount the CDROM as follows:
sunsolaris# mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom
where /dev/dsk/c0t6d0s2 is the device name for the CDROM
/cdrom is the mount point
Now, cd to CDROM to see the files from the CDROM mounted.
Mounting NFS shared remote CDROM
In order to mount a CDROM froma remote server sharing the CDROM, it has to be exported with root access. Mount the CDROM from the remote server as follows:
sunsolaris# mount remoteserver:/cdrom/cdrom0 /cdrom
where /cdrom/cdrom0 is the sharename on the remote server.
hi. im trying to mount a cdrom from a remote server and i get this error:
root@sapprod # mount server-ip:/cdrom/corom0 /cdrom
NFS compound failed for server server-ip: error 7 (RPC: Authentication error)
NFS compound failed for server server-ip: error 7 (RPC: Authentication error)
NFS compound failed for server server-ip: error 7 (RPC: Authentication error)
NFS compound failed for server server-ip: error 7 (RPC: Authentication error)
NFS compound failed for server server-ip: error 7 (RPC: Authentication error)
NFS compound failed for server server-ip: error 7 (RPC: Authentication error)
nfs mount: mount: /cdrom/cdrom0: Permission denied