1752720 Members
5728 Online
108789 Solutions
New Discussion юеВ

Re: Mounting CD-ROM

 
SOLVED
Go to solution
Sanjay Verma
Super Advisor

Mounting CD-ROM

Friends,
My CD-ROM was working properly and I used to give the command to mount the CD-ROM on the D-Class server:
# mount /dev/dsk/c1t2d0 /cdrom

I rebuilt the server and now when mounting the CD-ROM, I get the following err. msg.:

# mount /dev/dsk/c1t2d0 /cdrom
/dev/dsk/c1t2d0: Device busy

OR
# pfs_mount -o xlat=unix /dev/rdsk/c1t2d0 /cdrom
pfs_mount: pfs_mountd at DDTEST02:/dev/rdsk/c1t2d0 not responding: : RPC: Timed out
pfs_mount: retrying /cdrom

Nothing has been changed, the OS was reinstalled only. Any steps I'm missing from my side??
Co-operation - The biggest chain reaction
9 REPLIES 9
T G Manikandan
Honored Contributor
Solution

Re: Mounting CD-ROM

First ensure that the CDROM has a status 'CLAIMED'.Use

#ioscan -fnC disk

make sure no processes are using the CDROM
make sure no pfs daemons are running.

To further proceed

Try re-creating the device files using

#insf -e

Sanjay Verma
Super Advisor

Re: Mounting CD-ROM

Manik, the status is not "CLAIMED" but "SCAN"

disk 4 16/5.2.0 sdisk SCAN DEVICE TOSHIBA CD-ROM XM-5401TA
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
Co-operation - The biggest chain reaction
Sanjay Verma
Super Advisor

Re: Mounting CD-ROM

I recreated the device file and the status now is "CLAIMED" but still getting the same err msg.
/dev/dsk/c1t2d0: Device busy

disk 4 16/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-5401TA
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
Co-operation - The biggest chain reaction
Chris Watkins_1
Respected Contributor

Re: Mounting CD-ROM

Must be careful with the pfs_mount /umount commands.
If it was mounted pfs, and you did a regular umount, you'll
have to reboot to clear it out, in almost all cases.

If you ever should have to pfs_mount:

pfs_mountd&
pfsd&
pfs_mount /-o xlat=unix /dev/rdsk/c1t2d0 /cdrom

when finished:

pfs_umount /cdrom
fg
CTRL-C
fg
CTRL-C

I hate pfs... if you don't get the order correct, you're hosed.
It's definitely a good idea to kill off the daemons once you're
finished with them, in my opinion... which is the main
reason I do it all from one terminal that way- so I don't forget.


I understand there's a patch to make all that pfs* unnecessary,
and if we're lucky, someone will post it soon :-)
(I'd have to dig for it myself... but am planning to find out
the info and make that change to my workstation very soon)


Anyhow... if you reboot and still can't mount it, even "normally"
without the pfs... I'd say to rmsf the dev files and
start over with a fresh ioscan and insf -e, to start with.

Not without 2 backups and an Ignite image!
Chris Watkins_1
Respected Contributor

Re: Mounting CD-ROM

No points on this post... just correcting a typo.

in the pfs_mount command, there's no "/" before the "-o".
I know you knew that... just correcting myself for posterity :)

(Still don't understand why we aren't allowed to edit
our postings. Surely a 15 minute grace period wouldn't hurt)
Not without 2 backups and an Ignite image!
Sanjay Verma
Super Advisor

Re: Mounting CD-ROM

Thanks Manik & Chris,
The issue resolved after doing the following steps:
# ioscan -fnC disk
-> The status was "SCAN"
# insf -e
-> Recreated the device file
# ioscan -fnC disk
-> Status changed to "CLAIMED"
# mount /dev/dsk/c1t2d0 /cdrom
-> Err. msg "dev/dsk/c1t2d0: Device busy"
# Restarted the server
# mount /dev/dsk/c1t2d0 /cdrom
-> It worked fine and resolved the issue. Thanks for your help.

As I can make out, recreating the device files resolved the issue.
Co-operation - The biggest chain reaction
pato_1
New Member

Re: Mounting CD-ROM

back2:/#mount /dev/dsk/c0t0d0 /cdrom
mount: cannot access -specific mount command
back2:/#

 

this is message that i get in attempt to mount cd. any assistance, please?

Robert_Jewell
Honored Contributor

Re: Mounting CD-ROM


@pato_1 wrote:

back2:/#mount /dev/dsk/c0t0d0 /cdrom
mount: cannot access -specific mount command
back2:/#

 

this is message that i get in attempt to mount cd. any assistance, please?


It would be best to start a new thread.   Its a bit confusing when reading from one problem to another and then realizing the starting post was 7 years ago!  Plus, this thread has a Solved rating, so you may not get as many views as you would by creating your own post.

----------------
Was this helpful? Like this post by giving me a thumbs up below!
V. Nyga
Honored Contributor

Re: Mounting CD-ROM

@pato_1

please open your own thread and add the ioscan command output mentioned above.

V.
*** Say 'Thanks' with Kudos ***