- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tar: cannot open /dev/rmt/0mnb
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
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
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
07-13-2016 08:29 AM
07-13-2016 08:29 AM
tar: cannot open /dev/rmt/0mnb
11.31, rx8640
I am trying to do a backup to tape and get this. The tape drive is this and just got cleaned. The tape is inserted and the "ready" light is on. Yet it just does not see it. I tried different device names but 0mnb did work in the past and now doesn't.
It is a bad tape or the drive went bad or what?
tape 0 0/0/0/3/1.5.0 stape CLAIMED DEVICE HP Ultrium 3-SCSI
>tar -cvf /dev/rmt/0mnb /oracle
tar: cannot open /dev/rmt/0mnb
>ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
tape 0 0/0/0/3/1.5.0 stape CLAIMED DEVICE HP Ultrium 3-SCSI
/dev/rmt/0m /dev/rmt/0mn /dev/rmt/c3t5d0BEST /dev/rmt/c3t5d0BESTn
/dev/rmt/0mb /dev/rmt/0mnb /dev/rmt/c3t5d0BESTb /dev/rmt/c3t5d0BESTnb
mt -f /dev/rmt/0mnb status
no tape loaded
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2016 08:47 AM - edited 07-13-2016 09:04 AM
07-13-2016 08:47 AM - edited 07-13-2016 09:04 AM
Re: tar: cannot open /dev/rmt/0mnb
Strangely, I can now see the tape drive, something works intermittently.
mt -f /dev/rmt/0mnb status
Drive: HP Ultrium 3-SCSI
Format:
Status: [41114400] BOT online compression immediate-report-mode
File: 0
Block: 0
Yet when I try to run the tar command, I get this, almost immediately. After I attempted to rewind it, I am not sure if it did.
a /oracle/app/product/oraInventory/OraInstall2007-10-19_12-42-39PM/jre/1.4.2/lib/IA64N/motif21/libmawt.so 2535 blocks
a /oracle/app/product/oraInventory/OraInstall2007-10-19_12-42-39PM/jre/1.4.2/lib/IA64N/native_threads/libhpi.so 459 blocks
a /oracle/app/product/oraInventory/OraInstall2007-10-19_12-42-39PM/jre/1.4.2/lib/IA64N/server/libjvm.so 55144 blocks
Tar: end of tape
Tar: to continue, enter device/file name when ready or null string to quit.
User entered a null name for next device file.
Is there a problem with the tape or the drive?
Edit: 5 minutes later it cannot read the device with the status command:
mt -f /dev/rmt/0mnb status
on tape open: No such device or address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2016 11:10 AM
07-19-2016 11:10 AM
Re: tar: cannot open /dev/rmt/0mnb
I am getting a slightly different error now, tar writes to tape for a few hours and then this. I installed GNU tar to handle files larger than 8GB but regular tar does the same thing.
Any idea?
/usr/local/bin/tar: /dev/rmt/0mnb: Cannot write: I/O error
/usr/local/bin/tar: Error is not recoverable: exiting now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2016 08:01 PM
07-23-2016 08:01 PM
Re: tar: cannot open /dev/rmt/0mnb
> I installed GNU tar to handle files larger than 8GB
pax(1) can also handle these large files.
>/usr/local/bin/tar: /dev/rmt/0mnb: Cannot write: I/O error
I would hope it is smart enough to detect EOT. Have you tried a new tape?