- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2009 04:45 PM
10-31-2009 04:45 PM
Re: finding remaining space in Tape ( DAT)
You may have an 8GB NATIVE capacity tape, but if your files are compressing REALLY REALLY well, then you might get 40 or 50 GB of data on that tape.
In my mind the whole exercise of trying to figure out how much space is left on a tape is rather pointless.
Since this post is talking about IGNITE backup, as long as the VG00 fits on the tape you are good.
If you are contemplating adding other non-OS data to the Ignite backup -- DON'T DO IT. Ignite is meant as a VG00 backup, NOTHING else.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2009 08:36 PM
10-31-2009 08:36 PM
Re: finding remaining space in Tape ( DAT)
> files are compressing.
Well, "NEVER" may be a bit strong. I know
nothing, but I suspect that it's possible to
ask a compressing drive for more details
about compression and/or tape use, but I
doubt that the standard device drivers do
this. What _is_ true is that if all you know
is a byte (or block) count of the data you've
written, then, as I said before, you probably
don't know much about the tape used.
> Dude, you got some issues
Yes, I subscribe to several periodical
publications, so, for example, last month I
got several issues. But what's your point?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2009 10:54 PM
10-31-2009 10:54 PM
Re: finding remaining space in Tape ( DAT)
I can think of no other bigger dicotomy than your personal motto and you being on this forum answering questions. And I think anyone would have at least 10 minutes to comment on how weird this is.
B) That your your smart arse attitude -
"...Non-psychics may need a clearer explanation of what you have and what you wish to do with it:..."
The Voices which speak to you don't seem to
speak to me.
> Ask whomever told you that [...]
(And that's whoever.)
I don't immediately see what would make this
particularly difficult. Is there more than
the obvious variability?
You're assuming more than I would.
So, you really _were_ serious. Scary.
Mine has had it in there since I installed the OS, and it wasn't my idea.
Why do you care what the prompt is? What
doesn't work?
Is there some actual problem
which you are trying to solve?
Perhaps someone who can see exactly what you
did, and exactly what happened when you did
it? (In other words, a psychic or a good
guesser.)
It might help if you showed some actual
commands and their actual output instead of
these vague descriptions and interpretations.
Perhaps if you answer some of the same
questions as in this other thread:
In short, you got more complaints about posters than answers - go blow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2009 05:36 AM
11-01-2009 05:36 AM
Re: finding remaining space in Tape ( DAT)
Most recent drives compress, regardless of the device used, and the compression algorihm will compress what it can, as best it can. Since actual compression achieved can vary from one block to the next, you can't calculate the overall compression.
They (the drives) don't report actual bytes written on the media, or if they do, I don't know a tool that will retrieve that information, so you can't get an accurate account of what's been used, meaning you can't acurrately calculate what's left either.
This same question pops-up all the time on the DataProtector forum as well. As noted elsewhere, this is a rather pointless task.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2009 07:16 AM
11-01-2009 07:16 AM
Re: finding remaining space in Tape ( DAT)
http://en.wikipedia.org/wiki/Irony
[Insert forehead slap here.]
> In short, you got more complaints [...]
No, I _gave_ more complaints. What I _got_,
mostly, was insufficient information to make
possible reliable answers.
But I can see how this all might confuse
someone who thinks that a full tape might be
caused by a SCSI bus problem.
Am I missing something here? Is anyone
compelling anyone else to read anything in
these forums? Is there some problem here
which is crying out for a solution? Or is
the goal merely to waste time and space?