Operating System - HP-UX
1834756 Members
3157 Online
110070 Solutions
New Discussion

Re: umount: cannot unmount /cdrom : Device busy

 
Joe Profaizer
Super Advisor

umount: cannot unmount /cdrom : Device busy

Can't umount /cdrom. fuser -ku /dev/cdrom results in:
/dev/cdrom: 1575c(pm62_prd) 1883co(oracle) 1832co(pm62_prd)

# ps -ef|grep 1575
pm62_prd 1575 1 0 08:16:05 ? 0:00 -sh

Those users have logged off and a kill -9 will not kill them, thus I can't umount /cdrom still.

Any ideas on how to umount /cdrom w/o a reboot?

..Joe
7 REPLIES 7
Ken Hubnik_2
Honored Contributor

Re: umount: cannot unmount /cdrom : Device busy

You can try seeing what the parent processes are to these and try killing them. Otherwise, you probably will have to reboot.
Uday_S_Ankolekar
Honored Contributor

Re: umount: cannot unmount /cdrom : Device busy

similar question came in before today!

try fuser -u /cdrom and look ofr the process id , kill it and then try umount

-USA..
Good Luck..
Joe Profaizer
Super Advisor

Re: umount: cannot unmount /cdrom : Device busy

The parent process is "1" on all of these
Gary Yu
Super Advisor

Re: umount: cannot unmount /cdrom : Device busy

If a process is waiting for I/O event on a device, you can not kill it, either wait it finishes, or reboot the server.

thanks,
Gary
Massimo Bianchi
Honored Contributor

Re: umount: cannot unmount /cdrom : Device busy

Hi,
try with
kill -15
kill -26

sometimes it helps.

And the other two process ?

Is the cdrom exported ? check with
exportfs


If is is exported, you won't be able to umount untill unexported:

exportfs -i -u /cdrom

Massimo

Bernhard Mueller
Honored Contributor

Re: umount: cannot unmount /cdrom : Device busy

Most likely s.o. pfs_mount-ed /cdrom and
s.o. (else) did not use pfs_umount but umount.

If that's the case - reboot.

If you still have the Oracle CD in and your pfs_mountd is still running you might try pfs_mount /cdrom

then pfs_umount /cdrom but I doubt it will help...


Consider installing:

For 11i/11.11:

PHCO_25841 s700_800 11.11 Add Rock Ridge extension to mount_cdfs(1M)


For 11.00:

PHKL_26448 s700_800 11.00 Y2k; Rock Ridge extension for ISO-9660
PHCO_26449 s700_800 11.00 Add Rock Ridge extension to mount_cdfs(1M)
PHKL_26450 s700_800 11.00 Rock Ridge extension for ISO-9660

then you can use plain mount commands even for the Oracle CDs.

Regards,
Bernhard

Joe Profaizer
Super Advisor

Re: umount: cannot unmount /cdrom : Device busy

no pfs_mount was used. Looks like we have to resort to a reboot.

Thanks