Amanda-Users

Re: Strange amverify behaviour with amanda 2.4.5

2006-02-27 13:48:31
Subject: Re: Strange amverify behaviour with amanda 2.4.5
From: Tony van der Hoff <tony AT vanderhoff DOT org>
To: gene.heskett AT verizononline DOT net
Date: Mon, 27 Feb 2006 18:39:02 +0000
On 27 Feb, in message <200602271122.55827.gene.heskett AT verizon DOT net>, you
wrote:

> On Monday 27 February 2006 07:03, Tony van der Hoff wrote:
> > Having, apparently successfully, performed an amdump, consisting of
> > several DLEs, I run amverify on the same tape.
> >
> > amverify finds the first DLE image, and reports that is is OK. However,
> > it then continues to run, presumably to the end of tape, but without
> > reporting any other images. It then hangs, with the tape drive
> > indicating busy. I have to manually kill the amverify process to regain
> > control over the tape drive.
> >
> >
> > My setup has, in the past, worked fine, and in fact still does using an
> > amdump/amverify configuration with different DLEs. I recently upgraded
> > to kernel 2.6.12.
> 
> The kernel shouldn't be a factor, currently running 2.6.16-rc5 here. Yeah,
> I have spare blood. :)
> 
Well, that's the only thing that's changed recently, so I thought I'd
mention it.

> Could we see a disklist entry that works, and one that doesn't please?
> 
Yep, I was hoping to avoid cluttering the list with useless garbage :)

This works:
-------------------------------------------------------------
define dumptype user-tar {
    comment "user partitions dumped with tar"
    global
    program "GNUTAR"
    compress none
    exclude file optional append "*/recover*"
    exclude file optional append "*/restore*"
    exclude file optional append "*/download"
    priority medium
    dumpcycle 0
}

define dumptype comp-user-tar {
    user-tar
    compress client fast
}

tony-lx         /home           comp-user-tar
tony-lx         /cvsroot        comp-user-tar

--------------------------------------------------------------------
resulting in:

These dumps were to tape HomeDumps-05.
The next tape Amanda expects to use is: HomeDumps-06.


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

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

USAGE BY TAPE:
  Label              Time      Size      %    Nb
  HomeDumps-05       0:34  1698734k   18.9     2

 
NOTES:
  taper: tape HomeDumps-05 kb 1698848 fm 2 [OK]

 
DUMP SUMMARY:
                                     DUMPER STATS            TAPER STATS 
HOSTNAME     DISK        L ORIG-kB OUT-kB COMP% MMM:SS  KB/s MMM:SS  KB/s
-------------------------- --------------------------------- ------------
tony-lx      /cvsroot    0   13100   5223  39.9   0:022326.1   0:23 229.7
tony-lx      /home       0 44078401693511  38.4  33:25 844.5  33:27 844.0

(brought to you by Amanda version 2.4.5)

----------------------------------------------------------------------
verified as:

Tapes:  HomeDumps-05
No errors found!

amverify HomeDumps
Mon Feb 27 02:36:48 GMT 2006

Using device /dev/nst0
Volume HomeDumps-05, Date 20060227
Checked tony-lx._cvsroot.20060227.0
Checked tony-lx._home.20060227.0
End-of-Tape detected.

---------------------------------------------------------------------
This fails:

define dumptype root-tar {
    global
    program "GNUTAR"
    comment "root partitions dumped with tar"
    compress none
    exclude file optional append "*/tmp"
    priority low
    dumpcycle 0
}

define dumptype comp-root-tar {
    root-tar
    comment "Root partitions with compression"
    compress client best
}

define dumptype comp-var-tar {
    root-tar
    comment "var partitions with compression"
    compress client best
    #exclude list "/usr/local/etc/amanda/SysDumps/exclude"
    exclude file optional append "/var/spool"
}

tony-lx                 /bin            root-tar
tony-lx                 /boot           root-tar
tony-lx                 /etc            comp-root-tar
tony-lx                 /lib            root-tar
#tony-lx                        /root           comp-root-tar
tony-lx                 /sbin           root-tar
tony-lx                 /usr            comp-root-tar
tony-lx                 /usr/local      comp-root-tar
tony-lx                 /var            comp-var-tar
tony-lx                 /var/www        comp-var-tar

------------------------------------------------------------------
resulting in:

These dumps were to tape SysDumps-02.
The next tape Amanda expects to use is: SysDumps-01.


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

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

USAGE BY TAPE:
  Label             Time      Size      %    Nb
  SysDumps-02       0:30  1552522k   17.3     9

 
NOTES:
  taper: tape SysDumps-02 kb 1552928 fm 9 [OK]

 
DUMP SUMMARY:
                                     DUMPER STATS            TAPER STATS 
HOSTNAME     DISK        L ORIG-kB OUT-kB COMP% MMM:SS  KB/s MMM:SS  KB/s
-------------------------- --------------------------------- ------------
tony-lx      /bin        0    5420   5420   --    0:0025996.8   0:10 523.0
tony-lx      /boot       0    3190   3190   --    0:0020975.4   0:06 565.3
tony-lx      /etc        0   23570   4236  18.0   0:06 723.9   0:07 599.0
tony-lx      /lib        0   30080  30080   --    0:0217618.8   0:46 647.1
tony-lx      /sbin       0    6110   6110   --    0:0021957.3   0:11 538.6
tony-lx      /usr        0 2429770 957556  39.4  21:54 728.6  17:34 908.5
tony-lx      /usr/local  0  895650 409728  45.7   8:33 798.6   7:30 911.4
tony-lx      /var        0  202510 135016  66.7   1:042095.3   2:50 793.7
tony-lx      /var/www    0    2960   1186  40.1   0:011157.1   0:22  52.8

(brought to you by Amanda version 2.4.5)

-------------------------------------------------------------
I aborted the amverify after some hours:

Tapes:  SysDumps-02
Errors found: 
aborted!

amverify SysDumps
Sun Feb 26 14:12:45 GMT 2006

Using device /dev/nst0
Volume SysDumps-02, Date 20060226
Checked tony-lx._var_www.20060226.0
aborted!

-- 
Tony van der Hoff        | mailto:tony AT vanderhoff DOT org
Buckinghamshire, England 

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