Amanda-Users

printed report in error with 2.5.1p2-20061120

2006-11-22 17:12:53
Subject: printed report in error with 2.5.1p2-20061120
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org
Date: Wed, 22 Nov 2006 17:03:46 -0500
Greetings;

I thought maybe I'd better get amanda running again after updating this 
box from FC2 to Fc6 about 2 weeks back.

So I removed the entries for the machine gene from teh disklist since I'm 
now useing the x86 build of DD-WRT for a router/firewall & gene, a 300+ 
watt power hog, has been powered down till whenever.

Anyway, I ran it by hand using my usual script that cron runs to do this, 
and was surprised to see the printed report say it had only backed up 
2166.2 megs.  The estimate tallied about 23gb.  Hummm, & I go wandering 
around to see what upchecked.  First I checked in /dumps, and there's a 
large pile waiting to be taped:
[amanda@coyote dumps]$ ls -l
total 8
drwx------ 2 amanda amanda 4096 Nov 22 12:55 20061122102422
[amanda@coyote dumps]$ cd 20061122102422/
[amanda@coyote 20061122102422]$ ls -l
total 15353432
-rw------- 1 amanda amanda    7641088 Nov 22 12:53 coyote._bin.0
-rw------- 1 amanda amanda   40798208 Nov 22 12:51 coyote._boot.0
-rw------- 1 amanda amanda     339968 Nov 22 12:54 coyote._dev.0
-rw------- 1 amanda amanda   24509572 Nov 22 12:51 coyote._etc.0
-rw------- 1 amanda amanda  935754744 Nov 22 11:37 
coyote._GenesAmandaHelper-0.5.0
-rw------- 1 amanda amanda  335897196 Nov 22 11:30 coyote._home.0
-rw------- 1 amanda amanda  250490738 Nov 22 12:34 coyote._lib.1
-rw------- 1 amanda amanda  739566534 Nov 22 11:49 coyote._opt.0
-rw------- 1 amanda amanda 1073741824 Nov 22 11:24 coyote._root.2
-rw------- 1 amanda amanda   37595346 Nov 22 11:25 coyote._root.2.1
-rw------- 1 amanda amanda   24567808 Nov 22 12:52 coyote._sbin.0
-rw------- 1 amanda amanda    2281615 Nov 22 12:53 coyote._tmp.0
-rw------- 1 amanda amanda  424777728 Nov 22 11:51 coyote._usr_bin.0
-rw------- 1 amanda amanda  382076928 Nov 22 11:51 coyote._usr_dlds.0
-rw------- 1 amanda amanda  810436608 Nov 22 11:38 coyote._usr_dlds-misc.0
-rw------- 1 amanda amanda  117925888 Nov 22 12:26 coyote._usr_dlds-rpms.0
-rw------- 1 amanda amanda      63488 Nov 22 12:54 coyote._usr_dlds-tgzs.0
-rw------- 1 amanda amanda      43008 Nov 22 12:55 coyote._usr_games.0
-rw------- 1 amanda amanda  128360448 Nov 22 12:24 coyote._usr_include.0
-rw------- 1 amanda amanda    1425408 Nov 22 12:53 coyote._usr_kerberos.0
-rw------- 1 amanda amanda  528648926 Nov 22 12:51 coyote._usr_lib.1
-rw------- 1 amanda amanda   28877138 Nov 22 12:52 coyote._usr_libexec.0
-rw------- 1 amanda amanda  109894645 Nov 22 12:26 coyote._usr_local.0
-rw------- 1 amanda amanda     234366 Nov 22 12:54 coyote._usr_man.0
-rw------- 1 amanda amanda 1073741824 Nov 22 10:39 coyote._usr_movies.1
-rw------- 1 amanda amanda 1073741824 Nov 22 10:42 coyote._usr_movies.1.1
-rw------- 1 amanda amanda 1073741824 Nov 22 10:47 coyote._usr_movies.1.2
-rw------- 1 amanda amanda 1073741824 Nov 22 10:51 coyote._usr_movies.1.3
-rw------- 1 amanda amanda 1073741824 Nov 22 10:56 coyote._usr_movies.1.4
-rw------- 1 amanda amanda 1073741824 Nov 22 11:00 coyote._usr_movies.1.5
-rw------- 1 amanda amanda 1073741824 Nov 22 11:04 coyote._usr_movies.1.6
-rw------- 1 amanda amanda  595360210 Nov 22 11:06 coyote._usr_movies.1.7
-rw------- 1 amanda amanda   13783078 Nov 22 12:53 coyote._usr_sbin.0
-rw------- 1 amanda amanda  881227178 Nov 22 12:24 coyote._usr_share.1
-rw------- 1 amanda amanda  693649066 Nov 22 12:08 coyote._usr_src.2
-rw------- 1 amanda amanda      32990 Nov 22 12:54 coyote._usr_X11R6.0

Which I haven't bothered to total up but it looks to be at least 10-11GB.

So I go take a look at the vtape to see why some of those smaller files 
weren't taped, and find:

[amanda@coyote 20061122102422]$ ls -l /amandatapes/Dailys/data/
total 8497816
-rw------- 1 amanda amanda         10 Nov 22 10:33 00000-Dailys-15
-rw------- 1 amanda amanda      32768 Nov 22 10:33 00000.Dailys-15
-rw------- 1 amanda amanda         14 Nov 22 10:36 00001-coyote._usr_pix.0
-rw------- 1 amanda amanda 1628667904 Nov 22 10:36 00001.coyote._usr_pix.0
-rw------- 1 amanda amanda         14 Nov 22 11:06 00002-coyote._var.3
-rw------- 1 amanda amanda  642744320 Nov 22 11:06 00002.coyote._var.3
-rw------- 1 amanda amanda         15 Nov 22 11:14 
00003-coyote._usr_movies.1
-rw------- 1 amanda amanda 6326878208 Nov 22 11:14 
00003.coyote._usr_movies.1
-rw-r--r-- 1 amanda amanda     102400 Nov 22 12:55 configuration.tar
-rw-r--r-- 1 amanda amanda   94750720 Nov 22 12:55 indices.tar

As you can see, there is a 6.3GB file there that isn't noted in the 
printout.  Humm, and its 1GB pieces are still in /dumps, so it EOT'd 
while merging that to the single file on the vtape.

Ok, so here is a request for enhancement that would be quite usefull for 
those of us running vtapes.

Could it be made so that when this occurs, rather than leaving the 
incomplete output file on the vtape where its just wasted disk space, why 
not delete it and then try the next larger file to see if it fits, and 
repeat till one is found that does fit?  And repeat this EOT action until 
all files in the holding disk have been scanned and whats left are all 
too big.

Seems like the sensible thing to do but I've NDI how hard it would be to 
code that up only for us vtape users.

What I'm going to do right now is delete it, make the vtape considerably 
larger on a one time basis and run a flush, which should write the rest 
of them.  Then once a day reduce the vtape by a gig, until its back down 
into the area where it is now.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.

<Prev in Thread] Current Thread [Next in Thread>
  • printed report in error with 2.5.1p2-20061120, Gene Heskett <=