[linux-lvm] Server hangs when writing to LVM volume due to LVM Snapshots

Veselin Kantsev veselin at campbell-lange.net
Mon Jun 16 21:18:44 UTC 2008


Hi Thomas,
I think I've misunderstood the concept of snapshots.

So If I have 7 snapshots of the same volume (created at different times)
and a file is changed, would the change affect all 7 snapshots or 
just the latest one created?

If the former, then I imagine changing a 1GB+ file, in my
situation will result in an unpleasant experience with the LVM snapshots.


Regards,
Veselin

On Mon, Jun 16, 2008 at 09:18:32PM +0200, Tomasz Chmielewski wrote:
> Veselin Kantsev schrieb:
>
>> The snapshots are 180GB each.
>
> So that makes 7 snapshots, each is 180GB? What percentage is filled?
>
>
>> The current writing process freezes and working with the LV becomes
>> impossible both locally and through the network.
>
> LVM-2 doesn't scale very well.
>
> If you have I/O intensive workloads, I'd discourage using (multiple)  
> snapshots.
>
> A single write to the origin mean additional writes to each and every  
> snapshot of that origin.
>
>
> -- 
> Tomasz Chmielewski
> http://wpkg.org
>
> _______________________________________________
> 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