How to mount a CD/DVD drive in Solaris?
If you are having trouble mounting a CD or DVD in Solaris, you are not alone!
First you need to find the CD/DVD drive. You can do this by using the following command:
iostat -Ee
This will list all your drives, just look for the one which has 0GB storage, or the model number of your CD-ROM drive.
Once you have found that, you need to create the directory to mount the CD-ROM drive, and then mount the CD-DROM drive:
mkdir /cdrom
chmod a+wrx
mount -F hsfs -o ro /dev/dsk/c0t0d0p0 /cdrom
Where c0t0d0p0 is the device ID of your CD-ROM drive.
NOTE: We had an issue where iostat -Ee only listed part of the model number (c0t0d0) and we had to add p0 to the end to get it working. We found this out be browsing /dev/dsk/ and finding all devices with c0t0d0 in them.
Hosting Options & Info | VPS | Web Solutions & Services |
---|---|---|