- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: finding remaining space in Tape ( DAT)
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
тАО10-31-2009 06:46 AM
тАО10-31-2009 06:46 AM
finding remaining space in Tape ( DAT)
how to identify the remaining space on that tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2009 07:57 AM
тАО10-31-2009 07:57 AM
Re: finding remaining space in Tape ( DAT)
total blocks written to output file /dev/rmt/2m: 54756166
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2009 10:39 AM
тАО10-31-2009 10:39 AM
Re: finding remaining space in Tape ( DAT)
Ignite has two records of 2K and 10K or 2048 bytes and 10240 bytes.
A 4mm DAT tape holds 8 GB or 1024 bytes x 1024 x 1024 or 1024 MB or 1048576 KB
a) mt -f /dev/rmt/0m rew
b) mt -f /dev/rmt/0mn fsf 1 (* move forward one record past the 2K lif record *)
c) dd if=/dev/0mn of=/dev/null bs=10240
Will return with
XXXXX blocks in out
XXXXX * 10240K minus 1048576 KB minus 2K (* first LIF record *)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2009 10:40 AM
тАО10-31-2009 10:40 AM
Re: finding remaining space in Tape ( DAT)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2009 11:19 AM
тАО10-31-2009 11:19 AM
Re: finding remaining space in Tape ( DAT)
> XXXXX blocks in out
And if the drive does compression, then you
still know approximately nothing about the
remaining tape.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2009 12:53 PM
тАО10-31-2009 12:53 PM
Re: finding remaining space in Tape ( DAT)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2009 01:08 PM
тАО10-31-2009 01:08 PM
Re: finding remaining space in Tape ( DAT)
Potentially irrelevant. Some drives do compression internally no matter what you do from the OS side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2009 01:41 PM
тАО10-31-2009 01:41 PM
Re: finding remaining space in Tape ( DAT)
All tape drives advertise their sizes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2009 01:44 PM
тАО10-31-2009 01:44 PM
Re: finding remaining space in Tape ( DAT)
And who cares what _you_ are using?
And if a tape is written with compression, do
you think that the tape drive will read it
without compression, no matter which device
name you use?
> Again, smartness. [...]
Beats the opposite, I claim.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2009 02:12 PM
тАО10-31-2009 02:12 PM
Re: finding remaining space in Tape ( DAT)
"..Questions are a burden to others.."
Dude, you got some issues