Questions tagged [tape]

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.)

Filter by
Sorted by
Tagged with
1
vote
2answers
36 views

Simple tools to read/write tapes on Linux

I have some tape drives and decided to back my data to tape (one of the reasons is that most of my data is not changing, so once I do a full backup, the tapes will have better chance of working after ...
1
vote
0answers
13 views

Determine capacity of tape drive

Is there a way via mtx or mt, or else via some value stored in /sys or /proc to know the capacity of a tape in a tape drive (such as a LTO7 cassette in a DELL TL4000) ? I have attemped mt with the ...
1
vote
0answers
26 views

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 ...
0
votes
1answer
29 views

Why use tape for restoring AIX mksysb instead of other ordinary drive devices?

I'm intrigued by the fact that the only way to restore a mksysb backup on AIX Unix systems can be done either by using a NIM server or by manually using a tape. Why is it that you cannot replace the ...
1
vote
1answer
52 views

Are there some common ways to catalogue tar tape backups?

So, I have a tape drive, and use it to permanently archive some stuff (old projects). These are "copy once" things, no versioning/incremental backups/etc. Though of course, new projects might be added ...
1
vote
1answer
80 views

How to turn off tape (mt-st) compression on Ubuntu 18.04?

A recent upgrade from 14.04 to 18.04 on a host with with a LTO-6 tape drive shows the mt command no longer supports the compression argument. Anyone know another way to toggle drive compression? # ...
2
votes
0answers
67 views

Can I create a tape backup that uses Microsoft Tape Format (MTF) on Linux?

Outside of LTFS, the Microsoft Tape Format seems to be the closest to a widely supported format when it comes to older tape format that don't support LTFS (In my case, Ultrium 3 and 4). However, ...
0
votes
2answers
74 views

dd command - can it show record size when reading from tape

I have data on tape with a variable block size. when reading these tapes I can use tcopy /dev/st0 (for example) to show the record size as it reads from tape. Ultimately I copy the data from tape ...
1
vote
1answer
75 views

How to terminate old IBM internal DDS-3 tape drive?

I'm having some difficulty getting an old DDS-3 tape reader working on my Linux workstation. Some details: From the product code that is printed on the label (E30364) I managed to identify the tape ...
1
vote
2answers
456 views

What is a safe way to dump data from a tape drive when you are not completely certain what is inside?

I have an old tape drive and old tape that I recently found. I was able to get the tape drive connected to Linux and executed the following commands: mt -f /dev/nst0 rewind dd if=/dev/nst0 of=dump....
0
votes
1answer
140 views

How to backup on LTO-5 tapes in a gigabit network without shoe-shining?

I have equipped myself with an LTO-5 tape drive, and some tapes to avoid data loss, having previously relied on RAID. However, I realise that even a gigabit Ethernet is not fast enough to drive an ...
2
votes
0answers
365 views

Question about blocks sizes on Tape vs. Tar

I have an HP LTO-4 drive that I've been using for backups for a while now and everything works very well, but I have a question on how the Tar blocking factor works and what is actually written to ...
2
votes
1answer
133 views

SCSI LTO4 very slow on CentOS 7

I've replaced my backup server and I switched from a Debian Stretch to a CentOS7. I have a SuperLoader 3 LTO4 SCSI on an old adaptec SCSI 160. At first, I had to use the CentOSplus kernel which add ...
0
votes
1answer
196 views

mtx reverses the numbers given to tape drives by CentOS and scsi generic (sg) devices

we have some confusion when we run mtx commands to load a tape from an autoloader slot to tape drive. we have two LTO-5 tape drives connected to our backup server. They are recognized by the ...
3
votes
1answer
441 views

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 ...
0
votes
0answers
362 views

Linux: create multivolume tape encrypted with ssl..is possible?

I want to backup my data on tapes. I had a Ultrium LTO6 Make an encrypted backup with SINGLE tape works fine tar cpMf - /home/ | openssl enc -e -aes128 -salt -pass file:file.password |(pv -p --...
2
votes
2answers
256 views

How can I read and extract information from a DDS-1 tape today?

I have a DDS-1 tape (Sony 60M 1.3 GB tape) and am hoping to find a tape drive where I can still read it. The problem is that while I can find the associated compatible tape drives online, I am not ...
1
vote
1answer
113 views

Why “cfgadm” does not show “med-changer” device of SAS attached tape-library?

Trying to set up a tape library NEOs StorageLoader LTO7 and also old PowerVault 124T I am facing following problem and cannot find any helpful answer. Using either Openindiana 151a8, Openindiana ...
5
votes
1answer
226 views

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. ...
1
vote
1answer
1k views

How to install and configure HP LTO-5 External Tape Drive to RHEL Server

we just bought HP LTO-5 Ultrium 3000 SAS External Tape Drive with PCIe 3.0 SAS Host Bus Adapter to be installed on HP DL380p G9 RHEL Server for connectivity. if we install the PCIe on the server and ...
3
votes
0answers
139 views

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]# ...
7
votes
1answer
3k views

“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 ...
2
votes
1answer
164 views

Is my tape defective or there is another problem?

I tried a backup with this line tar cvf - --format posix -b 1024 -X /home/user/altro/file.esclude /home/user | openssl aes-256-cbc -salt -k "pass" | dd bs=40M of=/dev/st0 The total size of my ...
1
vote
1answer
258 views

Why do I need to read from a tape 3 times to read 2 archives?

After writing two tar archives to a tape: $ mt -f /dev/st0 rewind $ tar cvf /dev/nst0 first $ tar cvf /dev/nst0 second Why do I need to read from the tape three times to read the two archives? $ mt ...
5
votes
2answers
1k views

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 ...
2
votes
2answers
747 views

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=...
1
vote
2answers
162 views

Backups on tape HP Ultrium 460

There's subj tape drive (LTO-2 tapes, SCSI connection) connected to Debian 8. And I can't understand if it can make "session" writes? And, if yes, how correctly it has to be done? I mean, that I need ...
3
votes
2answers
1k views

How to determine size of tar archive without creating it?

I'm archiving a few directories every night to LTO-7 tape with about 100 or so large (2GB) files in each of them. As a check that the data has been written correctly, I'm verifying that the number of ...
2
votes
1answer
481 views

Faster (uncompressed) archiving tool than tar?

I'm using tar to archive a bunch of files to LTO-7 tape. Generally each file is about 1-2GB, and there can be several hundred of them in each archive (up to ~1TB per archive). At the moment, I'm ...
4
votes
3answers
638 views

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?
1
vote
1answer
606 views

Is there a tape drive connected?

I need to know if there is a SCSI tape drive connected to my OpenSUSE Linux server. I tried checking the status of /dev/st0 but got an error message: mt: /dev/st0: Input/output error. /proc/scsi/...
1
vote
0answers
125 views

fsf and bfs showing different output

I am using mt utility to write a data on LTO 5,Data stored at sequentially on the tape and file will be identified by File 1, 2 ,3 I want to read the file 3 for that I am using fsf and bsf but I am ...
1
vote
1answer
294 views

A open source and easy-to-use solution to Symantec Backup Exec

i need a open source and easy-to-use solution to replace Symantec Backup Exec. Basically i only make tape-based backups in a Powervault TL2000
0
votes
1answer
477 views

change tape on the fly script

I have to write 17 Tb to tape: ssh some_host 'tar -cz /' | dd bs=20b of=/dev/tape of course 17 Tb doesn't fit to one tape so I need automatically change it when "no room" error occurs. I have robot ...
1
vote
1answer
1k views

Copying Tapes Data to Disk [closed]

Is there any command which serves as copy paste option: ABC on tape is copied as ABC on disk, without assigning a self label/name rather using the native file name. I am using DD, TAR and Tcopy (for ...
2
votes
2answers
2k views

Restoring from NTBackup Tape

Does anyone have any insights into how to read files from a tape created using NTBackup? The situation is as follows. Several months ago, my office migrated a key piece of software from a local ...
5
votes
1answer
891 views

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 ...
4
votes
0answers
1k views

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 ...
6
votes
3answers
10k views

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 /...
1
vote
3answers
1k views

Why can't the tape device such as '/dev/st0' use commands like 'cp' to copy contents to it?

I got this point from a book,it says Because the tape device is a disposable I/O device,so we can't use commands like 'cp' to copy. And the author recommended to use 'tar': tar -cvf /dev/st0 /...
3
votes
1answer
3k views

tar: /dev/st0: Cannot write: Input/output error

When we attempt to use tar to write data to an LTO-5 tape, we get the following error. The device starts to write, and then fails. See the tar command and output, followed by the dmesg output. I ...
2
votes
1answer
9k views

tar: /dev/nst0: Cannot write: Input/output error when taking backup

When I try to take backup of data more than 1MB in a tape (LTO3) using tar command it showing me the following error. xyz@localhost# tar -cvf /dev/nst0 file1.tar file1.tar tar: /dev/nst0: Cannot ...
0
votes
2answers
1k views

How to take incremental backup in tape drive

I am having 1 tape drive and I want to take incremental backup of 5 folder to the tape drive on every Friday. But the location of the five folders are on one server and the LTO mounted on a different ...
2
votes
3answers
9k views

Tape device file does not exist

I am trying to Read / Write data into my HP LTO3 1X8 Autoloader Tape drive. I have the required drivers installed. When I ran rpm -qa | grep mt-st I got: mt-st-1.1-5.el6.x86_64 Further when I ran ...
1
vote
1answer
2k views

I can't find tape device file inside /dev directory

I'm using tape storage drive HP LTO3 1x8 auto-loader which is connected to my server running CentOS. it is detected in CentOS correctly. cat /proc/scsi/scsi Host: scsi2 Channel: 00 Id: 01 Lun: 00 ...
2
votes
0answers
6k views

LTO tape drive: “/dev/st0: Inappropriate ioctl for device”

I can write to the tape drive (tar -cf /dev/st0 file) and retrieve files from the tape drive (tar xvf /dev/st0 file). But the problem is when I attempt to use the 'mt' command to check the status of ...
2
votes
1answer
588 views

recover partially overwritten tape from tar -c

I have a situation. I was supposed to run tar -x to recover a tar file from a tape but I pressed "c" and forgot to put the tape on readonly. The file was on fsf position 23, but the tape had 27 files. ...
3
votes
2answers
2k views

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 ...
2
votes
1answer
8k views

How to take and restore backup with an LTO tape drive in RedHat?

I can take a backup with an IBM LTO tape drive in RedHat 5 using mt and tar, but I can't restore it. I can't see previous backup content. Whenever I try to take a backup, I think that the new backup ...
5
votes
3answers
468 views

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 ...