Date: Wed, 8 Aug 2012 09:32:26 -0700 From: Freddie Cash <fjwcash@gmail.com> To: Brian Gold <bgold@simons-rock.edu> Cc: freebsd-fs@freebsd.org Subject: Re: undoing zfs deduplication Message-ID: <CAOjFWZ6zxDN=15AbeUQYb3AHiycTcy2MnRbWhzL1HTw97qcjqQ@mail.gmail.com> In-Reply-To: <0c9d01cd7580$1b8ecee0$52ac6ca0$@simons-rock.edu> References: <0c8801cd757a$601018e0$20304aa0$@simons-rock.edu> <CAOjFWZ5fAF54G%2BoYGPOXRK0ePAbP-MV6-CA2SJGxR6oMgO1Daw@mail.gmail.com> <0c9d01cd7580$1b8ecee0$52ac6ca0$@simons-rock.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 8, 2012 at 9:08 AM, Brian Gold <bgold@simons-rock.edu> wrote: >> Yes, that is the only option for "un-deduping" a filesystem. >> >> zfs send/recv from the deduped filesystem to one with dedup=3Doff. Then= delete the deduped filesystem. >> >> 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. >> >> -- >> 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 u= ndeduped filesystem: "zfs send -R backup/duped | zfs receive -duv backup/de= duped" ? Yes. That will create a new filesystem and snapshots of the non-deduped da= ta. You would still have to delete the deduped filesystem, though, to clear out the DDT and remove the extra RAM requirements of dedupe. --=20 Freddie Cash fjwcash@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ6zxDN=15AbeUQYb3AHiycTcy2MnRbWhzL1HTw97qcjqQ>