mounting cdrom on Solaris 9

Here's some cmd output:

bash-2.05# ls /dev/dsk/*
/dev/dsk/c0t0d0s0 /dev/dsk/c0t0d0s4 /dev/dsk/c0t1d0s0 /dev/dsk/c0t1d0s4
/dev/dsk/c0t0d0s1 /dev/dsk/c0t0d0s5 /dev/dsk/c0t1d0s1 /dev/dsk/c0t1d0s5
/dev/dsk/c0t0d0s2 /dev/dsk/c0t0d0s6 /dev/dsk/c0t1d0s2 /dev/dsk/c0t1d0s6
/dev/dsk/c0t0d0s3 /dev/dsk/c0t0d0s7 /dev/dsk/c0t1d0s3 /dev/dsk/c0t1d0s7

bash-2.05# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 20165785 4433381 15530747 23% /
/dev/dsk/c0t0d0s6 5041230 3708031 1282787 75% /usr
/proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
fd 0 0 0 0% /dev/fd
/dev/dsk/c0t0d0s1 962367 135017 769608 15% /var
swap 539600 40 539560 1% /var/run
swap 540184 624 539560 1% /tmp

bash-2.05# mount -oro /dev/dsk/c0t1d0s6 /cdrom
mount: I/O error
mount: cannot mount /dev/dsk/c0t1d0s6

bash-2.05# mount -oro /dev/dsk/c0t1d0s3 /cdrom
mount: I/O error
mount: cannot mount /dev/dsk/c0t1d0s3

bash-2.05# mount -oro /dev/dsk/c0t0d0s6 /cdrom
mount: /dev/dsk/c0t0d0s6 is already mounted, /cdrom is busy,
or the allowable number of mount points has been exceeded

As you can see from my output, I can't mount anywhere. If I try to mount using any of the partitions on d0 then I get the /cdrom is busy or the allowable number of mount points has been exceeded. If I try to mount on t1 then I just get I/0 error. I'm just trying to load a trial of StarOffice. What's going on here and why is this so difficult? Any advice would be great.--thanks--AJ

be sure your volumemanager is not running
root@solaris # /etc/init.d/volmgt stop

to mount the cdrom you have to specify the filesystem and the cdpartition is "always" slice 0 .

root@solaris # mount -F hsfs -o ro /dev/dsk/c0t1d0s0 /cdrom

greetings Pressy

Try Pressy's suggestion first - volume manager and automount should find it.

Also, normally the cdrom is target 6 so you should be looking for c0t6, c1t6, ... check what the target number is by looking at what is set on the cdrom (if appropriate)

If this is not X86 Solaris, then check that the system actually sees the cdrom from the ok prompt with probe-scsi-all.

You guys rock. It works now, but I'm not sure why. See, I have an Oracle install disc too and when I tried to mount it, using the:

bash-2.05# mount -oro /dev/dsk/c0t0d0s5 /cdrom2

It mounted the Oracle cd and I could view the contents.

However, if I tried to mount the Star Office cd this way it would not work. I have no idea why, but I'm a UNIX novice.

Here's what I did:

First I stopped the volume manager as instructed, but if this were the problem would I have been able to mount the Oracle cd? To mount the StarOffice cd I used the following and it worked fine:

bash-2.05# mount mount -F hsfs -o ro /dev/dsk/c0t1d0s0 /cdrom

Why did this work and my other attempts did not and what is the hsfs syntax in this command line? Also, is there a way to permenantly mount the cdrom so that whenever I put a cd in, it will automatically mount the contents to a directory? Thanks for the help guys.--AJ

-F = filesystem
hsfs = high sierra file system
standart for cdrom filesystems

greetings Pre�y