Amanda-Users

Re: runtapes > 1

2002-11-01 10:12:51
Subject: Re: runtapes > 1
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Fri, 1 Nov 2002 10:00:05 -0500
On Sat, Nov 02, 2002 at 12:56:49AM +0500, Steve Simeonidis wrote:
> Does anyone use more than 1 tape on a single tape drive 
> without a changer for dumping data?
> 
> I can't make it work, it doesn't ask me to instert the second tape!!??
> 
> These are some of the definition of the configuration filethat I use for my 
> testing.
> 
> dumpcycle 0 days        # the number of days in the normal dump cycle
> runspercycle 1 # the number of amdump runs in dumpcycle days
> tapecycle 2 tapes       # the number of tapes in rotation
> 
> 
> runtapes 2              # number of tapes to be used in a single run of amdump
> tpchanger "chg-manual"  # the tape-changer glue script
> tapedev "/dev/nst0l"    # the no-rewind tape device to be used
> #rawtapedev "/dev/null" # the raw device to be used (ftape only)
> changerfile "/var/lib/amanda/DailySet1/changer"
> #changerfile "/var/lib/amanda/DailySet1/changer-status"
> #changerfile "/etc/amanda/DailySet1/changer.conf"
> #changerdev "/dev/null"
> 
> tapetype STD-5000               # what kind of tape it is (see tapetypes 
> below)
> labelstr "^Daily[0-9][0-9]*$"   # label constraint regex: all tapes must match
> 
> infofile "/var/lib/amanda/DailySet1/curinfo"    # database filename
> logdir   "/var/lib/amanda/DailySet1"            # log directory
> indexdir "/var/lib/amanda/DailySet1/index"      # index directory
> 
> 
> ERROR: I get the following email from AMANDA
> 
> These dumps were to tape Daily01.
> The next 2 tapes Amanda expects to used are: Daily02, Daily01.
> 
> 
> STATISTICS:
>                           Total       Full      Daily
>                         --------   --------   --------
> Estimate Time (hrs:min)    0:16
> Run Time (hrs:min)         1:01
> Dump Time (hrs:min)        0:45       0:39       0:06
> Output Size (meg)         537.6      526.0       11.6
> Original Size (meg)       537.6      526.0       11.6
> Avg Compressed Size (%)     --         --         --    (level:#disks ...)
> Filesystems Dumped            4          3          1   (1:1)
> Avg Dump Rate (k/s)       204.5      229.9       34.1
> 
> Tape Time (hrs:min)        0:45       0:39       0:06
> Tape Size (meg)           537.8      526.1       11.6
> Tape Used (%)              49.0       47.9        1.1   (level:#disks ...)
> Filesystems Taped             4          3          1   (1:1)
> Avg Tp Write Rate (k/s)   204.0      229.3       34.1
> 
> 
> NOTES:
>   planner: Dump larger than tape: full dump of localhost:/usr delayed.
>   taper: tape Daily01 kb 550656 fm 4 [OK]
> 
> 
> DUMP SUMMARY:
>                                      DUMPER STATS            TAPER STATS 
> HOSTNAME     DISK        L ORIG-KB OUT-KB COMP% MMM:SS  KB/s MMM:SS  KB/s
> -------------------------- --------------------------------- ------------
> localhost    /home       0  103904 103904   --    8:06 213.7   8:07 213.3
> localhost    /squid      0  236384 236384   --   18:43 210.5  18:47 209.8
> localhost    /usr        1   11872  11872   --    5:48  34.1   5:49  34.1
> localhost    /var        0  198368 198368   --   12:14 270.3  12:16 269.7
> 
> (brought to you by Amanda version 2.4.2p2)
> 
> 
> The /usr partition is around 2.3GB in size
> 


I don't see a problem with your changer.  For this amdump,
amanda did not need a second tape.  Everything could fit
on a single tape.  Runtapes doesn't say how many tapes
amanda WILL use, it is how many it CAN use.

However, I'm surprised amanda did an incremental of
/usr when you  have dumpcycle 0.  I expected that to
force full dumps everytime.

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

<Prev in Thread] Current Thread [Next in Thread>