[ClusterLabs] snapshoting of running VirtualDomain resources - OCFS2 ?
bernd.lentes at helmholtz-muenchen.de
Fri Mar 16 13:23:47 EDT 2018
----- On Mar 15, 2018, at 3:47 AM, Gang He ghe at suse.com wrote:
> Hello Lentes,
>> i have a 2-node-cluster with my services (web, db) running in VirtualDomain
>> I have a SAN with cLVM, each guest lies in a dedicated logical volume with
>> an ext3 fs.
>> Currently i'm thinking about snapshoting the guests to make a backup in the
>> background. With cLVM that's not possible, you can't snapshot a lustered lv.
>> Using virsh and qemu-img i didn't find a way to do this without a shutdown
>> of the guest, which i'd like to avoid.
>> I found that ocfs2 is able to make snapshots, oracle calls them reflinks.
>> So formatting the logical volumes for the guests with ocfs2 would give me
>> the possibility to snapshot them.
>> I know that using ocfs2 for the lv's is oversized, but i didn't find another
>> way to solve my problem.
> Yes, OCFS2 reflink can meet your requirement, this is also why ocfs2 introduces
> file clone.
would you manage the ocfs2 of the logical volumes by fstab or by the cluster ?
I'd prefer by fstab because then the cluster configuration would be more overseeable.
Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons Enhsen
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671
More information about the Users