• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1212
  • Last Modified:

Dell Powervault 132T using Amanda

I have a Dell Powervault 132T with 2 drives and 23 slots. I am trying to implement Amanda. I can't really find anyone using the dell powervault with the 2 drives. For now I just want it up on the server and test some backups from the server only. I am new to linux and amanda, I did run the amtapetype to see the kind of tapetype to enter into the amanda.conf file but I get a unknow tape-type return. Is this normal for the Dell Powervaults? I have a lot of questions so lets just start out with this one and go from their. Any help is appreciated.
0
wilsj
Asked:
wilsj
1 Solution
 
rindiCommented:
Have you tried sending an email to the following link to get help?

//amanda-users@amanda.org

Alternatively you could also use their mailing list to get better help:

http://www.amanda.org/support/mailinglists.php

0
 
gurutcCommented:
Hi,

Here are two links.  The first is the setup for the LTO drives, the second for the tape changer part.  You'll have to parse the two pages to find what you're looking for.  With the tape drive you're trying to use, you'll have to roll your own configs for Amanda.

http://wiki.zmanda.com/index.php?title=Tapetype_definitions&printable=yes#HP448_.28LTO_Ultrium2.29_with_200.2F400_Gbyte_tapes

http://www.gocept.com/Members/ctheune/amanda_powervault/view

- gurutc
0
 
wilsjAuthor Commented:
I have my tapetype. I'm just wondering how to setup amanda to backup certain directories or does it just backup complete harddrives? All I want to do is pick up a dump on another computer in a certain directory and write it to tape. I have amanda client on the other machine and as far as I know it is allowing access to the amanda user. Also do I have to use a new tape after each dump or can I put multiple dumps on one tape. And does Amanda automatically go to the next available tape for the next backup?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
gurutcCommented:
Ok, to answer:

1.  Yes you can back up selectively
2.  You can append tapes
3. If your changer is configured correctly, Amanda will change tapes.

But these all require configuration.  I don't think you're asking me to cut and paste how to do all these things from the Amanda Docs.  I think you just wanted confirmation that it was in there, right?

- gurutc
0
 
wilsjAuthor Commented:
Right, I know where to edit these things. It's just a little confusing being new to the linux langauge and everything.  I am currently using the chng-zd-mtx as the changerfile. Now does this tell amanda to change the tape? Basically I guess and trying to see if I'm doing things right.  Do I have to specify all 23 slots in the changer file for Amanda to use them.
Sorry for all the questions but I have never backed up anything in my life and I just started using linux last week.
0
 
wilsjAuthor Commented:
This is what I have in my changer file.



NumDrives=-2
NumSlots=-23
LastSlot=-23
LoadedTape=-1
0
 
gurutcCommented:
thx, was gonna ask for that and you read my mind

gurutc
0
 
wilsjAuthor Commented:
In this part of the changer file. Do I have to change the drive_name to /dev/nst0? I dont know what the Drive_num is.
Also would I change the MTX_Control to /dev/sg0 since this is my device changer?


### USER CONFIGURATION
# Name of the tape drive (takes place of "tapedev" option in amanda.conf)
#  and default driver number in library (usu 0) that DRIVE_NAME points to
DRIVE_NAME="/dev/rmt/0n"
DRIVE_NUM=0

# Location of "STC" command and control device
MTX_CMD="/usr/local/sbin/mtx";
MTX_CONTROL="/dev/scsi/changer/c4t1d0";
0
 
wilsjAuthor Commented:
Now I am getting this error when I run amlabel.


amlabel: could not load slot "current": cannot determine first slot
0
 
gurutcCommented:
Sorry, was tied up for a day.  Looking at your posts now.

- gurutc
0
 
wilsjAuthor Commented:
Well I solved that problem but now I get this when I run amdump.


These dumps were to tape DailySet101.
The next tape Amanda expects to use is: a new tape.

FAILURE AND STRANGE DUMP SUMMARY:
  amanda.transolutions.net  /etc  RESULTS MISSING
  dumper: FATAL must be run setuid root to communicate correctly
  dumper: FATAL must be run setuid root to communicate correctly
  dumper: FATAL must be run setuid root to communicate correctly
  dumper: FATAL must be run setuid root to communicate correctly
  planner: ERROR Request to amanda.transolutions.net timed out.


STATISTICS:
                          Total       Full      Incr.
                        --------   --------   --------
Estimate Time (hrs:min)    0:01
Run Time (hrs:min)         0:01
Dump Time (hrs:min)        0:00       0:00       0:00
Output Size (meg)           0.0        0.0        0.0
Original Size (meg)         0.0        0.0        0.0
Avg Compressed Size (%)     --         --         --
Filesystems Dumped            0          0          0
Avg Dump Rate (k/s)         --         --         --

Tape Time (hrs:min)        0:00       0:00       0:00
Tape Size (meg)             0.0        0.0        0.0
Tape Used (%)               0.0        0.0        0.0
Filesystems Taped             0          0          0
Avg Tp Write Rate (k/s)     --         --         --

USAGE BY TAPE:
  Label             Time      Size      %    Nb
  DailySet101       0:00        0K    0.0     0


NOTES:
  planner: Adding new disk amanda.transolutions.net:/etc.
  driver: WARNING: got empty schedule from planner
  driver: dumper0 exited with code 1
  taper: tape DailySet101 kb 0 fm 0 [OK]
  driver: dumper1 exited with code 1
  driver: dumper2 exited with code 1
  driver: dumper3 exited with code 1


