Attach CD / Solaris

I try to attach an external scsi cdrom-drive to my sun and it won't work. I tried mount /dev/dsk/c0t6d0s0 /cdrom and the system answer is always /dev/dsk/c0t6d0s0 or /cdrom, no such file or directory. The /cdrom directory exists.

I tried to reboot the system, but after reboot the system don't see the CD-Drive.

Most of the external CD drive shoe boxes will have a thumb wheel on the back to set the SCSI ID. Set it to ID 6 and connect it to the sun systems motherboard's external scsi connector. Do a probe-scsi-all to make sure that the drive is sensed by the hardware. The output will also give you the scsi id and the controller number. At ok prompt give boot -r , and the system will reconfigure the kernel to add this new device. If the device is sensed under controller 0 then you can use the command
"mount -F hsfs -oro /dev/dsk/c0t6d0s0 /cdrom" to mount the cdrom. If it is connected to any other controller .for eg. x is the controller number, then use the device name cxt6d0s0.

First, you can check to see that the CD was recognized in the /var/adm/messages file. Look at the last bootup messages for a couple of lines like this:
<date> mach unix: sd3 at glm0: target 3 lun 0
<date> mach unix: sd3 is /pci@1f,0/pci@1/scsi@1/sd@3,0
that didn't exist before you put your scsi cdrom in using SCSI ID 3... (if not 3, change the number appropriately

If it is there, definitely try the "touch /reconfigure" and then "reboot" the system. If you have a CD in your drive while doing this, you should see it at /cdrom when it comes up.

I have been running these systems for a few years now and I am just very happy with them. I just wanted to share the manual that I have created for upgrades and other things. Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…

Java performance on Solaris - Managing CPUs
There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".
In a multithreaded…

Learn how to navigate the file tree with the shell.
Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…