- Ultrium Recording Format vs. HDD LBA
- Posted by Shiera on October 29th, 2003
Hello everyone,
I'm only just a neophyte on storage... and I desperately need your
help on these:
1. How are data stored in Ultrium 1 and Ultrium 2 format?
I mean, is there any block addressing method?
2. Do all tape formats have the same block addressing methods?
3. If the tape has logical block addresses, is there any correspondence
between Tape LBA and HDD LBA?
I've been searching for a sufficient resource material on Tape but
couldn't find one. I was kind of hoping you could recommend one.
I would really appreciate your help. Thanks a lot!
- Shiera -
- Posted by Arno Wagner on October 29th, 2003
Previously Shiera <smdelusa@hotmail.com> wrote:
I would be surprised if not. It will not really be random access, though.
Physically: no. However SCSI-Tapes have all the same
command set, since it is standardized. If I remember correctly
from some experiments with DAT, you can tell it to seek to a
position and then read the next n sectors in a second command.
No. HDD LBA is beacuse HDD addressing is 3D: head, cylinder, sector.
All SCSI drives use linear addresses anyway. So there is no LBA.
(Unless they started making IDE Ultrium drives?)
Look into the SCSI command set, takpe storage section. Info e.g.
here: http://www.danbbs.dk/~dino/SCSI/SCSI2.html
I think tape drives are usually "Sequential-access devices".
BRW, there are some tools to dispatch SCSI-commands manually,
at least under Linux. I used them some years ago to play around
with a DAT drive. You can find the Linux SCSI docs here:
http://www.tldp.org/docs.html#howto
I hope this helps.
Arno
--
For email address: lastname AT tik DOT ee DOT ethz DOT ch
GnuPG: ID:1E25338F FP:0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F
"The more corrupt the state, the more numerous the laws" - Tacitus
- Posted by Folkert Rienstra on October 30th, 2003
"Arno Wagner" <me@privacy.net> wrote in message news:bnpnps$1020lj$1@ID-2964.news.uni-berlin.de
And so should ATAPI.
Huh? That is what LBA is all about.
- Posted by Shiera on November 4th, 2003
Hello everyone...
Just some follow-up questions...
Since data are stored sequentially, so the block positioning are also
sequential, right? How can we identify an end of the block, especially
if a single cartridge contains blocks of different sizes? Is this
where filemarks come in?
Once again, thank you so much for your help. ^-^
By the way, thanks for the references you gave me, Arno. They helped a lot!
- shiera -
- Posted by Arno Wagner on November 5th, 2003
Previously Folkert Rienstra <see_reply-to@myweb.nl> wrote:
Since ATAPI uses the SCSI command set, that is definitely the case.
There is no LBA in addition to the native addressing is what I
meant. There is nothing else except the original linear block
addressing, which you could call "LBA". But the capitals are
not justified for SCSI.
Arno
--
For email address: lastname AT tik DOT ee DOT ethz DOT ch
GnuPG: ID:1E25338F FP:0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F
"The more corrupt the state, the more numerous the laws" - Tacitus
- Posted by Arno Wagner on November 5th, 2003
Previously Shiera <smdelusa@hotmail.com> wrote:
Yes, but that is more a question of efficiency, not causality.
Any SCSI device, also HDDs, will give you a linear addressing
of the bytes/blocks on the medium. That is just an SCSI
convention. The idea is that the user should not need to know
about geometry. Old concept in professional computing, relatively
new in the low cost computing market.
Physically the drive writes some codes at the end of the block.
Logically I am not sure you can actually determine where a block
ends with variable block length. Then the filemarks could
be used as separators between different byte-streams.
However I am not really sure how they work.
I also have no idea whether the LOCATE command works
with variable size blocks.
You are welcome. I also found them quite helpful in the past.
Arno
--
For email address: lastname AT tik DOT ee DOT ethz DOT ch
GnuPG: ID:1E25338F FP:0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F
"The more corrupt the state, the more numerous the laws" - Tacitus
- Posted by Folkert Rienstra on November 5th, 2003
"Arno Wagner" <me@privacy.net> wrote in message news:boa5b6$1be82j$3@ID-2964.news.uni-berlin.de...
The native addressing for SCSI *IS* LBA.
There IS no such 'linear block addressing' as opposed to 'Logical Block
Addressing'. They are one and the same.
Yes, they are.