Dear technical experts,
For a number of weeks now I've been trying to extract data from an LTO6 tape without having too much success on the speed department.
I'm using 'dd' to dump the tape content into one big binary file, as I do not know what format the tape has been written in (it is definitely not TAR). Basically I use this command:
dd if=/dev/nst0 of=tape.dump bs=512k When I do this, I always get around 4.7MB/s. Also when playing around with the blocksize, I do not seem to get it beyond this speed, it always maxes out at 4.7MB/s.
I have run tapestat during the read operation to get some more insight, but the only thing I can see is that it is 100% (well 99%) waiting for the read operations to complete:
st0 4 0 3.4M 0.0k 6% 0% 6% 0 0 Tape: r/s w/s kB_read/s kB_wrtn/s %Rd %Wr %Oa Rs/s Ot/s st0 72 0 36.0M 0.0k 98% 0% 98% 0 0 Tape: r/s w/s kB_read/s kB_wrtn/s %Rd %Wr %Oa Rs/s Ot/s st0 73 0 36.5M 0.0k 100% 0% 100% 0 0 Tape: r/s w/s kB_read/s kB_wrtn/s %Rd %Wr %Oa Rs/s Ot/s st0 72 0 36.0M 0.0k 98% 0% 98% 0 0 Tape: r/s w/s kB_read/s kB_wrtn/s %Rd %Wr %Oa Rs/s Ot/s st0 73 0 36.5M 0.0k 100% 0% 100% 0 0 Tape: r/s w/s kB_read/s kB_wrtn/s %Rd %Wr %Oa Rs/s Ot/s st0 72 0 36.0M 0.0k 98% 0% 98% 0 0 Also when I do the read operation with as output file /dev/null, the speed still stays the same, so it does not look like the underlying disk speed is causing a "shoe-shining" effect.
The HW I'm using is an HPE Ultrium 6 external tape drive attached via SAS to an HPE DL385G7 server running CentOS8.
Any help or direction where to start looking into would be greatly appreciated!
Thanks
cat /mnt/tape > tape.dumpinstead ofdd?mt, my mistake. I was meaning for you get it to a certain point and try it from there instead. If that is the speed that you are getting, then perhaps that's what the drive and/or the system bus allows. Do you get the same speed when trying it elsewhere?