DUMP SUMMARY:
                                     DUMPER STATS            TAPER STATS
HOSTNAME     DISK        L ORIG-KB OUT-KB COMP% MMM:SS  KB/s MMM:SS  KB/s
-------------------------- --------------------------------- ------------
amanda.trans /etc          MISSING --------------------------------------

(brought to you by Amanda version 2.4.5p1)
0
 
gurutcCommented:
well I think we have a working solution system here.  You ask a ?, I say 'hmmm,' then you solve it while i am looking.  you got some good karma going there!  

Ok, Hmmm, I'm thinking again...

- gurutc
0
 
wilsjAuthor Commented:
Here is the output from amcheck


WARNING: program /usr/lib/amanda/planner: not setuid-root
WARNING: program /usr/lib/amanda/dumper: not setuid-root
WARNING: program /usr/sbin/amcheck: not setuid-root
Holding disk /etc/amanda/dumps: 60722712 KB disk space available, using 60620312 KB
amcheck-server: slot 1: date 20060519 label DailySet101 (active tape)
amcheck-server: fatal slot 2: Drive not ready after 120 seconds, rewind said "/usr/lib/amanda/chg-zd-mtx: line 392: mt: command not found"
ERROR: new tape not found in rack
       (expecting a new tape)
NOTE: skipping tape-writable test
NOTE: info dir /etc/amanda/DailySet1/curinfo/amanda.transolutions.net: does not exist
NOTE: it will be created on the next run.
Server check took 183.081 seconds

Amanda Backup Client Hosts Check
--------------------------------
WARNING: amanda.transolutions.net: selfcheck request timed out.  Host down?
Client check: 1 host checked in 30.003 seconds, 1 problem found
0
 
gurutcCommented:
Ok, I've seen this.  It has to do with the user equivalence of the process (I know, duh! I like to state the obvious). You can run the process as root but there's a better way.  I'm looking now through my http://del.icio.us links (shameless plug for Delicious!) to find my bookmark for that one.  I have it tho.  You really have a knack for posing useful info, BTW.

- gurutc
0
 
wilsjAuthor Commented:
Here are my permissions for these files

-rwsr-x---   1 amanda disk    43908 Feb 10 20:45 planner
-rwsr-x---   1 amanda disk    39352 Feb 10 20:45 dumper
-rwsr-x--- 1 amanda disk 42032 Feb 10 20:45 /usr/sbin/amcheck
0
 
wilsjAuthor Commented:
Ok moving on, I got past the other error and now I get this

ERROR: program /usr/lib/amanda/planner: not executable
0
 
gurutcCommented:
You are rocking!  Guess what?  I have a server down and I'm restoring, so keep at it.  I'm offline for a few hours working.

- gurutc
0
 
wilsjAuthor Commented:
Moving on once again.  Ok we are back to the amdump. I've added the local host to the .amandahosts file do I need to do something else?

hese dumps were to tape DailySet101.
The next tape Amanda expects to use is: a new tape.

FAILURE AND STRANGE DUMP SUMMARY:
  amanda.transolutions.net  /etc  RESULTS MISSING
  planner: ERROR Request to amanda.transolutions.net timed out.


STATISTICS:
                          Total       Full      Incr.
                        --------   --------   --------
Estimate Time (hrs:min)    0:01
Run Time (hrs:min)         0:01
Dump Time (hrs:min)        0:00       0:00       0:00
Output Size (meg)           0.0        0.0        0.0
Original Size (meg)         0.0        0.0        0.0
Avg Compressed Size (%)     --         --         --
Filesystems Dumped            0          0          0
Avg Dump Rate (k/s)         --         --         --

Tape Time (hrs:min)        0:00       0:00       0:00
Tape Size (meg)             0.0        0.0        0.0
Tape Used (%)               0.0        0.0        0.0
Filesystems Taped             0          0          0
Avg Tp Write Rate (k/s)     --         --         --

USAGE BY TAPE:
  Label             Time      Size      %    Nb
  DailySet101       0:00        0K    0.0     0


NOTES:
  planner: Forcing full dump of amanda.transolutions.net:/etc as directed.
  driver: WARNING: got empty schedule from planner
  taper: tape DailySet101 kb 0 fm 0 [OK]


DUMP SUMMARY:
                                     DUMPER STATS            TAPER STATS
HOSTNAME     DISK        L ORIG-KB OUT-KB COMP% MMM:SS  KB/s MMM:SS  KB/s
-------------------------- --------------------------------- ------------
amanda.trans /etc          MISSING --------------------------------------

(brought to you by Amanda version 2.4.5p1)
0
 
wilsjAuthor Commented:
I am trying to backup the /etc directory on the local box. When I run amdump this is what I get. Is it not resolving the host name or is it a rights issue. I can't figure it out.


These dumps were to tape DailySet101.
The next tape Amanda expects to use is: a new tape.

FAILURE AND STRANGE DUMP SUMMARY:
  amanda  /etc  RESULTS MISSING
  planner: ERROR amanda:  [access as amanda not allowed from amanda@amanda.transolutions.net] amandahostsauth failed


0
 
wilsjAuthor Commented:
I solved it myself thanks guys for the effort.
0
 
gurutcCommented:
I say delete-Refund  

gurutc
0
 
GranModCommented:
PAQed with points refunded (500)

GranMod
Community Support Moderator
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now