Latest revision |
Your text |
Line 44: |
Line 44: |
| === Tar (Simplest) === | | === Tar (Simplest) === |
|
| |
|
| It is good to run tar to test write speed, though using it as a backup method leaves much to be desired, so rely on bareos after.
| | See [[LTO Tape]] |
| | |
| See [[LTO Tape]]. Make sure to always disable hardware compression using mt. | |
| | |
| <pre>
| |
| # mt -f /dev/nst0 compression 0
| |
| # mt -f /dev/nst0 defcompression -1
| |
| </pre>
| |
|
| |
|
| === LTFS (Medium) === | | === LTFS (Medium) === |
Line 112: |
Line 105: |
| - /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
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
| === Labelling Tapes ===
| |
| https://tapelabel.de/
| |
|
| |
| https://tapelabel.de/lto-sample/lto-sample.html
| |
|
| |
| [http://www-01.ibm.com/support/docview.wss?uid=ssg1S7000429 IBM LTO Ultrium Cartridge Label Specification]
| |
|
| |
|
| |
| I have been using Avery brand model "J8167" A4 size "Premium inkjet" "White Trueblock" "Mailing Labels" label sheets to reasonable short-term success.
| |
| Long-term properties are not yet tested.
| |
|
| |
| Printing was done in a decent quality multifunction household printer.
| |
|
| |
| A metal ruler and craft knife was used to cut out the labels by gently cutting along the lines between the labels.
| |
|
| |
| Settings:
| |
|
| |
| "Stock label type": "blank"
| |