Am 22.08.2011 16:23, schrieb Nathan Stratton Treadway:
On Mon, Aug 22, 2011 at 09:33:27 -0400, Nathan Stratton Treadway wrote:
On Mon, Aug 22, 2011 at 07:18:43 +0200, Thomas Marko wrote:
Some facts about the DLE:

The DLE is a subdirectory of a mounted LV (LVM2) part of a PV configured as 
RAID1:
fstab: /dev/Store01-Data/Bilder         /storage/bilder         ext3  
suid,exec,nodev,user_xattr  0  0

Try running
   stat --format="%D" /storage/bilder/
over the course of a couple days, and see if the Device number
changes between the level 0 run and the as-big-a-level-0 level 1 run.
(LVM assigns the device numbers dynamically, so it's quite possible for
the numbers to change over the course of a reboot, etc.)

If the numbers are changing, then this page should hopefully tell you
what you need to know:

   
http://wiki.zmanda.com/index.php/Tar_dumps_every_file_in_a_level-1_backup_after_a_hardware_change


(Or, if you want to investigate more quickly, you could try using the
tar-snapshot-edit script mentioned on that page to examine the snapshot
files from your various runs and see if the device number has indeed
changed.  [On Ubuntu, you'll find those snapshot files under
/var/lib/amanda/gnutar-lists on the client machine.])

I created a cronjob to record the ID every day at midnight (the same time, when the backup starts. I'll keep you updated about that in a few days.

A quick investigation is a bit confusing as the output is not as expected:

root@SrvLinux1:~# ./tar-snapshot-edit /var/lib/amanda/gnutar-lists/srvlinux1Bilder-Negative_*
file version 2
file version 2
file version 2
file version 2
file version 2
file version 2
file version 2

root@SrvLinux1:~# l /var/lib/amanda/gnutar-lists/srvlinux1Bilder-Negative_*
-rw------- 1 backup backup 1189148 2011-08-10 01:45 /var/lib/amanda/gnutar-lists/srvlinux1Bilder-Negative_0 -rw------- 1 backup backup 1189148 2011-08-13 01:55 /var/lib/amanda/gnutar-lists/srvlinux1Bilder-Negative_1 -rw------- 1 backup backup 1189148 2011-08-16 01:57 /var/lib/amanda/gnutar-lists/srvlinux1Bilder-Negative_2 -rw------- 1 backup backup 1190176 2011-08-21 02:43 /var/lib/amanda/gnutar-lists/srvlinux1Bilder-Negative_3 -rw------- 1 backup backup 1190176 2011-08-22 00:04 /var/lib/amanda/gnutar-lists/srvlinux1Bilder-Negative_4 -rw------- 1 backup backup 1156752 2011-06-13 00:56 /var/lib/amanda/gnutar-lists/srvlinux1Bilder-Negative_5 -rw------- 1 backup backup 1157485 2011-06-15 05:59 /var/lib/amanda/gnutar-lists/srvlinux1Bilder-Negative_6

I wonder that the old snap files for level 5 and 6 from a former dumpcycle were not deleted, but maybe that this is a normal behaviour.

/Thomas

Reply via email to