Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unmounting a cd

Status
Not open for further replies.

kevinob

IS-IT--Management
Sep 8, 2003
4
0
0
IE
Hi,

i am trying to unmount a cd on hp-ux
could domeone please send me the best way to do this as i am having problems doing so.

Thanks,

K
 
Try:
Code:
umount {path}

...where {path} is the directory representing the device, such as /etc/cdrom.


Hope that helps.
 
did you get a "device busy" error?

if yes issue:

# fuser /mnt/cdrom

(where /mnt/cdrom is the mount point for the CD)
if you get some numbers, those numbers are the process who are using the CD unit...

issue a "ps -ef | grep xxxx" where xxxx is one of the numbers returned from fuser command. Kill those process and you will can umount the CD.
 
Make sure that you're not cd'd into the directory that you want to umount, also if you have used pfs_mount, you must use pfs_umount, or you'll end up with a stale nfs handle message and reboot will be the only option.

Kind Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top