[SunHELP] How to mount a DVD on Solaris 9?

Alexander Skwar listen at alexander.skwar.name
Fri Sep 1 04:31:49 CDT 2006


Hello!

I'm trying to mount a DVD (Solaris 10 Sparc 3/05 - original, 
manufactured by Sun, ie. not self burned) on a SunFire V240.
This machine has a IDE DVD reader.

How do I mount a DVD on Solaris 9?

According to my textbook, I should be able to do so by running:

# mkdir /cdrom/unnamed_cdrom
# mount -F hsfs -o ro /dev/dsk/c0t6d0s0 /cdrom/unnamed_cdrom

But when I do this, I only get an error message:

bash-2.05# mount -F hsfs -o ro /dev/dsk/c0t6d0s0 /cdrom/unnamed_cdrom
mount: No such device
mount: cannot mount /dev/dsk/c0t6d0s0

That's correct:

bash-2.05# ls -la /dev/dsk/c0t6*
/dev/dsk/c0t6*: No such file or directory

Also my textbook says, that I shouldn't even have to do this, if
Volume Management is running - and it is:

bash-2.05# ps -ef | grep -v grep | grep vold
B  B  root B 1781 B  B  1 B 0 10:54:08 ? B  B  B  B 0:00 /usr/sbin/vold

If vold is running, where does it mount media? My textbook says, at
/cdrom/cdrom0 - but there's nothing :/

bash-2.05# ls -la /cdrom/cdrom0
lrwxrwxrwx B  1 root B  B  nobody B  B  B  B 23 Sep 26 B 2003 /cdrom/cdrom0 -> ./solaris8_hw703_suppcd
bash-2.05# ls -la /cdrom/cdrom0/.
total 4
drwxr-xr-x B  2 root B  B  nobody B  B  B  512 Sep B 4 B 2003 .
drwxr-xr-x B  4 root B  B  nobody B  B  B  512 Sep B 1 10:46 ..

I also tried restarting volume management, by running
/etc/init.d/volmgt stop, followed by /etc/init.d/volmgt start. This
didn't change anything at all :(

When I ran "boot cdrom", I saw that the CD is a IDE device; it had the
"path" /pci at 1e,600000/ide at d/cdrom. Having a look at /devices/pci at 1e,600000/ide at d,
I see:

bash-2.05# ls -la /devices/pci\@1e,600000/ide\@d
total 4
drwxr-xr-x B  2 root B  B  sys B  B  B  B  B 512 Sep B 3 B 2003 .
drwxr-xr-x B  4 root B  B  sys B  B  B  B  B 512 Sep B 3 B 2003 ..
brw-r----- B  1 root B  B  sys B  B  B  32,240 Sep B 3 B 2003 sd at 0,0:a
crw-r----- B  1 root B  B  sys B  B  B  32,240 Sep B 3 B 2003 sd at 0,0:a,raw
brw-r----- B  1 root B  B  sys B  B  B  32,241 Sep B 3 B 2003 sd at 0,0:b
crw-r----- B  1 root B  B  sys B  B  B  32,241 Sep B 3 B 2003 sd at 0,0:b,raw
brw-r----- B  1 root B  B  sys B  B  B  32,242 Sep B 3 B 2003 sd at 0,0:c
crw-r----- B  1 root B  B  sys B  B  B  32,242 Sep B 3 B 2003 sd at 0,0:c,raw
brw-r----- B  1 root B  B  sys B  B  B  32,243 Sep B 3 B 2003 sd at 0,0:d
crw-r----- B  1 root B  B  sys B  B  B  32,243 Sep B 3 B 2003 sd at 0,0:d,raw
brw-r----- B  1 root B  B  sys B  B  B  32,244 Sep B 3 B 2003 sd at 0,0:e
crw-r----- B  1 root B  B  sys B  B  B  32,244 Sep B 3 B 2003 sd at 0,0:e,raw
brw-r----- B  1 root B  B  sys B  B  B  32,245 Sep B 3 B 2003 sd at 0,0:f
crw-r----- B  1 root B  B  sys B  B  B  32,245 Sep B 3 B 2003 sd at 0,0:f,raw
brw-r----- B  1 root B  B  sys B  B  B  32,246 Sep B 3 B 2003 sd at 0,0:g
crw-r----- B  1 root B  B  sys B  B  B  32,246 Sep B 3 B 2003 sd at 0,0:g,raw
brw-r----- B  1 root B  B  sys B  B  B  32,247 Sep B 3 B 2003 sd at 0,0:h
crw-r----- B  1 root B  B  sys B  B  B  32,247 Sep B 3 B 2003 sd at 0,0:h,raw

Which device should I use?

Thanks a lot,

Alexander Skwar
-- 
BOFH Excuse #34:

(l)user error



More information about the SunHELP mailing list