LVM snapshot and log record CRC mismatch

Emmanuel Florac eflorac at intellique.com
Thu May 26 05:23:15 CDT 2016


Le Wed, 25 May 2016 09:37:41 +0200
Gionatan Danti <g.danti at assyoma.it> écrivait:

> The snapshot is accomplished using the following commands:
> 
> lvcreate -s hypervisor/KVM_Storage --name Backup_SNAP
> lvchange -ay -K hypervisor/Backup_SNAP
> mount -o nouuid /dev/hypervisor/Backup_SNAP /mnt/lvm/
> 

You need to use xfs_freeze to make the filesystem coherent before
snapshot:

xfs_freeze /dev/hypervisor/KVM_Storage
lvcreate -s hypervisor/KVM_Storage --name Backup_SNAP
xfs_freeze -u /dev/hypervisor/KVM_Storage
lvchange -ay -K hypervisor/Backup_SNAP

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac at intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------



More information about the xfs mailing list