When installing suse 13.1, there is the option to encrypt the particular LV in its entirety. That is what I selected. This was done for several LVs used, not for the root volume and /boot. As my knowledge of linux is not very deep, that is all I can tell you. On the other hand, if it was only a race condition, would one not expect it to work in 50% of the cases (2 disks in the raid)?
Once upon a time in the future I will delve into major/minor numbers and encryption etc, because I think I need some more knowledge. Regards, Charles On Sun, 2 Mar 2014 19:20:30 -0500 Nathan Stratton Treadway <[email protected]> wrote: > On Sun, Mar 02, 2014 at 21:57:59 +0100, Charles Stroom wrote: > > behaved as it should. Strange that in fact the encryption seems to > > make the difference, not the LVM/Raid. I had seen this remark on > > device numbers before, but my knowledge is too limited to have > > grasped the effects. > > You didn't say exactly how you had encryption configured within the > LVM infrastructure, but one possible explaination is that there is a > race condition during boot time as the volumes are decrypted before > being mounted, resulting in them being mounted in different orders on > different boots, and thus getting assigned different device ids. > > You may find some hints as to whats going on looking at the Major and > Minor device numbers in the output of "ls -l /dev/mapper/" over the > course of several reboots. > > For individual files, you can look at the "Device:" field of the > "stat" output. > > > > > > > but then not working in the next scheduled amdump. Until I realised > > that all my tests were done one after the other, but the amdump was > > done after the PC was rebooted (this is my personal PC, which is > > shutdown every night). So I repeated my manual tar tests, and > > indeed, they worked even without the "no-check-device", but failed > > if I did a reboot in between. > > If you compare the Device Id from the "stat" for the files being > backed up (the decimal version) with the the "dev" field of the > snapshot files, you should find that without "no-check-device", you > get full-sized level 1 dumps whenever the Device Id changes... > > Nathan > > ---------------------------------------------------------------------------- > Nathan Stratton Treadway - [email protected] - Mid-Atlantic > region Ray Ontko & Co. - Software consulting services - > http://www.ontko.com/ GPG Key: > http://www.ontko.com/~nathanst/gpg_key.txt ID: 1023D/ECFB6239 Key > fingerprint = 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB 6239 -- Charles Stroom email: charles at no-spam.stremen.xs4all.nl (remove the "no-spam.")
