Re: Protection against data failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 10 Aug 2011 14:44:38 +0200
Sun_Blood <sblood@xxxxxxxxx> wrote:

> ...
> 
> A final question that is more LVM but it sounds like you have some
> knowledge in this area. My setup is LVM -> LUKS -> Filesystem.
> If I use LVM snappshots on the LVM will the LUKS header also be
> backuped because it's on top of LVM?

That depends.

As an example:
Let's assume that /dev/mapper/sda is a linear mapping of /dev/sda.

cat /dev/zero > /dev/mapper/sda: snapshotting could preserve overwritten data
cat /dev/zero > /dev/sda: you are bypassing device mapper and overwritting
"form below" device mapper. So it can't do anything.

Snapshotting does not create physical copies of the snapshotted volume
automatically! Data will only be copied, if it is modified "from above" in
the original volume.

So, snapshotting is a very bad way to protect against accidental header
corruption and other forms of damage in lower levels. In general, snapshots
are no replacement for backups but can be a powerful addition.

Regards,
Marc
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux