Amanda-Users

Re: incremental with gnutar bogusly dumping old files

2007-09-27 03:06:35
Subject: Re: incremental with gnutar bogusly dumping old files
From: Paul Bijnens <Paul.Bijnens AT xplanation DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 27 Sep 2007 09:07:07 +0200
On 2007-09-27 04:14, Dustin J. Mitchell wrote:
Just a guess -- is this a Linux machine that recently had hardware
added/removed?

If so, the device numbers may have changed for that partition, leading
tar to think that all files have been changed.  Gene Heskett chased
down such a bug several months ago.

Other than that, I can't see how this would happen.

Not only hardware added, but even LVM2 snapshots with device mapper
have the same effect.
When you have an LVM2 snapshot active, and the machines reboots, it
finds all the logical volumes, but Linux does not guarantee that the
logical volumes stay the same device number.  And a snapshot is just
one more logical volume, mapped by device manager. So same effect as adding a new device.


--
Paul Bijnens, xplanation Technology Services        Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************