Editing LTO Tape/6

From Bibliotheca Anonoma

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 112: Line 112:
       - /dev/tape/by-id/scsi-3500e09efff0f9bb6:/dev/tape/by-id/scsi-3500e09efff0f9bb6
       - /dev/tape/by-id/scsi-3500e09efff0f9bb6:/dev/tape/by-id/scsi-3500e09efff0f9bb6
</nowiki>
</nowiki>
=== plain tar, dd, ect ===
Install mt-st package for tape commands mt:
$ sudo yum install mt-st
$ sudo mt -f /dev/nst0 status
$ sudo tapeinfo -f /dev/nst0 # Get information about drive and tape.
Creating a junk data file for testing:
$ head -c 10G < /dev/urandom > junkfile_10GB.jnk
Disabling compression as it will only result in bottlenecks and lower odds of successful file retreival if the tape is damaged.
$ sudo mt -f /dev/nst0 compression 0
$ sudo mt -f /dev/nst0 defcompression -1
Getting status to confirm the drive has compression disabled:
$ sudo mt -f /dev/nst0 status
$ sudo tapeinfo -f /dev/nst0
There should be a line indicating is is not enabled
'DataCompEnabled: no'
LTO6: Density code 0x5a
Setting the block size to something the drive likes results in very significant speedups. (from 7MB/s to 170MB/s):
I determined the value used by going down a power of two from 1024 to 512
$ sudo /usr/bin/time --append --output=tape_time10gb.txt tar -c  -v -b 512 -f /dev/st0 junkfile_10GB.jnk




Please note that all contributions to Bibliotheca Anonoma are considered to be released under the Creative Commons Attribution-ShareAlike (see Bibliotheca Anonoma:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Template used on this page: