[linux-lvm] Snapshot question...

dave at frop.net dave at frop.net
Tue Apr 22 16:47:12 UTC 2008


> Seriously... if the snapshot volume that I'm creating is a front end to 
> BOTH, when I back it up, I guess LVM just 'knows' that I mean to backup 
> the 'original'?

The snapshot *looks like* a copy of the original volume for all intents and purposes.  You can ignore the fact that it really only saves the difference between the two volumes.  As far as you are concerned, the snapshot is identical to the volume it was created from at the time of the snapshot.  

All the COW stuff happens behind the scenes.  LVM knows which blocks to get from the origin, and which blocks to get from the snapshot, because it knows which blocks have changed since the snapshot was created.

if you want to get more confused check out this google image search
http://images.google.com/images?hl=en&q=copy+on+write&btnG=Search+Images&gbv=2




More information about the linux-lvm mailing list