- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: erase the tape
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-24-2009 06:23 PM
тАО08-24-2009 06:23 PM
erase the tape
# mt -f /dev/rmt/0m status
Drive: IBM ULTRIUM-TD3
Format:
Status: [41114438] BOT online compression immediate-report-mode
File: 0
Block: 0
what the command means? thankyou somebody!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2009 07:07 PM
тАО08-24-2009 07:07 PM
Re: erase the tape
Or just writing a whole bunch of stuff on it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2009 07:34 PM
тАО08-24-2009 07:34 PM
Re: erase the tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2009 07:49 PM
тАО08-24-2009 07:49 PM
Re: erase the tape
There is nothing you need to do, just write to it. (Unless it is a labeled tape or something.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2009 08:05 PM
тАО08-24-2009 08:05 PM
Re: erase the tape
# tar tvf /dev/rmt/0m
it display nothing
but actually i
#tar cvf /dev/rmt/0m 1.txt first
is the tape bad? or it is full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2009 08:11 PM
тАО08-24-2009 08:11 PM
Re: erase the tape
If you did "tar cvf" then "tar tvf" and you don't have a no-rewind device, it would indicate something is wrong but not full.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2009 08:59 PM
тАО08-24-2009 08:59 PM
Re: erase the tape
# mt -f /dev/rmt/0m rewind
# tar cvf /dev/rmt/0m 200908.tar.Z
a 200908.tar.Z 2280933 blocks
# tar tvf /dev/rmt/0m
rw-rw-rw- 1001/107 1167837679 Aug 21 17:37 2009 200908.tar.Z
# tar cvf /dev/rmt/0m 1.log
a 1.log 170 blocks
# tar tvf /dev/rmt/0m
rw-rw-rw- 1001/107 86588 Aug 24 17:57 2009 1.log
# tar -tvf /dev/rmt/0m 200908.tar.Z
rw-rw-rw- 1001/107 86588 Aug 24 17:57 2009 1.log
why the second file overwrite the first file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2009 09:09 PM
тАО08-24-2009 09:09 PM
Re: erase the tape
What is your operating system? "uname -a"?
> [...] you don't have a no-rewind device
> [...]
man 7 mt
Look for "rewind".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2009 09:21 PM
тАО08-24-2009 09:21 PM
Re: erase the tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2009 09:44 PM
тАО08-24-2009 09:44 PM
Re: erase the tape
Ok, then "man 7 mt", or:
http://docs.hp.com/en/B2355-60103/mt.7.html
and look for "rewind".
An HP-UX forum search for keywords like:
tar tape rewind
should find many old discussions.