From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx08.extmail.prod.ext.phx2.redhat.com [10.5.110.32]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1BAC587448 for ; Fri, 7 Apr 2017 08:19:27 +0000 (UTC) Received: from mail-wr0-f174.google.com (mail-wr0-f174.google.com [209.85.128.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 05379C0010A8 for ; Fri, 7 Apr 2017 08:19:26 +0000 (UTC) Received: by mail-wr0-f174.google.com with SMTP id c55so22518601wrc.3 for ; Fri, 07 Apr 2017 01:19:25 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1438f48b-0a6d-4fb7-92dc-3688251e0a00@assyoma.it> References: <1438f48b-0a6d-4fb7-92dc-3688251e0a00@assyoma.it> From: Mark Mielke Date: Fri, 7 Apr 2017 04:19:24 -0400 Message-ID: Content-Type: multipart/alternative; boundary=001a1146790c88f371054c8f480c Subject: Re: [linux-lvm] Snapshot behavior on classic LVM vs ThinLVM Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: LVM general discussion and development --001a1146790c88f371054c8f480c Content-Type: text/plain; charset=UTF-8 On Thu, Apr 6, 2017 at 10:31 AM, Gionatan Danti wrote: > I'm seeking some advice for a new virtualization system (KVM) on top of > LVM. The goal is to take agentless backups via LVM snapshots. > > In short: what you suggest to snapshot a quite big (8+ TB) volume? Classic > LVM (with old snapshot behavior) or thinlvm (and its new snapshot method)? > I found classic LVM snapshots to suffer terrible performance. I switched to BTRFS as a result, until LVM thin pools became a real thing, and I happily switched back. I expect this depends on exactly what access patterns you have, how many accesses will happen during the time the snapshot is held, and whether you are using spindles or flash. Still, even with some attempt to be objective and critical... I think I would basically never use classic LVM snapshots for any purpose, ever. -- Mark Mielke --001a1146790c88f371054c8f480c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On T= hu, Apr 6, 2017 at 10:31 AM, Gionatan Danti <g.danti@assyoma.it>= wrote:
I'm= seeking some advice for a new virtualization system (KVM) on top of LVM. T= he goal is to take agentless backups via LVM snapshots.

In short: what you suggest to snapshot a quite big (8+ TB) volume? Classic = LVM (with old snapshot behavior) or thinlvm (and its new snapshot method)?<= br>

I found classic LVM snapshots to suffer terr= ible performance. I switched to BTRFS as a result, until LVM thin pools bec= ame a real thing, and I happily switched back.

I expect this depends on exactly w= hat access patterns you have, how many accesses will happen during the time= the snapshot is held, and whether you are using spindles or flash. Still, = even with some attempt to be objective and critical... I think I would basi= cally never use classic LVM snapshots for any purpose, ever.


--
Mark Mielke &= lt;mark.mielke@g= mail.com>

--001a1146790c88f371054c8f480c--