1827459 Members
3693 Online
109965 Solutions
New Discussion

MOUNTING A CDROM

 
khilari
Regular Advisor

MOUNTING A CDROM

hi people, well i was mounting a cdrom. i did
cd /SD_cdrom
mount /dev/dsk/c1t2d0 /SD_CDROM

IT SAYS DEVICE BUSY, AM I DOING IT THE RIGHT WAY.

THANKS
8 REPLIES 8
Torsten.
Acclaimed Contributor

Re: MOUNTING A CDROM

The right way:

0. cd /

1. mount /dev/dsk/c1t2d0 /SD_CDROM

2. cd /SD_CDROM


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
FLQ
Valued Contributor

Re: MOUNTING A CDROM

Hi khilari,

If you position yourself in the target directory, you won't be able to mount a filesystem.

Francis
Chauhan Amit
Respected Contributor

Re: MOUNTING A CDROM

You are Getting Device Busy message because you are giving the command from the directory "/SD_cdrom" , you need to come out of this directory to give the above command.

cd /
mount /dev/dsk/c1t2d0 /SD_CDROM

-Amit
If you are not a part of solution , then you are a part of problem
Frank de Vries
Respected Contributor

Re: MOUNTING A CDROM

Hi

Beware that the directory on which you are
trying to mount is not hijacked by processes

To find them you do
fuser -cu /SD_CDROM

(You could indeed find a shell process as
was previous mentioned)

Then

-Kill all process on the dir
-Login fresh
-mount /dev/dsk/c1t2d0 /SD_CDROM

good luck
Look before you leap
rariasn
Honored Contributor

Re: MOUNTING A CDROM

Hi khilari,

$pwd --> /SD_cdrom

$ cd /
$ mount -r dev/dsk/c1t2d0 /SD_CDROM

rgs,

ran

Baiju Kumar.B_1
Advisor

Re: MOUNTING A CDROM

Dear killari ,
you please check your present working directory using pwd if it is /SD_CDROM give cd / and check any files or directories are present in the /SD_CDROM .if it is there please check it any of this is used by any program or by any processes normally it will not be there

and after that you can mount the CDROM by using the following command
#mount /dev/dsk/c1t2d0 /SD_CDROM
and check it wether it is getting mounted or not

regards
Baiju Kumar.B
nothing is impossible
f. halili
Trusted Contributor

Re: MOUNTING A CDROM

To mount you should not be in the directory you want mounted.

# cd /
# mount /dev/dsk/c1t2d0 /SD_CDROM

Cheers,
f. halili
derekh
Steven E. Protter
Exalted Contributor

Re: MOUNTING A CDROM

Shalom,

its busy because your connection is in there and the mount command can't mount the filesystem in that folder under these circumstances.

Always cd to the directory you are mounting the filesystem in after you mount it.
"-)

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com