- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: umount cdrom
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2001 01:02 AM
тАО09-26-2001 01:02 AM
I want to umount /cdrom, but it?s busy.
Now I want to kill the processes who keep the cdrom busy, (kill -9) but these processes don?t want to die, probably they are waiting for I/O.
How can I do these processes to free the device, to umount cdrom?
Thanks all.
Rafa
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2001 01:09 AM
тАО09-26-2001 01:09 AM
Re: umount cdrom
Someone is still working in that subdirectory.
Get the lsof tool, check it and tell the user to get out.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2001 01:15 AM
тАО09-26-2001 01:15 AM
Re: umount cdrom
even without having lsof installed you can see which processes are busy on /cdrom.
Just issue
# ps -fp "$(fuser -cu /cdrom 2>/dev/null)"
If it's safe to kill those in one go, just try
fuser -ck /cdrom && umount /cdrom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2001 01:20 AM
тАО09-26-2001 01:20 AM
SolutionIf fuser -k doesnt kill the processes preventing the cd from being unmounted then your dead. You must reboot your server. If some processes wont die try killing their parent process also (unless the parents pid=1). Are you using pfs_mount ? if so you should kill the pfs processes also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2001 05:57 AM
тАО09-26-2001 05:57 AM
Re: umount cdrom
fuser -cu /mount_point
then
fuser -ku /mount_point
This command can work in most of similar NFS issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2001 05:26 AM
тАО09-27-2001 05:26 AM
Re: umount cdrom
If you are using pfs_mount to install oracle, the only way to get the cdrom out is the pfs_umount.
Magdi