From owner-freebsd-fs@FreeBSD.ORG Wed Aug 8 16:09:04 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97154106564A for ; Wed, 8 Aug 2012 16:09:04 +0000 (UTC) (envelope-from bgold@simons-rock.edu) Received: from hedwig.simons-rock.edu (hedwig.simons-rock.edu [208.81.88.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6A1FD8FC0A for ; Wed, 8 Aug 2012 16:09:04 +0000 (UTC) Received: from behemoth (behemoth.simons-rock.edu [10.30.2.44]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by hedwig.simons-rock.edu (Postfix) with ESMTPSA id E2DEB13E; Wed, 8 Aug 2012 12:09:03 -0400 (EDT) From: "Brian Gold" To: "'Freddie Cash'" References: <0c8801cd757a$601018e0$20304aa0$@simons-rock.edu> In-Reply-To: Date: Wed, 8 Aug 2012 12:08:53 -0400 Message-ID: <0c9d01cd7580$1b8ecee0$52ac6ca0$@simons-rock.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJsV7V78kgQS/TPjmzlbMJpfEPggQF1n0LrlgadxrA= Content-Language: en-us Cc: freebsd-fs@freebsd.org Subject: RE: undoing zfs deduplication X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2012 16:09:04 -0000 > Yes, that is the only option for "un-deduping" a filesystem. >=20 > zfs send/recv from the deduped filesystem to one with dedup=3Doff. = Then delete the deduped filesystem. >=20 > Note: a "zfs destroy" will use a lot of RAM as it has to go through = an update all the DDT entries. You may have to manually delete > individual snapshots, and then manually delete individual directories = in the filesystem, before destroying the actual filesystem. You > may run into a situation where you don't have enough RAM/ARC to = destroy a deduped filesystem. >=20 > -- > Freddie Cash > fjwcash@gmail.com >From what I've read so far, it looks like a "zfs send -R" would send the = filesystem and all of the snapshots I've made. So would something like = this work to move the duped filesystem and all of its snapshots over to = a new undeduped filesystem: "zfs send -R backup/duped | zfs receive -duv = backup/deduped" ?