Re: LVM snapshot and log record CRC mismatch

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

 




On 5/26/16 6:17 AM, Gionatan Danti wrote:
> On 26/05/2016 12:23, Emmanuel Florac wrote:
>> Le Wed, 25 May 2016 09:37:41 +0200
>> Gionatan Danti <g.danti@xxxxxxxxxx> é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
>>
> 
> It was my understanding that filesystem freezing was automatically managed by LVM, and integrated into VFS long ago.
> 
> I am missing something?

Nope, you are correct.  lvm snapshots handle fs quiesce.

-Eric

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs




[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux