From: g.danti@assyoma.it
To: linux-lvm@redhat.com
Subject: [linux-lvm] Retrieve changed block with snapshots
Date: Tue, 13 Aug 2013 23:00:53 +0200 [thread overview]
Message-ID: <6dc995dfc593a1d581b7db5c19fb11ea@assyoma.it> (raw)
Hi all,
I'm using LVM2 as VM backend and I am very happy with the result.
One thing that I feel useful but that I can't figure how to get working
is to use snapshots to obtain the list of changed block after the
snapshot was taken.
To be more clear:
- immagine to have a LV called "LV1"
- take a snapshot of "LV1" and name it "SNAP1"
- now "SNAP1" has a point-in-time image of "LV1", and by reading from
it I can go "back in time" to when I issued the snapshot
- but how I can get the list of only the changed block between "LV1"
and "SNAP1"?
Its my understanding that some Ruby/Python scripts can read the COW
table and retrieve the list of the changed block, however I am not so
inclined to use them on production server. So, we have a method _inside_
the current LVM tools that enable us to retrieve the changed block list?
Regards.
reply other threads:[~2013-08-13 21:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6dc995dfc593a1d581b7db5c19fb11ea@assyoma.it \
--to=g.danti@assyoma.it \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.