Skip to contentSkip to conversation

dm-snapshot transient data

DISCUSSION Guilherme Moro 2 participants 2 messages Jul 31, 2009 Device mapper

lore
Share & tools
lore
#0 lore raw

Hello list,

I'm newcomer here, so nice to meet you all!

Is there any way to access the data of the COW device ( in transient mode) right before discard the changes?
I tried to figure out myself, but cant find a clean way to get the data before it gets discarded, and dont know exactly how to figure what blocks are saved in the COW partition.

thanks.

Guilherme Moro

#1 lore raw

I don't think many people (anyone?) uses the transient exception store for that very reason.

The future merge operation *could* allow you to at least merge any changes into the origin before you delete the snapshot, but I'm not sure anyone will pay attention to that exception store.

Since you are writing data to the COW anyway, you might as well write the metadata information too (use persistent exception store).

brassow

Quoted 14 lines · Guilherme Moro

Hello list,

I'm newcomer here, so nice to meet you all!

Is there any way to access the data of the COW device ( in transient mode) right before discard the changes?
I tried to figure out myself, but cant find a clean way to get the data before it gets discarded, and dont know exactly how to figure what blocks are saved in the COW partition.

thanks.

Guilherme Moro
--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel