On Wed, Aug 10, 2011 at 11:32 PM, Edward Ned Harvey <opensolarisisdeadlongliveopensola...@nedharvey.com> wrote: >> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- >> boun...@opensolaris.org] On Behalf Of Ian Collins >> >> > I am facing issue with zfs destroy, this takes almost 3 Hours to >> delete the snapshot of size 150G. >> > >> Do you have dedup enabled? > > I have always found, zfs destroy takes some time. zpool destroy takes no > time. > > Although zfs destroy takes some time, it's not terrible unless you have > dedup enabled. If you have dedup enabled, then yes it's terrible, as Ian > suggested.
I have found that the time to destroy a snapshot or dataset is directly related to the number of objects and not the size. A dataset or snapshot with millions of small files will take a very long time (hours, but not usually days). -- {--------1---------2---------3---------4---------5---------6---------7---------} Paul Kraus -> Senior Systems Architect, Garnet River ( http://www.garnetriver.com/ ) -> Sound Designer: Frankenstein, A New Musical (http://www.facebook.com/event.php?eid=123170297765140) -> Sound Coordinator, Schenectady Light Opera Company ( http://www.sloctheater.org/ ) -> Technical Advisor, RPI Players _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss