- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Tape 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
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-26-2005 05:10 PM
01-26-2005 05:10 PM
On a N-class server (HPUX 11.00 64-bit) I have a DDS3 tape and a cdrom. I swapped the cdrom with another DDS tape of the absolutely same type as the existing one. I did this on-line.
The first time I switched the new tape on I had forgotten to change the SCSI ID, so both tape devices had same SCSI ID and were connected on the same SCSI bus. I fixed this immediately.
After that I ran STM verify and information tools for the two tapes. They both completed successfully.
ioscan shows the devices CLAIMED.
I created device files for the new tape using insf. ioscan lists them too.
From that point whenever I try to access the new tape I get Device busy. The other device is fine. I swapped the tape devices (and changed the SCSI IDs of cource), but the tape in the slot where the cdrom device was still is not working.
I also swapped the tape media, , so this is not due to a faulty device or media.
Bellow is the output from couple of commands I used to fix the problem, but without any luck.
I stuck completely, so any help will be appreciated!
# ioscan -fnH 0/0/1/0.1.0
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 3 0/0/1/0.1.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/3m /dev/rmt/c0t1d0BEST
/dev/rmt/3mb /dev/rmt/c0t1d0BESTb
/dev/rmt/3mn /dev/rmt/c0t1d0BESTn
/dev/rmt/3mnb /dev/rmt/c0t1d0BESTnb
# fuser -u /dev/rmt/3m*
/dev/rmt/3m:
/dev/rmt/3mb:
/dev/rmt/3mn:
/dev/rmt/3mnb:
# fuser -u /dev/rmt/c0t1d0BEST*
/dev/rmt/c0t1d0BEST:
/dev/rmt/c0t1d0BESTb:
/dev/rmt/c0t1d0BESTn:
/dev/rmt/c0t1d0BESTnb:
# st -f /dev/rmt/3mn -r
# st -f /dev/rmt/3mn -s
Device is OK and available
# mt -t /dev/rmt/3mn stat
on tape open: Device busy
# mt -t /dev/rmt/3mn rel
on tape open: Device busy
# diskinfo /dev/rmt/3m
diskinfo: can't open /dev/rmt/3m: Device busy
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 05:20 PM
01-26-2005 05:20 PM
Re: Tape device busy
# fuser -ku /dev/rmt/3m*
#mt -t /dev/rmt/3m stat
what happened after this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 05:23 PM
01-26-2005 05:23 PM
Re: Tape device busy
# fuser -ku /dev/rmt/3m*
/dev/rmt/3m:
/dev/rmt/3mb:
/dev/rmt/3mn:
/dev/rmt/3mnb:
# mt -t /dev/rmt/3m stat
on tape open: Device busy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 05:44 PM
01-26-2005 05:44 PM
Re: Tape device busy
can you post the o/p
#ioscan -fnC tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2005 08:49 PM
01-26-2005 08:49 PM
Re: Tape device busy
The device busy error doesn't actually mean the device is busy BTW, I get device busy on a DLT drive if the key isn't turned away from the locked position.
If you go in to SAM and list tape devices, does the drive show up?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 01:42 PM
01-27-2005 01:42 PM
Re: Tape device busy
The tape device in question is connected to 0/0/1/0.1.0.
I can confirm that the device is turned on and there is a healthy tape in it as well.
Dou you think this may be a SCSI bus problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 01:58 PM
01-27-2005 01:58 PM
Re: Tape device busy
give this a whirl, you should get something like;
Drive: HP C1537A
Format:
Status: [0]
File: 0
Block: 0
if it still say's device busy then potentail issue with the device?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 01:58 PM
01-27-2005 01:58 PM
Re: Tape device busy
I'd give insf a go first - see if it solves your problem, as I've not heard you mention that you've done so. Please follow up with an "ls -al /dev/rmt/[03]m" command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 02:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 02:16 PM
01-27-2005 02:16 PM
Re: Tape device busy
Lawrenzo, I have alredy tried this couple of times.
John, I had to create the device files (insf -H 0/0/1/0.1), because they did not exist. In addition I removed (rmsf ...) and re-created them again just for any case.
Bill, I think this is what has happened and I am going to reboot when I have chance to do this.
I realy dislike rebooting UNIX servers because of such problems and that is why I started this thread, but that was my fault :-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 07:09 PM
01-27-2005 07:09 PM
Re: Tape device busy
Did you try to power cycle the drive? The drive might have been left in a funny state.
HTH
Gerhard