General :: Restoring Tape Contents?

Oct 14, 2010

on a Linux pc I want to restore the contents of the DLT tape to /mnt directory,how to do itIf I just want to see the contents of the files, is it possible to read the contents irectly from tape without restoring to hard disk?

View 4 Replies


ADVERTISEMENT

General :: Read Dump Contents Of Tape Driver?

Jan 12, 2011

I have installed, LTO-5 in rhel 5.

now i have taken a backup using command.

dump 0uf /dev/nst0 /dir

now i want to see contents of tape.

the command tar tvf /dev/nst0 is showing error

is there any other command to see dump backup contents

View 3 Replies View Related

General :: RedHat ES5 Attempting To Read Tape Contents On Quantum Superloader3

Sep 24, 2010

I have a Dell PE2900 SCSI'd out to a Quantum SL3. I'm attempting to read/display the contents of the tapes or maybe dump the displayed contents or table of contents to a file.

I can see and access the library:
]# mtx status
Storage Changer /dev/changer:1 Drives, 16 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag = NGL930L3
Storage Element 1:Empty
Storage Element 2:Full :VolumeTag=NGL985L3

[Code]....

But when I try running tar -tzf /dev/changer or tar -tvf /dev/changer I just get a flashing cursor and the drive sits at IDLE.

View 1 Replies View Related

Debian Hardware :: Getting HPE Library And Tape Tools To Recognize Tape Drive

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

Hardware :: Retrival Partial Files From Lto 4 Tape Instead Of Retrieving Complete Tape

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

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 View Related

Red Hat :: Unable To Insert DAT72 Tape In Tape Drive / Fix It?

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

General :: How To Determine The Space Left On A Tape

May 3, 2010

You would think it would be easy to do this (and essential to maximizing and predicting the usage of tapes), but apparently this isn't so. The program MT(1) actually had some commands that give the block positition (if supported by the drive) from which the remaining space could be deduced (even if you couldn't predict exactly how much space the next archive would take up). However I'm using MT(1L) which no longer has such commands.

View 1 Replies View Related

General :: Rebuild System From Dump Tape?

Feb 8, 2010

I have a Red Hat Enterprise (AS) 4.8 system and I need to know how to totally rebuild the system from dump tape. I have been making some full level 0 dumps of the system to the attached DAT72 tape drive... In the case the boot disk goes south, I need to reload from tape, onto a new disk drive. I know how to do this in Solaris. I assume you boot from CD to like a mini-root, then configure and mount the drive on temp mount points, restore the sys data, then load the "boot blocks" (like installboot on solaris).

View 6 Replies View Related

General :: Tape Command Redhat Es 3 $ Tar Tvf /dev/st0 Is Not Working ?

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

General :: Script To Detect Whether Tape Exist In Its Drive - Not?

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

General :: Use USB Tape Drive On Centos 5.3 (kernel 2.6.18-164.10.1.el5PAE)?

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

General :: Moving Data From Tape To System Directory?

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

General :: Share Local Tape Device To Server Via Ssh Session?

Nov 21, 2010

I have my local computer, and server.

I log into server, and mount my local computer (folder) via sshfs.

Create .rar backup archive direct to sshfs remote folder.

After copy, close my ssh sessions.

And use my streamer to backup files stored by server.

I'm wondering, is there any way to share streamer /dev/st0 via ssh session ?

how can i start backup direct to (remote) -> root@server/dev/st0

View 2 Replies View Related

General :: Making Multi Tape Backup Wish To Send Email

May 27, 2011

