[CentOS] LVM + XFS + external log + snapshots - SOLVED

aurfalien aurfalien at gmail.com
Tue Jun 25 19:23:29 UTC 2013


On Jun 25, 2013, at 6:02 AM, Gordon Messmer wrote:

> On 06/24/2013 07:49 PM, aurfalien wrote:
>> Freezing the fs looks to make the log zero.  So assigning any
>> device/file for the external log would work. My mistake was not
>> making the log dev an LVM.  However I don't if a log on an LVM would
>> have worked anyways.
> 
> It wouldn't work.  If you snapshot a filesystem (XFS or Ext4) with an 
> external journal, you'll need to create a new one or modify the snapshot 
> to specify no journal.

Ah, good to know.  So the method I found, actually one suggested to me from the XFS list was the only solution.

> I've started a project to handle these things automatically and make it 
> easier for everyone to make backups using snapshots.  Initial work is 
> here, and I'll be picking it up again when I'm back from Prague.
> 
> https://bitbucket.org/gordonmessmer/dragonsdawn-snapshot
> 
> I'll be adding support for XFS, NetApp, and btrfs soon.


Nice info man, thank you very much.

- aurf


More information about the CentOS mailing list