Skip to contentSkip to conversation

dm snapshot diffs

DISCUSSION Groshev Dmitry 2 participants 2 messages May 18, 2011 – May 20, 2011 Device mapper

lore
Share & tools
lore
#0 lore raw

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?

#1 lore raw
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.