- Tape backups and block sizes
- Posted by Matt on February 27th, 2004
Greetings,
How can I figure out how large my blocks are on my st0 backup tapes?
~ matt
- Posted by Jean-David Beyer on February 27th, 2004
Matt wrote:
If you know what the blocks on tape should look like, you could do
od -c /dev/st0 | less and see. Sometimes this will work.
Other times, you have to know what size you wrote them with.
If you use mt -f /dev/st0 setblk blocksize
that is what you should get.
With most tape drives, if you read a tape with a blocksize less than the
size it was written with, the rest of the block will be skipped. So if
you write a tape with integers in it, you should be able to tell after
about two blocks, what size was used to write it.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 4:05pm up 52 days, 3:25, 2 users, load average: 2.69, 2.55, 2.47
- Posted by Robert Nichols on February 28th, 2004
In article <c1o64402ll@enews2.newsguy.com>, Matt <no@spam.com> wrote:
:Greetings,
:How can I figure out how large my blocks are on my st0 backup tapes?
$ mt setblk 0
$ dd if=/dev/st0 bs=1024k count=1 | wc -c
--
Bob Nichols AT interaccess.com I am "rnichols"
- Acessing Tape Devices having large block sizes (Drivers) by John Hennig
- Re: Tape Backups are NEVER Reliable - EVER (Storage Devices) by Ron Reaugh
- Tape Backups are NEVER Reliable - EVER (Storage Devices) by Jolly Student
- Tape Backups (Linux / Variants) by Matt
- Tape Backups..How can I do this ? (Windows 2000) by Jake