I have s script that standard users use to back up usb drives to lto4 tapes.it asks for a JobNumber and sends an email upon success.I recently expanded it to use Multiple tapes.my specific Q is if the system reaches the end of the tape it happily mentions in the terminal that one needs to put in a second tape.what i would like to do is send an email that --It needs a second tape.( it presently sends an email upon successful compleation - so you see the only way a person knows that they need a second tape is if they

1-- know that the drive they are backing up is < 800GB (lto4)
2-- they do not get a completion emails and the think to walk to the basement and see the request for a second tape.
I wish for an email that would tap them on the shoulder that : " you need to put in a second tape "so -- if i know the exact syntax that shows in the terminal - which is:Prepare volume #2 for `/dev/st0' and hit return:then can i test for that somehow?

View 10 Replies View Related

General :: Bash Script For Doing Tape Backups - Need Root Password

Feb 14, 2011

I have a bash script that I am using for doing tape backups. The meat of the bash script is
sudo tar --totals -H pax -cvf /dev/st0 *
This all works just fine.

But of course tape functions have to be ran as root, therefore sudo, requiring the standard user to enter the root password. I would like to be in a situation where the standard user does not need (does not know) the root password. I think my solution is add that standard user.
User named dog to the sudo list.

I have reviewed the sudo man page and looked at [URL]. I am still fuzzy.
1- Will adding user 'dog' to this sudo list do what I expect meaning I can run:
sudo tar --totals -H pax -cvf /dev/st0 *
and the user is not queried for the root password
2- How do I do that? and do I make a cmd alais for only: "tar --totals -H pax -cvf /dev/st0 *"
My distro is OpenSuse.

View 17 Replies View Related

General :: Setup A Networked Tape Library To RHEL5 For Backups?

Jul 16, 2010

I have a Dell ml6000 as a network accessed tape library, I need to mount the tape library on my RHEL5 server as a nst* so I can setup backup crons. What is the process i need to follow to set thsi up?

View 2 Replies View Related

General :: Restoring The Particular Directory From Tar?

Jun 18, 2010

I have performed the tar backup in my linuxbox by using the commandtar -cvpzf ring.tar.gz /m01/fordb/sqlThe ring.tar.gz is stored in /m01Now i need to restore the particular directory sql into the /m01/fordb/where i have deleted the sql directory

View 3 Replies View Related

General :: Restoring /usr/bin/php File?

Sep 13, 2010

I've accidentally changed /usr/bin/php file on my server by running a cp command. I know this is bad, i just don't know how bad. Everything is working fine (websites using php), so i just wanted to know what this action could cause and also how can i restore original content

View 14 Replies View Related

General :: Error At Restoring Dumped Sql

Aug 17, 2010

error at restoring dumped sql

I have backuped sql by mysqldump on mysql version 5.1.41. But when I restore this sql by command "mysql -uroot --default-character-set=utf8" my-db < my-sql.sql" I've got this error message.

Quote:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'barunarum',1,1,1,1,1,1,1,1,1,1,3,3,-1,5,1,-20,0,'','script|iframe',0,0,0,0,0,0,0' at line 1

View 4 Replies View Related

General :: Restoring A Backup In A Different System?

Jan 21, 2010

im trying to clone my ubuntu system installed in a laptop in case the laptop crashes.

But, first of all: when i try to restore the system in a new PC, could be incompatibilities because the hardware of the broken laptop and the new laptop is different?

I dont mind if i have to buy another laptop with the same processor type (i386, etc), but, for example, the type of the RAM could be cause of problems?

View 7 Replies View Related

General :: Restoring RH4 Using AMANDA - Will It Restore OS

Jun 4, 2010

If I want to restore an full backup of AMANDA, will it restore the OS along with the files or does it just restore all the files in /

View 2 Replies View Related

General :: Restoring System Back?

Feb 16, 2010

can i do a complete system restore on a toshiba netbook with linux op system, as ive bought one with admin name and password still on it, and i dont know the password to use the admin side of the netbook?

View 10 Replies View Related

General :: Restoring Yum Repo In Fedora 7?

Feb 22, 2011

I mistakenly deleted the repo directory in the yum folder. Now my yum command does not work.i tried to rpmfusion but i couldnt find the rpm for fedora 7. How can i restore my repos. I didnt do any modifications. Only rpmfusion repo would do.

View 5 Replies View Related

General :: Restoring RedHat Enterprise Server X64 5.4?

Jul 11, 2011

at work place I have an HP ProLiant DL580 with RedHat Enterprise Server 5.4 x64. Today I cloned this machine using clonezilla. What I would like to do is restore the image to VMWare machine for personal purpose (I cannot perform tests on production machine). But after restoring on VMWare I got "Kernel Panic". That's normal due to different hardware.

Now, is there a way to remove the Kernel Panic and correctly boot the machine? I ask our tech department for the RedHat CD1 to enter the "linux rescue" enviromnent, then try to re-read the hardware list with

# chroot /mnt/sysimage
# kudzu

View 3 Replies View Related

General :: Restoring The Dumped Database In Mysql?

Oct 14, 2010

in my fedora machine i gave

mysqldump <database-name> > bakup.sql
in my solaris machine i gave
mysql <newly created dbname> < bakup.sql
it shows the below error

ERROR 1064 at line 25: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1' at line 7

mysql version in my fedora machine is
mysql Ver 14.14 Distrib 5.1.47
mysql version in my solaris machine is
mysql Ver 12.22 Distrib 4.0.24

View 4 Replies View Related

General :: Restoring A HDD Backup Image From The Ubuntu Live CD?

Feb 3, 2010

I want to restore a HDD image I have to my laptop's HDD while booted off the Ubuntu Live CD.The laptop's HDD is unformatted and has no partitions.I expected this to work:$ sudo dd if=/path/to/backup.img of=/dev/sdaBut I'm tolddd: opening `/dev/sda': Permission denied.

View 1 Replies View Related

General :: Restoring The Owners On Debian System Files?

Mar 20, 2010

Due to my inattention, tiredness (and probably stupidity) i've run "chown -R someuser:someuser /" and now all your base are belongs to us the files on the server belong to one user (lol).After system restart, apache, bind9, mysql, and adozen other applications don't start and fill their log files with permission errors.I haven't done any backups on system files, only on the db and website files.Please suggest some ways to revive my web server. I have only 2 month experience with linux,

View 1 Replies View Related

General :: Windows 7 - Bootmgr Missing After Restoring With Sysresccd

Jun 30, 2010

I backed up my laptop months ago. Today i repartition the drive and used sysresccd with partimage to restore the HDD. I got a success msg after restoring however when booting i get a bootmgr missing error. How do i fix this?

View 2 Replies View Related

General :: Restoring Partition Table - 'Testdisk' Not Working?

Jan 27, 2010

I was having trouble creating a USB Startup Disk in Ubuntu and used the command:

sudo dd if=/dev/zero of=/dev/sdb bs=1M count=1

This was a mistake as my USB flash drive was on /dev/sdc. If I am understanding this correctly, the command above deleted the MBR and the partition table. This disk had a single "/storage" partition on it. I googled a solution and found that the "testdisk" program seems to be the most popular solution for things like this. I ran it, selected an "Intel/PC partition" type, set the partition to a non-bootable primary Linux partition, wrote it, and rebooted.

Whenever I run:

sudo mount -t ext3 /dev/sdb1 /storage

I get:

mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so

Dmesg shows the following:

[20246.273941] EXT3-fs error (device sdb1): ext3_check_descriptors: Block bitmap for group 1 not in group (block 0)!
[20246.279376] EXT3-fs: group descriptors corrupted!

When I run:

sudo fdisk -l /dev/sdb

I get:

Disk /dev/sdb: 400.1 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved