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


ADVERTISEMENT

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

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

Server :: Software To Archive Data To Tape Library?

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

General :: Setup DM In RHEL5 And Mapping A Device To It?

Apr 5, 2010

How to setup Dynamic Multipathing in RHEL5 and mapping a device to it? I have a RHEL5 server which is connected with a HP BLADE Server. I have installed DM software. Now I want to map BLADE Server's LUN space with a directory of my RHEL5 Server.

View 1 Replies View Related

General :: Rsync Incremental Backups Rather Than Full Backups?

Nov 12, 2009

How do you get Rsync to do incremental backups rather than full backups? At the moment I have a script that will create a backup folder (if it doesnt already exist) then copy the source files into the backup directory with the command

rsync $VERBOSE --exclude=$TARGET/ $EXCLUDE --exclude '/Ls-wtgl1c8/**' -rt --delete $source/ $TARGET/$source/ >> $LOG_FILE

Target is where the files will be backed up to Sources is the dir(s) to be backed up Exclude files is the list of files not to backup
log file is where the output will be saved to. At the moment it only does full backups, but I would only like to do incremental, how would this be achieved? Am I missing out an option in the Rsync that is required.

View 9 Replies View Related

Slackware :: Setup A Networked HP C6280 All In One Device Attached To Network Via Cat5 Cable?

Jun 13, 2010

I am trying to setup a networked hP C6280 all in one device attached to my network via Cat5 cable. It has the IP 192.168.0.105 and I am experiencing problems with setting up HPLIP... I know I am not the only one to have this problem, but I cant find specific info for slackware and all the posts I've found on the web are outdated, often refering to slack 9 or having been posted prior to 2006....

I use Slackware -Current (prior to 13.1 release), CUPS V1.4.3 and HPLIP V3.10.2. When I try to setup my device in HPLIP (hp-setup), I select "network/ethernet/wireless device", then HPLIP discovers my printer @ 192.168.0.105 (like I expect), and then I click "add printer" and I get:

Code:
Printer queue setup failed. Please restart CUPS and try again. And then the setup exits. Of course restarting CUPS will not I reinstalled HPLIP and no luck. I can setup the device in CUPS, but if I proceed this way, I will not be able to select the attached scanner as a resource in XSANE.In other words, if I setup the all-in-one device with CUPS, it is considered only a simple printer..I remember that I had the same problem with Slackware 12.2 about 14 months ago, but cannot remember how I fixed it.

View 12 Replies View Related

Hardware :: Get Libstdc++.so.5 Library File - Install In RHEL5?

Feb 24, 2011

im trying to install db2 software in my RHEL5 which is running in my VmWare. im getting an error as : how to get libstdc++.so.5 library fthe required library file libstdc++.so.5 is not found on the system.so how to resolve this issue?

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

Server :: Setup House Mostly (for The First Time) For Backups And File Sharing?

Jan 28, 2011

**Edit: path for mount was incorrect Distro Server: CentOS 5.5

Clients:
Fedora(latest)
OSX(latest)

Backround I am attempting to setup a server in my house mostly(for the first time) for backups and file sharing. It is important to me that file permissions are preserved. So its my understanding that I must use idmapd in order for this to work. As of now I'm only working with the linux distros while osx will be dealt with once these two work together. portmapper is up and running, along with lockd on both machines. Firewalls are also down on both machines for now. The server side was all setup using the GUI interface with no extra options selected. Problem When attempting to "mount -t nfs4 10.0.0.2/$sharedfolder /mnt" I get an error operation not permitted with no error printing in /var/log/message. If I use "mount -t -o nolock nfs4 10.0.0.2/$sharedfolder /mnt" it mounts just fine. Ive checked both machines multiple times to make sure that lockd is up and running. In the idmapd.conf file I the domain as "localdomain" for both machines but I doubt that is right; like I stated above this is my first attempt at a server. I'm assuming the problem is a whole missing step that involves some kind of id mapping server I need to setup.

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

CentOS 5 :: Scheduled Unattended Backups With Alerts If The Backups Fail

Feb 3, 2011

I've been a DOS/Windows guy for 20 years, and recently became a SW test lab helper. My company uses CentOS for a lot, so I've become familiar with it, but obviously not as comfortable as I am with Windows.

Here's what I have planned:

machine: Core 2 Duo E8400, 8GB DDR2, 60GB SSD OS drive, ATI 4650 video card, other storage is flexible (I have 3 1TB drives and 4 750GB drives around that can be used in this machine.)

uses: HTPC, Network Storage, VMWare server host: SMTP, FTP server, and Web server virtual machines

I've figured out how to do much of this, but I haven't figured out how to do backups in Linux. I've been spoiled with Windows, with the built in backup system so simple to use. I find myself overwhelmed with the array of backup software, and unable to determine which to use. none of them seem to do everything I need them to do, but some come close, I think. I'm hoping someone here can help me out in figuring out which program to use and how to use it.

