Amanda-Users

Re: The spanning patch

2005-03-03 10:59:19
Subject: Re: The spanning patch
From: John Stange <building AT nap DOT edu>
To: Gene Heskett <gene.heskett AT verizon DOT net>
Date: Thu, 3 Mar 2005 10:39:51 -0500
> I'm afraid that the results of the spanning patch by John
> Stange (Hi John) are a bit less than optimum in some regards.
> 
> 1: The printed reports as to whats on which tape are at quite
> large odds with the results of doing a directory on that vtape.
> The two hosts are coyote and gene, gene being my firewall, and
> coyote this box.
> 
> On vtape Dailys-21 from the printout:
> File# Host Filesystem level origK compK 
> 0 - Dailys-21 - 32 32
> 6 coyote /usr/dlds/misc 0 6304950 6305248
> 24 gene /bin  1 10 64
> 2 gene /boot  0 29930 29984
> 14 gene /etc  0 11780 2144
> 12 gene /home  0 17200 4096
> 4 gene /lib  0 62870 22560
> 20 gene /opt  1 5470 320
> 16 gene /root  1 8750 800
> 10 gene /sbin  0 12210 5344
> 22 gene /usr/bin 1 50 96
> 18 gene /usr/local 1 4030 544
> 8 gene /usr/src 1 57850 9248
> ---end of printout for that vtape---
> However, here is an ls -l of that vtape:
> -rw-------  1 amanda disk        10 Mar  2 01:31 00000-Dailys-21
> -rw-------  1 amanda disk     32768 Mar  2 01:31 00000.Dailys-21
> -rw-------  1 amanda disk        12 Mar  2 01:35 00001-gene._boot.0
> -rw-------  1 amanda disk  30703616 Mar  2 01:35 00001.gene._boot.0
> -rw-------  1 amanda disk        12 Mar  2 01:40 00002-gene._lib.0
> -rw-------  1 amanda disk  23101440 Mar  2 01:40 00002.gene._lib.0
> -rw-------  1 amanda disk        14 Mar  2 01:41 00003-coyote._usr_dlds-misc.0
> -rw-------  1 amanda disk 805273600 Mar  2 01:41 00003.coyote._usr_dlds-misc.0
> -rw-------  1 amanda disk        14 Mar  2 01:42 00004-coyote._usr_dlds-misc.0
> -rw-------  1 amanda disk 805306368 Mar  2 01:42 00004.coyote._usr_dlds-misc.0
> -rw-------  1 amanda disk        14 Mar  2 01:44 00005-coyote._usr_dlds-misc.0
> -rw-------  1 amanda disk 805306368 Mar  2 01:44 00005.coyote._usr_dlds-misc.0
> -rw-------  1 amanda disk        14 Mar  2 01:45 00006-coyote._usr_dlds-misc.0
> -rw-------  1 amanda disk 805306368 Mar  2 01:45 00006.coyote._usr_dlds-misc.0
> -rw-------  1 amanda disk        14 Mar  2 01:46 00007-coyote._usr_dlds-misc.0
> -rw-------  1 amanda disk 805306368 Mar  2 01:46 00007.coyote._usr_dlds-misc.0
> -rw-------  1 amanda disk        14 Mar  2 01:48 00008-coyote._usr_dlds-misc.0
> -rw-------  1 amanda disk 805306368 Mar  2 01:48 00008.coyote._usr_dlds-misc.0
> -rw-------  1 amanda disk        14 Mar  2 01:49 00009-coyote._usr_dlds-misc.0
> -rw-------  1 amanda disk 805306368 Mar  2 01:49 00009.coyote._usr_dlds-misc.0
> -rw-------  1 amanda disk        14 Mar  2 01:50 00010-coyote._usr_dlds-misc.0
> -rw-------  1 amanda disk 805306368 Mar  2 01:50 00010.coyote._usr_dlds-misc.0
> -rw-------  1 amanda disk        12 Mar  2 01:51 00011-coyote._usr_dlds-misc.0
> -rw-------  1 amanda disk  14155776 Mar  2 01:51 00011.coyote._usr_dlds-misc.0
> -rw-------  1 amanda disk        12 Mar  2 01:51 00012-gene._usr_src.1
> -rw-------  1 amanda disk   9469952 Mar  2 01:51 00012.gene._usr_src.1
> -rw-------  1 amanda disk        12 Mar  2 01:51 00013-gene._sbin.0
> -rw-------  1 amanda disk   5472256 Mar  2 01:51 00013.gene._sbin.0
> -rw-------  1 amanda disk        12 Mar  2 01:51 00014-gene._home.0
> -rw-------  1 amanda disk   4194304 Mar  2 01:51 00014.gene._home.0
> -rw-------  1 amanda disk        11 Mar  2 01:51 00015-gene._etc.0
> -rw-------  1 amanda disk   2195456 Mar  2 01:51 00015.gene._etc.0
> -rw-------  1 amanda disk        11 Mar  2 01:51 00016-gene._root.1
> -rw-------  1 amanda disk    819200 Mar  2 01:51 00016.gene._root.1
> -rw-------  1 amanda disk        11 Mar  2 01:51 00017-gene._usr_local.1
> -rw-------  1 amanda disk    557056 Mar  2 01:51 00017.gene._usr_local.1
> -rw-------  1 amanda disk        10 Mar  2 01:51 00018-gene._opt.1
> -rw-------  1 amanda disk    327680 Mar  2 01:51 00018.gene._opt.1
> -rw-------  1 amanda disk        10 Mar  2 01:51 00019-gene._usr_bin.1
> -rw-------  1 amanda disk     98304 Mar  2 01:51 00019.gene._usr_bin.1
> -rw-------  1 amanda disk        10 Mar  2 01:53 00020-gene._bin.1
> -rw-------  1 amanda disk     65536 Mar  2 01:53 00020.gene._bin.1
> -rw-------  1 amanda disk        14 Mar  2 01:54 00021-coyote._amanda.0
> -rw-------  1 amanda disk 805273600 Mar  2 01:54 00021.coyote._amanda.0
> -rw-------  1 amanda disk        12 Mar  2 01:54 00022-coyote._amanda.0
> -rw-------  1 amanda disk  11632640 Mar  2 01:54 00022.coyote._amanda.0
> 
> Note that there is nominally 817 megabytes of /amanda from coyote
> and this is the file that was actually spanned to the next tape
> but which is not included in the printout.  It is listed as the
> top item on the subsequent Dailys-22 printout page with its total
> size of 1350310K, which compressed to 8180880K.

Hm, the reporter stuff works normally with my current setup, that could be an
issue with the patch I generated for the latest snapshot.

> 2:  Where formerly the emailed report from amverify reported in
> full format, listing all the files it verified, now it does not.
> A very limited form of the report is sent instead:

I haven't looked at amverify yet at all (you're the first person who's tried to
use it with the patch).  I'll take a whack at it once some regular work stuff
is off my plate.

> That said John, it does look as if it would be useable for some
> who cannot, for various reasons, break their disklist entries
> up into amanda compatible sized pieces such as I've already done
> here.  In fact, I'd say it was very good for a test release. :)
> 
> I'd also say that my exclude file for /dlds-misc is not working,
> so that bears a closer look, I believe its includeing the subdirs
> that contain the 9 iso images of the FC3 release from the size
> of it above.

Could I get a sample of your disklist and associated DLE types?  Needn't be
literal, a sanitized version will do, but it'll help in reproducing what you're
seeing here (and also with the screwy report business).  Thanks a bunch...

-- 
John Stange, Systems Administrator
National Academies Press
202-334-3514

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