Amanda-Users

Re: amrecover and tape seeking

2004-08-13 16:29:59
Subject: Re: amrecover and tape seeking
From: Joshua Baker-LePain <jlb17 AT duke DOT edu>
To: Chris Miller <ctodd AT netgate DOT net>
Date: Thu, 20 May 2004 08:40:38 -0400 (EDT)
On Wed, 19 May 2004 at 11:44pm, Chris Miller wrote

> "amadmin find" shows a record of the location on tape (record number)
> where each dump record exists. Given this information, why does amrecover
> start at the beginning of the tape during a restore and read each record
> sequentially on the tape until it finds the correct record? I can
> significantly reduce restore times by suspending amrecover and using "mt
> fsf <n>" to pre-position the tape one or two records before the record it
> wants. I gather the code is doing a pattern match for hostname, diskname,
> and date. Why not use this information to get the record number and
> position the tape appropriately?

If you're using at least 2.4.4, put the following in your amanda.conf:

amrecover_do_fsf yes

and it'll do exactly what you want.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

<Prev in Thread] Current Thread [Next in Thread>
  • Re: amrecover and tape seeking, Joshua Baker-LePain <=