Here is what I need the backup software to do:
1. scheduled unattended backups, with alerts if the backups fail
2. a weekly full backup with incremental every 12 hours
3. removing the old backups when the new full backup runs, I would prefer to keep 2 weeks of backups, but that's not necessary
4. a GUI would be preferable, since my arthritic fingers don't always do as I want them to do. I typo things a lot, and the label worn off my backspace can attest to that.

View 7 Replies View Related

Red Hat :: Setup User's PATH Env When Sudo Command In RHEL5 ?

Dec 16, 2008

In RHEL5, the PATH of root is /sbin and /usr/sbin...., the PATH of common user has not /sbin or /usr/sbin, how to give the /sbin and /usr/sbin to a common user when he run command which sudo?

View 3 Replies View Related

General :: Connect To A Networked Printer On A Different Subnet?

Oct 10, 2010

While I was setting up CentOS 5.5 for my first time I faced this problem which is connecting to a printer is not possible, my tutor told me you need to change from eth0 to eht1 or eth2, what does that mean? And if I do this, how can I connect a printer which I have its name and IP address.

View 4 Replies View Related

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 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 :: 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 :: 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 :: Automate Backups Over SSH On A Desktop?

Jun 7, 2011

I currently have a setup which allows me to connect to all computers on my home network via SSH and RSA keys. I'm very security-conscious, so all of my keys are passphrase protected. I'd like to essentially set something up where I'm running Unison on a cron job to back up to a file server on my network, which we'll call timmy. I've noticed that the first time I try to use a key on my Ubuntu laptop teeks, I get a dialog which pops up asking me to type in my key passphrase. I've heard that for servers needing to make automated backups like this that one should use ssh-agent to ask for the key passphrase on login/server start. How can I set this up on teeks?

I'd essentially like to have the following happen:When I boot and come into the OS, prompt visually for the passphrase as is done when I first use a key.If I SSH into this computer (as it's internet-facing) and I haven't provided the SSH passphrase yet, then prompt for it. (Sometimes, I might need to remotely reboot the machine over SSH, so I'll be SSH'ing into it after it reboots and I'd like to be able to authenticate the key without having to VNC in and do it manually.)

View 2 Replies View Related

General :: Rsync Not Doing Incremental Backups?

Jan 21, 2010

I am using rsync to backup dirs on my ubuntu server onto a NAS (which is mounted onto the filesystem), but the problem is that it is constantly doing full backups rather than doing incrementals and I am not really sure why. After doing a bit of expermienting with the script I noticed that if I just backed up a home dir (/home/user) the incremental backups work fine. If however I was to back up a dir like (/home/domain/user) it always does full backups.I have tried various different scripts but still the same end result. The latest script is a variation on the a script found on the samba rsync examples webpage, see below...

#!/bin/bash
# rsyncbu.sh -- backup to nas using rsync
# This script backups files listed in BDIR to the BSERVER. The verbose output along with the date is listed in the LOG_FILE specified
# verbose output

[code]....

View 4 Replies View Related

General :: Backups To External USB Drive?

Mar 1, 2010

I have a small IT consulting business and I am finding many of my clients couldn't afford Microsoft solutions and thus, going without... So a revelation hit me that I could offer Linux solutions, its just that I'm not a Linux guru... So after much research and installations of nearly every latest Linux distro, I decided on ClearOS as a good option for my clients that just require a good File/Print server, firewall and VPN solution... Everything was going fine until I got to the point where I was trying to get it to do backups to a USB drive... ClearOS does not come with the ability to do such, so from further research I found that I could install Webmin to handle that task and that it would not break ClearOS... Great, its just that its not working... It says its working, but its not.

[Code]...

Next I hit the "Save and Backup Now" button to test it out... all says it goes good... But when I check the device, there's nothing saved to it...

So I create another "Filesystem backup", I select the FlexShare directory that I want backed up and this time I select a local directory for the backup to go to... I hit the "Save and Backup Now" button to test it out. all says it goes good... But once again when I check the directory, there's nothing saved to it.

View 1 Replies View Related

General :: Cp 'limit' Numbered Backups?

Mar 17, 2011

I currently use cp to backup data. I prefer it over rsync. I use the -b switch to make a backup of data and recently found you can use --backup=t to create numbered backups.Using --backup=t means that I could end up having 100 versions of a file if I change it 100 times. With the -b switch I will only ever have 2 versions. Is it possible to limit the numbered backups to 5 for example? So I would only ever have 5 versions?

View 2 Replies View Related

General :: What Are Appropriate Filesystem Options For Backups

Mar 12, 2011

I have just purchased a 1 TB external hard disk to be used for backups. The backups will be performed with rsync and since I don't really care about accessing the data from other operating systems, I think I'll use ext3 on the partition. I'll just be backing up my home directory and probably /etc as well. In my home directory, I have a small number of files that are several GB, but most are tens of MB in size or less.

I'm just wondering if there are any special options I should pass when I create the filesystem with mkfs.ext3.

View 6 Replies View Related







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