From: "Amir G." Subject: Re: LVM vs. Ext4 snapshots (was: [PATCH v1 00/30] Ext4 snapshots) Date: Thu, 9 Jun 2011 14:44:47 +0300 Message-ID: References: <20110609105220.GA3300@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Mike Snitzer , Lukas Czerner , linux-ext4@vger.kernel.org, tytso@mit.edu, linux-kernel@vger.kernel.org, sandeen@redhat.com To: Christoph Hellwig Return-path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:37114 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753919Ab1FILoz convert rfc822-to-8bit (ORCPT ); Thu, 9 Jun 2011 07:44:55 -0400 In-Reply-To: <20110609105220.GA3300@infradead.org> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Thu, Jun 9, 2011 at 1:52 PM, Christoph Hellwig w= rote: > On Wed, Jun 08, 2011 at 09:26:11PM +0300, Amir G. wrote: >> In my old next3.sf.net wiki, which I do update from time to time, >> I listed 4 advantages of Ext4 (then next3) snapshots over LVM: >> * Performance: only small overhead to write performance with snapsho= ts >> * Scalability: no extra overhead per snapshot >> * Maintenance: no need to pre-allocate disk space for snapshots >> * Persistence: snapshots don't vanish when disk is full >> >> As far as I know, the only thing that has changed from dm-snap >> to dm-multisnap is the Scalability. > > I don't think you have looked at dm-multisnap at all, have you? You are on to me. I never tried it out or looked at the patches. I did read about the multisnap shared storage target, but didn't know about the thinp target. =46unny, I talked with Alasdair on LSF and asked him about the status of multisnap and he only said there have been several implementations, but didn't mention the thin provisioning target... or maybe I understood him wrong. So I guess that addresses the Maintenance and Persistence issues. I'm sure it cannot thin provision the entire space for fs and snapsots like ext4 snapshots do, but I'll have to read about it some more. With regards to Performance, I will just have to run benchmarks, won't = I ;-) >=A0It addresses all your points and many more. =A0Take a look at the c= ode which > is in the multisnap branch of https://github.com/jthornber/linux-2.6/= , > there's also some slides on it from Linuxtag at: > > https://github.com/jthornber/storage-papers/blob/master/thinp-snapsho= ts-2011/thinp-and-multisnap.otp?raw=3Dtrue > Thanks for the pointers! These didn't come up in my googling. Amir. -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html