Short tip: Mount optical media under Solaris

I’m not administrating Solaris systems very often – it is even more rare that I need to mount optical media on Solaris. This is just a short reminder so that I don’t need to use a search engine everytime.

First of all the CD / DVD drive is determined by the iostat command. Afterwards the drive is mounted using the first device slice.

# iostat -En
c8t0d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: VMware   Product: Virtual disk     Revision: 1.0  Serial No:
Size: 21,47GB <21474836480 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 4 Predictive Failure Analysis: 0
c7t0d0           Soft Errors: 0 Hard Errors: 5 Transport Errors: 0
Vendor: NECVMWar Product: VMware IDE CDR10 Revision: 1.00 Serial No:
Size: 0,35GB <349175808 bytes>
Media Error: 0 Device Not Ready: 5 No Device: 0 Recoverable: 0
Illegal Request: 1 Predictive Failure Analysis: 0
# mount /dev/c7t0d0s0 /mnt

Depending on the media type is might be necessary to select the file system (e.g. -o hfs).

Sharing is caring

Leave a Reply