- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Not able to unmount 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
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
02-24-2003 02:09 AM
02-24-2003 02:09 AM
Not able to unmount cdrom
I mounted cdrom under /cdrom director (in HP-UX 11, N class server). When i tried to unmount the cdrom, it shows the device as busy. I tried to kill the process by using fuser -ku /cdrom. But no luck. How to resolve this problem? Would like to know availability of patch to resolve the problem.
Regards
Ramki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 02:10 AM
02-24-2003 02:10 AM
Re: Not able to unmount cdrom
Did you change dir (cd /cdrom)
Then you should try to do cd / and then unmount !
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 02:20 AM
02-24-2003 02:20 AM
Re: Not able to unmount cdrom
make sure you're not in the cdrom directory.
Use pwd. then umount /cdrom.
Also make sure nobody else is accessing the cdrom.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 02:20 AM
02-24-2003 02:20 AM
Re: Not able to unmount cdrom
Please try also to umount the device:
# cd /
# umount /dev/(r)dsk/c...
Regards ...
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 02:28 AM
02-24-2003 02:28 AM
Re: Not able to unmount cdrom
Nobody should be accessing the /cdrom directory
# cd /
#umount /cdrom
if this couldn't get
#ps -aef|grep pfs
If any any pfs processes are running
#pfs_umount /cdrom
if the CD didn't come out then kill all the pfs processes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 02:31 AM
02-24-2003 02:31 AM
Re: Not able to unmount cdrom
Do fuser -cu /cdrom or fuser -fu /cdrom
to check there is no process attached if so and is not required kill with -9 option.
Also make sure you are not in /cdrom directory or u'll be killed too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 03:04 AM
02-24-2003 03:04 AM
Re: Not able to unmount cdrom
I am still see the processes after executing fuser (-ku /cdrom) command. Also, ps -ef | grep pfs gives no output.
Regards
Ramki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 03:20 AM
02-24-2003 03:20 AM
Re: Not able to unmount cdrom
Well kill the processes you are seeing with fuser.
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 01:44 AM
02-25-2003 01:44 AM
Re: Not able to unmount cdrom
You Please checkup whether CD ROM drive is online by
#ioscan -fnC disk
check whether it is showing any CD/DVD ROM drives, if not check the drive status.
if it is not online, power on the drive and do an fuser -ck /cdrom,
I had faced similer problem, that time the CD drive was powered off.
-Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 01:50 AM
02-25-2003 01:50 AM
Re: Not able to unmount cdrom
# fuser -cu /cdrom and fuser -ku /cdrom
then kill all the processes you see in the output using kill -9
The processes will have a c at the end lke 1234c 4509c and so on , kill -9 1234 4509
Then umount /cdrom...
it should work...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 05:08 AM
02-25-2003 05:08 AM
Re: Not able to unmount cdrom
try umount -ck /cdrom
regards
Chandra Sekhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 05:21 AM
02-25-2003 05:21 AM
Re: Not able to unmount cdrom
instead of using /cdrom, please try the device file.
e.g.
fuser /dev/dsk/c3t2d0
the following link might also help:
http://www.cmve.net/~merijn/
hope this helps!
Best Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 05:29 AM
02-25-2003 05:29 AM
Re: Not able to unmount cdrom
fuser -cu /cdrom (or whatever you named the folder when you mounted it)
If there are no processes on it, there is no need for the next step.
It is possible to get a zombie or process 1 on the cdrom in which case your only good option is to boot.
fuser -cuk /cdrom
kills everything, lists it as it kills it.
Don't be surprised if you lose your session, because its almost always sysadmin that causes this problem.
There should be no need for pfs_umount, but you can try it if you want.
This is not a patching issue, its a sysadmin keeping track of what he or she is doing issue.
If your problem is with pfs_mount, you may start getting NFS errors on the console. They can be safely ignored until you can find a safe window to reboot the machine.
SEP
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
02-25-2003 06:37 AM
02-25-2003 06:37 AM
Re: Not able to unmount cdrom
do a CD to get back to your home directory, check out if the drive is in use by NFS
Normally this is a problem that I have created for myself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 08:00 AM
02-25-2003 08:00 AM
Re: Not able to unmount cdrom
1. cd /
2. fuser -ck /cdrom ( where cdrom is a directory , you mounted cdrom )
3. umount /cdrom
-pap