Questions about tape drives, robots, & media. Includes LTO, DAT, etc. Also consider tags such as /backup or for the backup system(s) you're using (/bacula, /amanda, /tar, etc.)
Questions tagged [tape]
71 questions
11
votes
1 answer
"Cannot allocate memory" when reading from SCSI tape
I am experimenting with some old SCSI tape drives, and I have successfully written some data to a tape, but I am struggling trying to read it back again.
# tar tvf /dev/st0
tar: /dev/st0: Cannot read: Cannot allocate memory
tar: At beginning of…
Malvineous
- 6,524
- 5
- 52
- 76
7
votes
1 answer
Tape readable with scsitape but not dd or tar, why?
I just installed an Exabyte tape drive:
$ lsscsi -g
[11:0:0:0] process Marvell 91xx Config 1.01 - /dev/sg0
[12:0:1:0] cd/dvd TOSHIBA CD-ROM XM-3401TA 0283 /dev/sr0 /dev/sg1
[12:0:5:0] tape EXABYTE EXB-8500-85Qanx0…
James Youngman
- 1,143
- 5
- 20
7
votes
1 answer
What does mt -f /dev/st0 erase do exactly on a tape drive?
What does
mt -f /dev/st0 erase
do exactly with a (LTO-6) tape drive at /dev/st0?
It takes hours and seems to write many times.
Does it write random data on the tape several times to delete the contents in a secure way?
Will it delete the magnetic…
Jonas Stein
- 3,898
- 4
- 34
- 55
6
votes
3 answers
LUKS encryption for tape media?
I was wondering, if it was possible to use LUKS encryption with tape drives, QIC for instance.
I'm using LUKS for USB drives and internal disks, even DVDs and CDROMs. But I was thinking of maybe using it to encrypt tape drives as well.
Should I just…
polemon
- 11,133
- 11
- 69
- 111
6
votes
1 answer
How to use AES hardware encryption of LTO tape drives on Linux?
How to use AES hardware encryption of LTO tape drives on Linux?
I expect the LTO AES encryption to be faster than software solutions.
A quick benchmark of aespipe on i7 CPU gives an impression on the effect of software AES
Without AES:
$ cat…
Jonas Stein
- 3,898
- 4
- 34
- 55
6
votes
3 answers
Interacting with Tape Library on CentOS 7 via mtx
I have a Quantum SuperLoader 3 plugged in via SAS to a CentOS 7 system. It shows in dmesg and lsscsi and is handled by the ch driver.
$ lsscsi
[0:2:0:0] disk LSI MR9271-8i 3.24 /dev/sda
[1:0:0:0] tape IBM ULTRIUM-HH6 …
J.C.
- 251
- 1
- 2
- 7
5
votes
2 answers
How do I write sequentially several tar's to a tape?
I am trying to write several directories to a tape. Each directory with one tar command.
So I have the following sample file/directory structure:
user@host1:~/temp/original % find…
M.E.
- 589
- 4
- 14
5
votes
1 answer
Problems reading IBM 3592 JB tape
I'm having problems reading a 3592 JB IBM (700GB) tape using a TS1140 (E07) drive. The tape was written using a TS1130 (E06) drive with compression up to 1TB as specified on the label of the tape. According to IBM's tape specifications webpage, the…
Magic Mick
- 101
- 5
5
votes
2 answers
Linux tapes,what is l a and m at end of tape devices in dev?
I see those files on linux server
find /dev/*st*0*
Give me
/dev/nst0
/dev/nst0a
/dev/nst0l
/dev/nst0m
/dev/st0
/dev/st0a
/dev/st0l
/dev/st0m
I know n before st mean "no rewind"
but what does it mean the a l and m at the end?
elbarna
- 12,050
- 22
- 92
- 170
5
votes
2 answers
Save many small files to LTO Tape
I'm doing backups to LTO tape. Because my backups include a lot of small files, which slows down the read from disk.
I'm using the buffer command to prevent shoe-shining my tapes:
bkname="test"; tobk="*"
totalsize=$(du -csb $tobk | tail -1 | cut…
M. Schulz-Narres
- 51
- 2
4
votes
1 answer
My LTO tape drive is slow and “shoe-shines” on FreeBSD
Regardless of what data I write to my LTO-4 tape drive /dev/nsa0, writing is very slow (less than 1 MB/s) and the tape is constantly being wound back and forth in a shoe-shine pattern. No speed problem occurs when reading or erasing (with mt erase)…
FUZxxl
- 755
- 1
- 7
- 21
4
votes
3 answers
Getting SCSI Tape Usage Info
I have a SCSI tape (/dev/st0) and I would like to get information about how much of it is used.
How can I do that, preferably with a command?
Jakob Kenda
- 151
- 4
3
votes
2 answers
SCSI Tape drive on ubuntu and centos
On ubuntu 12.10 I have those SCSI drives:
[1:0:0:0] cd/dvd TSSTcorp CDDVDW TS-H653N 0208 /dev/sr0
[2:0:0:0] disk Generic USB SD Reader 1.00 /dev/sdb
[2:0:0:1] disk Generic USB CF Reader 1.01 /dev/sdc
[2:0:0:2] disk …
Lewy
- 131
- 1
- 2
3
votes
2 answers
Read the chip data from LTO tapes
The Wikipedia LTO article says that every LTO drive can read out the memory chip of a tape via 13.56 MHz NFC.
I expect here to find serial numbers, tape properties and usage data. How can I read this data with free and open-source software on a…
Jonas Stein
- 3,898
- 4
- 34
- 55
3
votes
0 answers
Anyone know where to change this "bufsize" value? ( st / mt LTO tape drives )
I am trying to speed test some new LTO tape drives but cannot seem to send data to the tape via dd for any block size above 327,680 bytes. I must have a 1M blocksize for my application.
[root@host]# mt -f /dev/nst0 status
BOT ONLINE…
TNKaf
- 31
- 2