mounting cdrom on Solaris 9


 
Thread Tools Search this Thread
Operating Systems Solaris mounting cdrom on Solaris 9
# 1  
Old 02-11-2004
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
# 2  
Old 02-11-2004
..............

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
# 3  
Old 02-11-2004
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.
# 4  
Old 02-11-2004
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
# 5  
Old 02-11-2004
......

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

greetings Preßy
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

udev rules for mounting CDROM

Hi All, I need a simple udev rules in my server Centos 5.4. This rules needs to get trigger my script whenever the cdrom is attached to the server. Could you please provide your suggestion on it. Thanks, Kalai (0 Replies)
Discussion started by: kalpeer
0 Replies

2. Solaris

I/O error when mounting cdrom in Solaris 10

hi unix friends, has anyone faced this problem before ? i inserted my cd into my X1450 machine, it says I/O error. mount -F hsfs -o ro /dev/dsk/clt0d0s0 /cdrom mount: I/O error mount: cannot mount /dev/dsk/c1t0d0s0 what should i do ? (4 Replies)
Discussion started by: Exposure
4 Replies

3. Solaris

Solaris 10 on CDROM?

Hello, First i'm Dutch, and my English is not very well. Sorry. :D I have got a Sun Microsystems Ultra 3D (with SPARC processor). The file must be burned to a DVD. And my computer can onley read a cd. How to get Solaris 10 on a few cds? Please help me. Thanks a lot.. Greets. (21 Replies)
Discussion started by: TomW
21 Replies

4. Solaris

SOLARIS 8 cdrom not being read

Hello, I'm a new SA fairly familar with Solaris. I'm using the COEInstaller tool and am unable to read a cd. The cd is fine. The machine continues to see the last cdrom I've used which was an image. I've tried restarted the server, restarted COEInstaller but the machine still see's the last... (3 Replies)
Discussion started by: computerguy_2
3 Replies

5. Solaris

cdrom mounting

Hi, I want to know HOw can I know on which slice cdrom is mounted?by default on which slice generally it is mounting? (1 Reply)
Discussion started by: manoj.solaris
1 Replies

6. UNIX for Dummies Questions & Answers

Mounting cdrom on DG/UX

Hi, I'm looking to mount a cd on an old AViiON system we have. No one here really has any expertise with this platform so any help will be appreciated. I * think* the device is sd(apsc(pci(1),B,0,7),5,0), however I'm not sure at all. Thanks! (0 Replies)
Discussion started by: madesjardins
0 Replies

7. UNIX for Dummies Questions & Answers

mounting cdrom

Hey everyone, Quick question...I am trying to get packages off a cdrom for NETBSD. I tried mounting using this command mount /dev/rccd0a /etc/home/cdrom. But I just get an error. I did a dmesg |grep ^cd and it said that my cdrom was at cd0.? Am I doing something wrong.? Any help would... (2 Replies)
Discussion started by: vaff4k
2 Replies

8. UNIX for Dummies Questions & Answers

stop cdrom from auto-mounting

Somebody loaded RH 7.3 for me on my PC & now I'm running through & configuring all my settings. Question: Every time I insert a CD into the cdrom, it automatically mounts the cdrom if there's anything on the CD. How do I disable this? I don't want it to automount. Thanks in advance!! (2 Replies)
Discussion started by: jalburger
2 Replies

9. UNIX for Dummies Questions & Answers

burn cdrom with solaris

Hallo, who can help me to configure a scsi cd writer to my sun server enterprice 1000. 1. Hardware configuration 2. Burn program etc.. Please send me links or dokuments were i can get more infos about this theme. regards joerg (1 Reply)
Discussion started by: joerg
1 Replies

10. UNIX for Dummies Questions & Answers

still cant get the solaris cdrom!!

ok here is what i do and get: # mount /dev/sd6a /cdrom mount /dev/sd6a write-protected ok so what do i do its a external cdrom and its on scsi number 6. its a SparcSTATION 2. we're trying to put red hat sparc 6.2 on it but it wont boot. i am about to take the hard drives out and install it a... (8 Replies)
Discussion started by: wixifer
8 Replies
Login or Register to Ask a Question