- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /dev/rmt/0mn: Device 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
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
тАО08-05-2010 11:23 AM
тАО08-05-2010 11:23 AM
/dev/rmt/0mn: Device busy
When I try to use the device or check it's status, it tells me device busy, even though the device does not show up in any running processes or in fuser.
How can I release this device so I can use it?
rmgjt-ap#/opt/sybase/ASE-15_0/install> mt -f /dev/rmt/0mn status
on tape open: Device busy
rmgjt-ap#/opt/sybase/ASE-15_0/install> ps -ef | grep 0mn
root 10657 7732 0 13:22:42 pts/0 0:00 grep 0mn
rmgjt-ap#/opt/sybase/ASE-15_0/install> fuser /dev/rmt/0mn
/dev/rmt/0mn:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2010 07:40 PM
тАО08-05-2010 07:40 PM
Re: /dev/rmt/0mn: Device busy
This link may help you..
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=799634
Are there any process running like tar,dd , Cross check for any backup software running in the server.
Cross check iostat outputs..
Regards
Vipin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2010 03:09 AM
тАО08-06-2010 03:09 AM
Re: /dev/rmt/0mn: Device busy
Install "lsof" utility.
Sample use:
# lsof /dev/rmt/35mn
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
bma 9361 root 10u CHR 205,0xdb7340 0x929f4000 8558 /dev/rmt/35mn
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2010 06:32 AM
тАО08-06-2010 06:32 AM
Re: /dev/rmt/0mn: Device busy
rmgjt-ap#/opt/omni> ps -ef | grep omni
root 5369 5591 0 08:28:07 pts/3 0:00 grep omni
Where do I grab lsof from? I googled lsof for HP-UX, but there appears to be just old links that don't work anymore.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2010 06:42 AM
тАО08-06-2010 06:42 AM
Re: /dev/rmt/0mn: Device busy
There are other device files related to this device too (not only 0mn), see
# ioscan -fnkCtape
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2010 08:41 AM
тАО08-06-2010 08:41 AM
Re: /dev/rmt/0mn: Device busy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2010 08:43 AM
тАО08-06-2010 08:43 AM
Re: /dev/rmt/0mn: Device busy
gunzip it (e.g. to /tmp) and run
# swinstall -s /tmp/lsof-4.83/lsof-4.83-ia64-11.31.depot
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2010 09:29 AM
тАО08-06-2010 09:29 AM
Re: /dev/rmt/0mn: Device busy
rmgjt-ap#/tmp> /usr/local/bin/lsof /dev/rmt/0mn
lsof: FATAL: pst_stream_size should be: 672; is 72
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2010 09:57 AM
тАО08-06-2010 09:57 AM
Re: /dev/rmt/0mn: Device busy
http://hpux.connect.org.uk/hppd/cgi-bin/wwwtar?/hpux/Sysadmin/lsof-4.83/lsof-4.83-src-11.11.tar.gz+lsof-4.83/HPUX.Install+text
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2010 01:10 PM
тАО08-06-2010 01:10 PM
Re: /dev/rmt/0mn: Device busy
rmgjt-ap#/tmp> /usr/local/bin/lsof /dev/rmt/0mn
rmgjt-ap#/tmp>
Next step??