Manually Mount CDROM in Solaris

On a legacy Solaris system without automatic removable-media mounting, mount a CD-ROM manually after identifying the correct device.

Identify the drive

iostat -En
mount

Match the CD-ROM model to its device path and check whether it is already mounted. Do not assume a sample controller or slice number matches your host.

Mount read-only media

Create an unused mount point if needed, then run the mount command with the actual block device:

mkdir -p /cdrom
mount -F hsfs -o ro /dev/dsk/cXtYdZsN /cdrom
ls /cdrom

Replace cXtYdZsN with the drive’s real device name. If volume management already owns the media, use the supported service procedure rather than killing its process.

Unmount after use

cd /
umount /cdrom

A busy-mount error can indicate an existing mount or a process using the mount point. Check these conditions before retrying.

Reference: Oracle: Read-Only HSFS Mount Example.

You May Also Like

Leave a Reply?