Amanda-Users

RE: Amanda 2.6.0 spanning

2008-06-25 10:17:08
Subject: RE: Amanda 2.6.0 spanning
From: "Johan Booysen" <johan AT matrix-data.co DOT uk>
To: "amanda List" <amanda-users AT amanda DOT org>
Date: Wed, 25 Jun 2008 15:05:02 +0100
Just to clarify:

I have two identical tape drives daisy-chained to the server.  I'm now using 
chg-multi, with a chg-multi.conf file that defines the two physical drives as 
two different slots:
slot 1 tape:/dev/nst0
slot 2 tape:/dev/nst1

So if one of the tape drives should break or die, and I have to restore a 
disklist entry that is spanned across two tapes, how do I handle that?  Paul 
pointed out that I'd be able to use amrecover and specify the working tape 
drive to use, or that I could change chg-multi.conf to define only one slot 
(pointing at the working drive).  That would work in a case where the disklist 
entry isn't spanned across two tapes, in my mind. 

But if the disklist entry is spanned across two tapes, will amrecover prompt 
for a second tape during the recovery process (and accept it when inserted into 
the same slot as the previous tape), or will I have to use amrestore?

Don't know if my question makes good sense...but thanks anyway for bearing with 
me.

Johan

-----Original Message-----
From: djmitche AT gmail DOT com [mailto:djmitche AT gmail DOT com] On Behalf Of 
Dustin J. Mitchell
Sent: 25 June 2008 14:39
To: Johan Booysen
Cc: amanda List
Subject: Re: Amanda 2.6.0 spanning

On Wed, Jun 25, 2008 at 8:48 AM, Johan Booysen <johan AT matrix-data.co DOT uk> 
wrote:
> I'm still not 100% sure on how to perform restores if a disklist entry
> is spanned across two tapes, but one of the tape drives have died.
> Would I need to use amrestore instead of amrecover, and then manually
> untar all the restored chunks?

If a recover requires multiple tapes, then amrecover will ask for
them, either via the changer script (I've forgotten whether you're
using chg-manual or not) or manually.

Dustin

-- 

Storage Software Engineer
http://www.zmanda.com
<Prev in Thread] Current Thread [Next in Thread>