- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: What process is keeping my CD busy?
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
Forums
Discussions
Discussions
Discussions
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
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
01-28-2003 09:16 AM
01-28-2003 09:16 AM
What process is keeping my CD busy?
Usually that means that I'm still in the /cdrom directory and all I have to do is cd / to release it. This time though, it's not me and I can't see a single other user who would even know the CD is on the system. Short of rebooting the server, how can I kill the process that's blocking me from umount(ing) the CD?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2003 09:43 AM
01-28-2003 09:43 AM
Re: What process is keeping my CD busy?
Good Luck.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2003 09:44 AM
01-28-2003 09:44 AM
Re: What process is keeping my CD busy?
will show the processes that are accessing that mount point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2003 09:46 AM
01-28-2003 09:46 AM
Re: What process is keeping my CD busy?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2003 09:55 AM
01-28-2003 09:55 AM
Re: What process is keeping my CD busy?
You should check into lsof - a very handy utility. You can find a couple of sources for it in this thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf58885079106d71190050090279cd0f9,00.html
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2003 10:06 AM
01-28-2003 10:06 AM
Re: What process is keeping my CD busy?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2003 11:34 AM
01-28-2003 11:34 AM
Re: What process is keeping my CD busy?
fuser -cuk /cdrom
or whatever you call the cd.
As sysadmin, don't be surprised if this command kills your telnet session.
About half the time I get the error message, I've got a session on the cdrom.
P
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2003 12:16 PM
01-28-2003 12:16 PM
Re: What process is keeping my CD busy?
Just do fuser -c /cdrom
You will see the processes using cdrom drive. Otherwise just do following and you will be able to unmount the cd drive.
# fuser -ck /cdrom
#umount /cdrom
Hope this will help.
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2003 12:39 PM
01-28-2003 12:39 PM
Re: What process is keeping my CD busy?
fuser /dev/dsk/c0t2d0
(or whatever your CDROM device file might be) The problem is usually caused by user cd'ing into the CDROM. They haven't opened a file like you would running vi or cat but nevertheless, the directory /cdrom (and perhaps subdirectories underneath) are indeed open, but in a different way.
fuser is only about 75% effective in finding the reason for umount failures. Get a copy of lsof from http://hpux.connect.org.uk/
Bill Hassell, sysadmin