Operating System - HP-UX
1836458 Members
2520 Online
110101 Solutions
New Discussion

Re: Unmounting the CD Rom

 
Simon R Wootton
Regular Advisor

Unmounting the CD Rom

I have a HP9000 N class system running HPUX 11.00. Currently, the system thinks the disk is mounted, however, the tray opens and we can swap the disk but obviously unable to re-mount it. I thought there was a way to force an unmounting (umount -F ..??) but apparently not - all suggestions welcome. There are no users using the CD.
8 REPLIES 8
Hai Nguyen_1
Honored Contributor

Re: Unmounting the CD Rom

Can you run

fuser -cu

to see if any process is occupying it?

Or look into /etc/mnttab to see if there is an entry for the CDROM in there. If found, delete the line, save the file and you should be all set.

Hai
pap
Respected Contributor

Re: Unmounting the CD Rom

Hi,
If the system thinks that the CDROM device is mounted, then edit the file /etc/mnttab and delete the file system entry for CDROM device.

Once this is done, then try to mount the CD again.

This should work.

-pap
"Winners don't do different things , they do things differently"
John Strang
Regular Advisor

Re: Unmounting the CD Rom

Hi Simon,

Does the "mount" command show the CD as being mounted?

If so, what happens when you try to umount it?

Check file /etc/fstab to ensure the CD is not specified as being mounted by default - also check /etc/mnttab which shows which filesystems are currently mounted.

HTH,

John

If you never make a mistake you'll never make anything.
sudhir_3
Advisor

Re: Unmounting the CD Rom

Hi
check the mount point by
fuser command
fuser -u mount point
if it shows process running with this mount point than use
fuser -uk mount point. probably mount point will be released and you will be able to mount another cd

sudhir
No end of technology
Tom Geudens
Honored Contributor

Re: Unmounting the CD Rom

Hi,
How exactly was the CD originally mounted ? If it was a pfs_mount instead of an ordinary mount ... I'm afraid you'll need a reboot to solve the problem.

Regards,
Tom
A life ? Cool ! Where can I download one of those from ?
SS_6
Valued Contributor

Re: Unmounting the CD Rom

Try power cycle CDROM only.
By providing solutions I am helping myself
Mateja Bezjak
Respected Contributor

Re: Unmounting the CD Rom

Hi,

I had a similar problem once. I solved it by rebooting the system.

Regards,
Mateja
Simon R Wootton
Regular Advisor

Re: Unmounting the CD Rom

Thanks to all who responded, the only solution in the end was a reboot.