- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Device busy error while mounting 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
10-18-2003 09:11 AM
10-18-2003 09:11 AM
Device busy error while mounting cdrom
I tried to mount an Oracle cdrom with pfs_mount and got device busy error, checked fuser and no processes, bounced the system and still the same error.
Installed PHKL_28060, PHKL_26450, PHCO_26449 and tried
# /usr/sbin/mount -F cdfs -e -o rr /dev/dsk/c1t1d0 /cdrom
and I am still getting the same device busy error. I have tested the cdrom drive and the hardware is OK, ioscan â funC disk shows the DVD as claimed. Any ideas???? This is a new system, no data and not in production and so bouncing is not a problem.
-Subh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2003 11:12 AM
10-18-2003 11:12 AM
Re: Device busy error while mounting cdrom
Are you in /cdrom ?
# pwd
# cd /
My pfs_mount commands are:
# pfs_mount -o xlat=unix /dev/rdsk/cXtYdZ /cdrom (* note rdsk I noticed you are using '...dsk...'. *)
# pfs_umount -c /cdrom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2003 03:38 PM
10-18-2003 03:38 PM
Re: Device busy error while mounting cdrom
Refer to the following docs for info.
http://www.hp.com/workstations/segments/mcad/dassault/faqs/pfs_hpux_faq.html
http://h20000.www2.hp.com/bc/docs/support/SupportManual/lpv37931/lpv37931.pdf
Hope this helps.
Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2003 07:10 PM
10-18-2003 07:10 PM
Re: Device busy error while mounting cdrom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2003 12:26 AM
10-19-2003 12:26 AM
Re: Device busy error while mounting cdrom
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2003 03:49 AM
10-19-2003 03:49 AM
Re: Device busy error while mounting cdrom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2003 12:41 PM
10-19-2003 12:41 PM
Re: Device busy error while mounting cdrom
Thanks
Subhas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2003 12:59 PM
10-19-2003 12:59 PM
Re: Device busy error while mounting cdrom
The best thing i'll suggest you is to download the source file of lsof from either of these 2 sites.
ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/
or
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.67/
and compile it on you'r 64bit 11.11
I have done it and it works fine. Let me know if you find any problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2003 02:07 PM
10-19-2003 02:07 PM
Re: Device busy error while mounting cdrom
$mt status and it will give you output such as
Drive: HP CXXXXXX
Format:
Status: [0]
File: 0
Block: 0
this means that your cdrom drive is ok to be used else device bust will be encountered.
try to do capture of the one who uses this cdrom then kill it.
$ps -ef | grep mt
$kill -9
If both are unsuccessful, then try to reboot the machine. Hope this helps.
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2003 03:03 PM
10-19-2003 03:03 PM
Re: Device busy error while mounting cdrom
I have bounced the system several times and this should have cleared any process that were locking the cdrom. There is nothing running on the system other than OS and of course the Veritas foundation suite. This is what caused the problem in the first place. Veritas guy wanted to install a patch and I mounted the CD with pfs_mount and I committed the serious mistake of installing the patches from the CD instead of copying the patches to the /tmp and installing from there. After the patch installation the system rebooted and I could never mount any cdrom again. I hve even created a new mount point and tried to mount. It looks like some process is restarting after every reboot. What it could possibly be? I donâ t see any thing in the output of ps â ef that could imply a lock on cdrom.
I will try tomorrow what you and Bill Hassell have suggested.
Thanks,
S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2003 04:20 PM
10-19-2003 04:20 PM
Re: Device busy error while mounting cdrom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2003 07:13 PM
10-19-2003 07:13 PM
Re: Device busy error while mounting cdrom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2003 07:27 PM
10-19-2003 07:27 PM
Re: Device busy error while mounting cdrom
Check /cdrom is not mounted and thre is no one on it with:
#fuser -cu /cdrom
if the result is different of this:
/cdrom: fuser: could not find file system mounted at /cdrom.
The file system is mounted, umount it.
Check this daemons are running:
pfs_mountd
pfsd
pfs_mountd.rpc
pfsd.rpc
with:
ps -ef|grep pfs|grep -v grep
Now do:
#pfs_mount -x unix -t rrip /dev/dsk/c1t1d0 /cdrom
It should mount the CD in the correct format.
Hope this help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2003 07:33 PM
10-19-2003 07:33 PM
Re: Device busy error while mounting cdrom
1)look in /etc/mnttab or do a bdf to make sure /cdrom isn't already mounted
2)do a "mount" or "pfs_mount" without arguments to see what the system THINKS is mounted
3)created a new mount-point (/new_cdrom ?)
and use that instead!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 02:06 AM
10-20-2003 02:06 AM
Re: Device busy error while mounting cdrom
Change the filename to something else and unshar it
Please assign points to everybody. Thx.
Geetha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 02:19 AM
10-20-2003 02:19 AM
Re: Device busy error while mounting cdrom
A) bad cdrom
B) wrong cd for HP-UX.
Can you read another cd?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 10:47 AM
10-20-2003 10:47 AM
Re: Device busy error while mounting cdrom
Thanks for the help.
Subhas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2003 11:39 AM
10-24-2003 11:39 AM
Re: Device busy error while mounting cdrom
Subhas