[linux-lvm] meaning of -L for snapshots ?

Jonathan Brassow jbrassow at redhat.com
Tue Dec 20 21:43:59 UTC 2005


Note, that if you guess wrong and create a snapshot that is too small,
you can always grow the volume (lvextend).

 brassow

On Mon, 2005-12-19 at 16:49 -0800, kelsey hudson wrote:
> 
> Olivier Kaloudoff wrote:
> 
> >     Who can explain the usage of -L10M for my snapshot ?
> 
> LVM snapshots have a limitation to how much data can change before the 
> snapshot becomes invalid. So, by using -L10M, you're saying to keep the 
> snapshot around until 10M of data has changed, then the snapshot becomes 
> invalid.
> 
> Because of the way LVM snapshots work, they require extra space on a 
> volume. So, the size of your snapshot volume dictates how long it will 
> remain valid. A good rule of thumb is between 10% and 20% of your 
> primary volume's size. That way, 10 to 20% of the filesystem's contents 
> can change and your snapshot will remain valid.
> 
> Hope this clears some things up for you.
> 
> -Kelsey
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




More information about the linux-lvm mailing list