From: Sunil Mushran Subject: Re: LVM vs. Ext4 snapshots (was: [PATCH v1 00/30] Ext4 snapshots) Date: Wed, 08 Jun 2011 11:49:31 -0700 Message-ID: <4DEFC43B.1080802@oracle.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Mike Snitzer , Lukas Czerner , linux-ext4@vger.kernel.org, tytso@mit.edu, linux-kernel@vger.kernel.org, sandeen@redhat.com To: "Amir G." Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org On 06/08/2011 11:26 AM, Amir G. wrote: > 2. Data blocks are never copied > The move-on-write technique is used to re-allocate data blocks on rewrite > instead of copying them. > This is not something that can be done when the snapshot is stored on > external storage, but it can done when the snapshot file lives in the fs. But does that not lead to fragmentation. And if I am understanding this, the fragmentation will not resolve after dropping the snapshot. So while you do save the overhead on write, you make the user pay on all future reads (that need to hit the disk).