solaris 8 cdrom device name

  • Follow


hi, another newbie question here:

how do i determine the cdrom device name on my solaris sunblade 100 machine,
running solaris 8?

i've tried everything i know but i can't mount it...

i'm using the following command > mount -F hsfs /dev/rdsk/c0t1d0s2
/cdrom/cdrom0

thx


0
Reply stroller 4/14/2005 6:41:21 PM

In article <lPy7e.2385$t85.1942@newssvr21.news.prodigy.com>,
	"stroller" <smcbutler@hotmail.com> writes:
> hi, another newbie question here:
> 
> how do i determine the cdrom device name on my solaris sunblade 100 machine,
> running solaris 8?

If you have /dev/sr0, it will be a symlink pointing to it.

> i've tried everything i know but i can't mount it...
> 
> i'm using the following command > mount -F hsfs /dev/rdsk/c0t1d0s2
> /cdrom/cdrom0

Of course, it _really_ helps to say what the error was, but there are
a number of problems here...
You will have to explicitly specify the mount is read-only, with -r or -o ro.
The volume manager probably has the cdrom device open anyway, so it can
automatically mount any cd which is inserted, which means you don't have to.
If you have a /cdrom/cdrom0, that implies the volume manager already mounted
the CD.

-- 
Andrew Gabriel
0
Reply andrew 4/14/2005 8:32:43 PM


On Thu, 14 Apr 2005 20:32:43 +0000, Andrew Gabriel wrote:

> In article <lPy7e.2385$t85.1942@newssvr21.news.prodigy.com>,
> 	"stroller" <smcbutler@hotmail.com> writes:

>> i'm using the following command > mount -F hsfs /dev/rdsk/c0t1d0s2
>> /cdrom/cdrom0
> 
> Of course, it _really_ helps to say what the error was, but there are
> a number of problems here...
> You will have to explicitly specify the mount is read-only, with -r or -o ro.
> The volume manager probably has the cdrom device open anyway, so it can
> automatically mount any cd which is inserted, which means you don't have to.
> If you have a /cdrom/cdrom0, that implies the volume manager already mounted
> the CD.

It is also usually helpful to attempt to mount a filesystem rather than a
raw disk device.

0
Reply Dave 4/14/2005 8:58:25 PM


> > hi, another newbie question here:
> >
> > how do i determine the cdrom device name on my solaris sunblade 100
machine,
> > running solaris 8?
>
> If you have /dev/sr0, it will be a symlink pointing to it.
>

i have /dev/sr0

> > i've tried everything i know but i can't mount it...
> >
> > i'm using the following command > mount -F hsfs /dev/rdsk/c0t1d0s2
> > /cdrom/cdrom0
>
> Of course, it _really_ helps to say what the error was, but there are
> a number of problems here...

i when i try /dev/sr0 as my device i get "/dev/sr0 is already mounted,
/cdrom is busy or allowable number of root points exceeded"

> You will have to explicitly specify the mount is read-only, with -r or -o
ro.

i tried -r, had no effect

> The volume manager probably has the cdrom device open anyway, so it can
> automatically mount any cd which is inserted, which means you don't have
to.

i have a cd in there but when i cd there, i see nothing...

> If you have a /cdrom/cdrom0, that implies the volume manager already
mounted
> the CD.
>

actually that was my mistake, i made a dir inside /cdrom so the mount point
became /cdrom/cdrom0 but i think that  the wrong thing to do so i deleted
cdrom0 inside /cdrom


thx for the response, any other ideas?


0
Reply stroller 4/14/2005 9:03:23 PM

In article <vUA7e.2413$t85.565@newssvr21.news.prodigy.com>,
	"stroller" <smcbutler@hotmail.com> writes:
>> Of course, it _really_ helps to say what the error was, but there are
>> a number of problems here...
> 
> i when i try /dev/sr0 as my device i get "/dev/sr0 is already mounted,
> /cdrom is busy or allowable number of root points exceeded"

Well, ignore the "allowable number of _mount_ points exceeded" option
(Solaris has no limit, but this is a standard System V error message).
Most likely you can't mount it as the volume manager is using the
device and will have already mounted it if possible. What does the
`mount' command by itself list as mounted filesystems?

-- 
Andrew Gabriel
0
Reply andrew 4/14/2005 10:41:47 PM

hi andrew,

> Most likely you can't mount it as the volume manager is using the
> device and will have already mounted it if possible. What does the
> `mount' command by itself list as mounted filesystems?
>

the mount command returns the following

simon@pacifica users/simon 2> mount
/ on /dev/dsk/c0t0d0s0
read/write/setuid/intr/largefiles/onerror=panic/dev=2200000 on Thu Apr 14
13:40:53 2005
/proc on /proc read/write/setuid/dev=4bc0000 on Thu Apr 14 13:40:52 2005
/dev/fd on fd read/write/setuid/dev=4c80000 on Thu Apr 14 13:40:54 2005
/etc/mnttab on mnttab read/write/setuid/dev=4d80000 on Thu Apr 14 13:40:56
2005
/var/run on swap read/write/setuid/dev=1 on Thu Apr 14 13:40:56 2005
/tmp on swap read/write/setuid/dev=2 on Thu Apr 14 13:40:59 2005
/home on /dev/dsk/c0t0d0s3
read/write/setuid/intr/largefiles/onerror=panic/dev=2200003 on Thu Apr 14
13:40:59 2005

thx for helping me out.


0
Reply stroller 4/14/2005 10:58:57 PM

5 Replies
379 Views

(page loaded in 0.114 seconds)

Similiar Articles:













7/24/2012 10:24:34 AM


Reply: