1748288 Members
3381 Online
108761 Solutions
New Discussion юеВ

umount cdrom problems

 
SOLVED
Go to solution
Lars Karlsson
New Member

umount cdrom problems

Hi all, I'm new in this forum and aswell a newbie in HP UX . The other day I installed a "patch package" on our hp box and after that I have had some small issus.
One of them is that I can't mount or unmount the cdrom on it. I have tried umount /cdrom that does not work , I have also tried to do pfs_umount /cdrom - gives an error saying block device required.
Another thing is that if I run bdf i can't see that there is any cdrom mounted at all , but if I do cd /cdrom i dont get any error I can then do pwd and it shows /cdrom if then do a ls it does find anything (there is a cd in the cdrom).
My hp ux is not that big so I would appreciate all help I can get.

Many thanks
Lars. K.
Lars
12 REPLIES 12
Lars Karlsson
New Member

Re: umount cdrom problems

sorry the last rows in my query should be

if then do a ls it doesn't find anything (though there is a cd in the cdrom).
My hp ux SKILLS are not that big so I would appreciate all help I can get.

Lars
Ruediger Noack
Valued Contributor

Re: umount cdrom problems

Hi,

what means: umount /cdrom does not work? Any error message?

Ruediger


Lars Karlsson
New Member

Re: umount cdrom problems

This is what get when run umount



# umount /cdrom
umount: cannot find /cdrom in /etc/mnttab
cannot unmount /cdrom
Lars
Darrell Allen
Honored Contributor
Solution

Re: umount cdrom problems

Hi Lars,

The cd may not be mounted on /cdrom. Use "ioscan -fnkC disk" to identify the device name for your cdrom drive. Then use bdf (or mount) to see where that device is mounted. Then use "fuser -c /xxxx" where /xxxx is the mount point of the cdrom. If any processes are listed then the cdrom is in use and can't be umounted. If no processes are listed, then umount /xxxx.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Ruediger Noack
Valued Contributor

Re: umount cdrom problems

I remember, may be your CD isn't mount yet, but you aren't able to open the tray.
If it is so, you have to mount following umount your CD.
mount /dev/dsk/cxtydz
umount /dev/dsk/cxtydz
/dev/dsk/cxtydz is your appropriate device file.

Hope this helps

Ruediger
Lars Karlsson
New Member

Re: umount cdrom problems

Hello Allen,
Downbelow is the output I get when running the "scan" and from mount, bdf
# ioscan -fnkC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 8/0.5.0 sdisk CLAIMED DEVICE SEAGATE ST34573WC
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
disk 1 8/16/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-5701TA
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
# mount
/ on /dev/vg00/lvol3 log on Tue Jan 15 12:16:35 2002
/stand on /dev/vg00/lvol1 defaults on Tue Jan 15 12:16:38 2002
/var on /dev/vg00/lvol8 delaylog,nodatainlog on Tue Jan 15 12:16:46 2002
/usr on /dev/vg00/lvol7 delaylog,nodatainlog on Tue Jan 15 12:16:47 2002
/tmp on /dev/vg00/lvol4 delaylog,nodatainlog on Tue Jan 15 12:16:47 2002
/opt on /dev/vg00/lvol6 delaylog,nodatainlog on Tue Jan 15 12:16:47 2002
/home on /dev/vg00/lvol5 delaylog,nodatainlog on Tue Jan 15 12:16:47 2002

bdf gives

Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 86016 22897 60252 28% /
/dev/vg00/lvol1 67733 30469 30490 50% /stand
/dev/vg00/lvol8 512000 381267 126516 75% /var
/dev/vg00/lvol7 671744 440455 218314 67% /usr
/dev/vg00/lvol4 32768 1187 29675 4% /tmp
/dev/vg00/lvol6 413696 161039 238119 40% /opt
/dev/vg00/lvol5 1880064 164096 1628197 9% /home

I'm not sure what to do , maybe something got totaly screwed up when I installed the "patch" package and I??have to reinstall the whole kit ...

Lars
Lars
Ruediger Noack
Valued Contributor

Re: umount cdrom problems

This means your CD isn't mounted yet.
Where is your problem?

Ruediger


Lars Karlsson
New Member

Re: umount cdrom problems

Well if I try to mount the cdrom it doesn't work

if i run
mount -o cdcase /dev/dsk/c1t2d0 /cdrom

it just sits there waiting for something ...nothing happens...

I've tried psf_mount aswell nothing happens ..

I think someting is really became screwed up after I applied the patch patch package. It worked before I installed it.
Lars
Darrell Allen
Honored Contributor

Re: umount cdrom problems

Hi again,

Try:
mount -F cdfs -o cdcase /dev/dsk/c1t2d0 /cdrom

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)