[linux-lvm] Snapshot documentation

Michael Marxmeier mike at msede.com
Wed Mar 8 03:00:15 UTC 2000

Jay Weber wrote:
> Been playing with snapshots and am noticing I can create a snapshot with
> less PE's than my source LV that I'm snapshotting, with the small side
> effect of:
> lvcreate -- WARNING: all snapshots will be disabled if more than 12 MB are
> changed

For now snapshots use a COW model at the block level. Each modified 
block gets saved (once) to the snapshot area. If the space dedicated 
to the snapshot area is exhausted the snapshot is discarded (and the
the saved blocks are simply discarded). Otherwise the fs would become

When/if LVM once has persistent snapshots this might need to change.

> Is the above message implying that if I change more than 12MB of data on
> my source LV that the snapshot is then defunct/useless?  Does that include
> deletes, etc?

Yes. Though deletes should only affect the inode and lists of indirect
blocks (if any) so deleting a 12MB files does not necessarily result 
in 12MB of changes.

Hope this helps

Michael Marxmeier           Marxmeier Software AG
E-Mail: mike at msede.com      Besenbruchstrasse 9
Phone : +49 202 2431440     42285 Wuppertal, Germany
Fax   : +49 202 2431420     http://www.msede.com/

More information about the linux-lvm mailing list