dm snapshot diffs
Hello. I' m using LVM with snapshots on a big storage and for some reason I need to get some information that bare LVM doesn't provide. Is there a way to get a list of blocks that was changed since the snapshot was created? I see that snapshot-cow device if being filled, but how I can find a "old block in origin -> new block in cow" mapping?
Quoted 6 lines · Groshev Dmitry
Hello. I' m using LVM with snapshots on a big storage and for some reason I need to get some information that bare LVM doesn't provide. Is there a way to get a list of blocks that was changed since the snapshot was created? I see that snapshot-cow device if being filled, but how I can find a "old block in origin -> new block in cow" mapping?
you may want to look at dds in the www.opensvc.com git repo. This small tool parse the lvm2 snapshot cow table format.