Ubuntu :: Use The Tar Command With A Tape Drive - Data Is Larger Then 1 Tape
Mar 8, 2010
I am looking at getting a DLT drive for my network; however, I have never used the tar command with a tape drive. What happens if the data is larger then 1 tape? Does the tar application automatically span tapes or do I need to use switches so it spans multipule tapes? Right now my Full backup will take 2 or 3 tapes.
View 3 Replies
ADVERTISEMENT
Apr 3, 2016
I have been using an LTO-5 Ultrium-3000 tape drive connected to an ATTO HBA without problem. I can control the tape drive using "mt -f /dev/nst0" and have been able to make successful backups using cpio, tar, and dump/restore. I followed some instructions on the web about how to install the HPE Library and Tape Tools application (version 4.21) which relies on conversion of a rpm to a deb file. The software seems to have been installed correctly and runs. However the hardware scan function does not recognize my tape drive. The following is suggested in the user manual if the tape device is not recognized by the software under Linux:
1. Login as root.
2. Edit the following file:
vi /etc/modules.conf
3. Add the following line as appropriate:
add options scsi_mod max_scsi_luns=128
4. Reboot the computer.
The problem is I don't have an /etc/modules.conf and am not sure exactly which file would be equivalent? If this is even the correct solution.
My tape drive is controllable and functions well using "mt -f /dev/nst0 status" so it seems to be a matter of LT&T software to detect the tape drive.
At the risk of providing too much info here some, possibly relevant, output from lshw
*-pci:3
description: PCI bridge
product: 6 Series/C200 Series Chipset Family PCI Express Root Port 1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: b5
[Code] .....
View 1 Replies
View Related
Dec 8, 2008
I have dell poweredge 830 server with tape drive and RHEL 4 running on it....the issue i am facing is,i am unable to insert the tape as i had ejected the tape forcefully from it....
i tried to do a listing of the contents backedup on tape and it got struck in middle throwing below error,
/dev/st0:device input/output error. after which i was unable to eject the tape using
mt -f /dev/st0 rewoffl
i removed the tape by holding the eject button and now when i try to insert another tape, it's unable to take the tape in to tape drive...
I've tried doing all except reeboting the server, can any one help me out in this issue, hope the blow information may help in debugging the issue... code....
View 8 Replies
View Related
Feb 28, 2011
I am running Ubuntu 10.04, and i recently purchased an tandberg LTO-4 SAS tape drive. I want to access it and backup data on it. Do I simply just connect plug it into the server,and I should be able to backup/transfer data to the tape drive? Or are there intermediate steps before I can do that. Here are some results from commands that I have typed:
Quote:
ls /dev/tape/
by-id
Quote:
ls -lt /dev/tape/by-id/
total 0
lrwxrwxrwx 1 root root 9 2011-02-25 14:54 scsi-3500110a00145553e -> ../../st0
lrwxrwxrwx 1 root root 10 2011-02-25 14:54 scsi-3500110a00145553e-nst -> ../../nst0
[code]....
View 4 Replies
View Related
Apr 26, 2010
I want to know how to retrival partial files from a lto 4 tape instead of retrieving the complete tape.
View 2 Replies
View Related
Sep 29, 2010
I can backup anything that is smaller then a single LTO4 tape, however I have one DLE where the amount of information I want to backup is 950GB (which happens to be on the backup server) but the tape is only 800GB. How can I get this to span multiple tapes for a single DLE?
I have set the tape_splitsize to 5GB for right now, but it is taking forever to backup the volume. Because the volume is larger then the holding disk, Amanda resorts to the fallback_splitsize which I have set to 1GB. My understanding is that this basically stores 1GB of data in memory and then writes it to tape?
Since I have a holding disk of 200GB, is there a way I can write 80GB of data to tape instead of 1GB chunks at a time?
What is the ideal way to backup large amounts of data by spanning multiple tapes and writing to the tape as quickly as possible?
View 1 Replies
View Related
Sep 30, 2010
I have a questions concerning tape drives.
Is it necessary to erase tape before recording ?
Do You know linux command to clean tape drive ?
View 1 Replies
View Related
Feb 10, 2011
I need help writing a script that will copy everything from tape to system directory. I have a Linux box with 3 TB of Hardware space. I am using the following commands
1) mt /dev/st0 rewind
2) tar xvf /dev/st0
3) tar xvf /dev/st0 fsf 1 (Using this to move to the next segment of the tape) and then
4) tar -xvf/dev/st0
I keep repeating steps 3 and 4.
View 5 Replies
View Related
Jul 15, 2010
Does anyone know of any existing software to aid in this task? We already offer backed-up data storage to our users, but no means of say arching original data sets for long term storage(NIH, etc rules). Something that could be user initiated, where they login into the archive server, tell it I want such and such files archives, and on its own it takes those files and gives them to a tape library(drive+robot).
View 3 Replies
View Related
Feb 22, 2010
Currently I have bacula backing up the contents of my server on a daily basis (Mon-Fri) on to a tape. There are in total 9 backup tapes so far. One for each day of the week (Mon-Thurs) and one for every Friday in the month (so there are 5 friday tapes). The tapes are all from the same pool and once the tapes are full they should then get recycled. As I understand and from what I have seen, the data from my server backups up to the tape and is then marked with the append status. Every time that tape is used, data is then appended onto the tape until the tape is full. At this point it is marked as full but wont be recycled until all the tapes from the pool are marked as full (so until all 9 tapes are full).
My question is, is there a way of overwriting the data on the next backup on the tape, rather than appending or requiring that all tapes in a pool are full before a tape can be recycled. As the mon-thurs tapes currently cant be recycled until all the Friday tapes have been used. The reason why I dont have seperate pools for the Friday backups and the other days of the week or even seperate pools for each day of the week, is that if a tape is accidently not changed or someone puts in the incorrect tape by accident a backup will still occur. Which is better than no backup!
View 2 Replies
View Related
Sep 30, 2010
I'm trying to use wget to retrieve some data from our tape backup utility (HP Command View 1/8 G2 Autoloader). The URL requires two parameters for the info I want to retrieve. I have searched for a few hours and have tried numerous combinations to get the data but the parameters aren't being executed. I have escaped the URL as well.
Code:
wget --user=x --password=x --recursive --no-clobber --page-requisites --html-extension --convert-links --no-parent -O ssi.html "10.0.x.x/inventory_status.ssi?mag_0=1&mag_1=1"
returns:
Code:
<HTML><HEAD><TITLE></TITLE></HEAD><BODY>
<SCRIPT LANGUAGE="javascript">
top.location.href='logout.ssi';
[code]....
View 3 Replies
View Related
Jul 5, 2010
I am a Ubuntu 10.04 Desktop user.
I am searching for a backup software to backup to my hp dat72 tape drive. It is only to backup my data from 1 PC.
I have already found bacula but it seems to big for my purpose. I need an easy and automatic software.
Could you recommend a backup software for my needs?
View 8 Replies
View Related
May 17, 2011
We have RHEL4 loaded on the server and our tape drive is not working.While taking the backup on the tape using the command tar cvf /dev/nst0 * the system is creating a tar file by the name of nst0 in /dev directory and no backup is being taken on the tape .Please provide solution.
View 1 Replies
View Related
Mar 15, 2010
I am geting this problem since lat one year. please send me quikly the solution or the remedy of it.
Tape command:
Giving error like below archback is a shell script for the above same command for backup.
View 2 Replies
View Related
Feb 26, 2010
I'm having issues with mt commands. For some reason, my server doesn't like backing up directories using tar.
Code:
# tar -czf /dev/st0 /www /home
ends up giving me an error message saying "removing / prefix" and then using the command
Code:
# mt -f /dev/st0 status
gives me an IOCTRL error. I've googled the error code and haven't come up with a viable fix. Thus far, the only way I've been able to check which files are on the tape is:
Code:
# tar -tzf /dev/st0
Of course, without getting the actual directories on the tape in the first place, the only files I've been able to transfer at this point are just singular files within the directories as opposed to the entire directories themselves.
View 1 Replies
View Related
Jun 24, 2011
iam trying to access tape drive .but iam not able to see its location.is any command to install and access tape drive
View 2 Replies
View Related
Oct 8, 2010
i have centos 5.9 running on my server and i have to take backup of my entire data from the different server.This one I want to make it as backup server. I need few informations about the tap drive
1.Which tape drive is good also compatible with Linux (centos ), pls send me the link
2.How to take backup into tape drive , good if you send any doc.
3. Any backup software which is kind of opensource
View 5 Replies
View Related
Mar 5, 2011
I have issues in installing HP Ultrium 448 external tape drive on HP ML 370 G5 server running Red-Hat-Linx OS. It has a SCSI interface & I thought it was suppose to plug & play but not. I got an information that all i need to do is echo "engage scsi" > /proc/drivers/cciss/cciss1 but unfornately i do not know how to do this because i just began learning about LINUX,
View 1 Replies
View Related
May 4, 2011
I have a linux server running Red Hat Enterprise Linux AS release 4 (Update 8) that I need to do some unusual configurations to. I have a hospital application written using a database called MSE. Now the provider of this application says they will only support tape because of the fact that this system is using a specialized backup system. Basically the data is housed on raw_data blocks. So what I am looking to do is create a way to USE the SAN to present the server with Hard Drives and be mounted as if it was a tape. Has anyone tried to do something like this before? If so how did you configure that. One solution that I thought would be to just Present a 2TB lun and carve up several partitions cut not create filesystems on them. Then just create a symlink everynight /dev/rmt0 and rotate out the partitions.
View 5 Replies
View Related
Jul 17, 2009
I installed centos on a server with a exabyte vxa-2 tape-drive. There are two harddisks and the tapedrive on the Adaptec SCSI 2010s Contoller. The harddisks are working , but it doesn't find the tapedrive. And there is nothing in /proc/scsi/scsi.What can i do to add the tape drive?
View 1 Replies
View Related
Sep 15, 2010
I am setting up a tape drive back up, but I am having "fun" with bacula configuration. Basically the drive is working , I ran the test with the btape program and all was correct. I am basically meddled up with the jargon and the very large bacula documentation. I created some 2 volumes and gave the mounted the tapedrive (labeled) the name of one of them "tapevol2" .... now I can not relabel the tape, I deleted the volume "tapevol2" but still the tape drive is mounted with that name, even though the volume is deleted. If I add ( create more volumes) I can not make the tape to mount with anything different that "tapevol2". I would like to go back to zero and delete all volumes, and mount the tape with one of the newly created volumes, so the jobs back up can run.
View 2 Replies
View Related
Dec 14, 2010
Not sure whether is feasible or not...
Any idea how to script to detect whether are there any tape media loaded in the tape drive ?
View 3 Replies
View Related
Mar 2, 2010
I have been trying to install HP Storageworks DAT72 on CentOS 5 in vain. On system reboot, neither /dev/st not /dev/sg is available.
lsmod
Module Size Used by
ipv6 267617 40
xfrm_nalgo 13381 1 ipv6
[code]....
View 1 Replies
View Related
May 26, 2011
We have been using an Ultrium LTO-2 tape drive to perform backups of certain information from our file server. Recently, the data that we are backing up has grown too large to fit on the tapes in their 200GB uncompressed capacity. I have been looking around for a way to enable the compression in the drive, but I haven't found much. I am not using any backup software, so I'm not sure if I'll even be able to. I write the tape using a simple 'tar' command, so there aren't a whole lot of options to be set. Is there a way that I can enable the drive's compression, or would I be better off running the tar command with the gzip or bzip flags?
View 4 Replies
View Related
Oct 22, 2010
I didn't know if I should have posted this in newbie, hardware, or server. I haven't used tape drives in Linux previously; however I'm trying to figure out how to enable an LTO-4 tape drives built in encryption. Im not that concerned with secure key management, I am looking to just being able to load a key into the drive and get the tape to encrypt. Im for a simple command, but I dont even know where to start. If it varies by device, its an HP Ultrium 4 (1760).
View 2 Replies
View Related
May 25, 2010
I've got a Tape drive attached to my server connected by SAS card, and am trying to copy some data across.but it fails to write, in dmesg i seescsi 1:0:1:0: Attached scsi generic sg1 type 1mptbase: ioc0: LogInfo(0x31120403): Originator={PL}, Code={Abort}, SubCode(0x0403) does this mean faulty hardware/cables?
View 1 Replies
View Related
Jan 3, 2011
I have an LTO-3 tape drive.
It shows
Code:
when I do:
Code:
I am running as root
Would like to NOT reboot this server. (WEBSITE) It is running Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
View 10 Replies
View Related
Nov 25, 2010
make storageworks tape drive work with redhat 5
View 3 Replies
View Related
Mar 24, 2010
Does CentOS 5 support HP EH854A LTO4 External SCSI tape drive?
View 3 Replies
View Related
Dec 29, 2010
So my cousin took some video of Obama's Helicopter landing on a soccer field down the street from his house. He recorded it on a Sony HandyCam DCR-PC101 NTSC, which has a slot for an SD card, as well as some sort of cassette/tape. He recorded the video on the tape and not the video card. Now we need to get it off the tape and onto our computer. The camera came with a disc, but of course it is only for windows. It is called Pixela ImageMixer (Ver. 1.0 for Sony)
how I can get the tape onto my hard drive?
View 2 Replies
View Related