From owner-freebsd-fs@FreeBSD.ORG Thu Aug 8 08:12:56 2013 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AF0432AE for ; Thu, 8 Aug 2013 08:12:56 +0000 (UTC) (envelope-from prvs=19321e062d=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4E51D2DA3 for ; Thu, 8 Aug 2013 08:12:56 +0000 (UTC) Received: from r2d2 ([82.69.141.170]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50005401189.msg for ; Thu, 08 Aug 2013 09:12:53 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Thu, 08 Aug 2013 09:12:53 +0100 (not processed: message from valid local sender) X-MDDKIM-Result: neutral (mail1.multiplay.co.uk) X-MDRemoteIP: 82.69.141.170 X-Return-Path: prvs=19321e062d=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: fs@freebsd.org Message-ID: <9789E77C6156417980C49B0202673887@multiplay.co.uk> From: "Steven Hartland" To: "Willem Jan Withagen" , References: <520262C6.2060606@digiware.nl> <4467AAF5BA6A450FAC9BD9306110A256@multiplay.co.uk> <52026DC2.8070000@digiware.nl> <5202AB11.205@digiware.nl> <39CF025C25F34968A4AF344142CC7225@multiplay.co.uk> <520345F9.7090508@digiware.nl> Subject: Re: Crash while sending ZFS file system Date: Thu, 8 Aug 2013 09:13:00 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Aug 2013 08:12:56 -0000 ----- Original Message ----- From: "Willem Jan Withagen" To: "Steven Hartland" ; Sent: Thursday, August 08, 2013 8:17 AM Subject: Re: Crash while sending ZFS file system > On 2013-08-07 23:22, Steven Hartland wrote: >> >> ----- Original Message ----- From: "Willem Jan Withagen" >>> # zfs send -n -v -R zfsraid@box >> ... >> >>> Need origin_guid 16676154253971996192 for zfsraid/home >>> Need parent_guid 3602069970101155964 for zfsraid/home/clone_20100925 >>> Need parent_guid 3602069970101155964 for zfsraid/home/Software >>> Need parent_guid 3602069970101155964 for zfsraid/home/www >>> Need parent_guid 3602069970101155964 for zfsraid/home/Media >>> Need parent_guid 3602069970101155964 for zfsraid/home/angelic >>> Need parent_guid 3602069970101155964 for zfsraid/home/mrtg >>> Need parent_guid 3602069970101155964 for zfsraid/home/wjw >>> Assertion failed: (progress), file >>> /usr/srcs/src9/src/cddl/lib/libzfs/../../../cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c, >>> >>> line 1318. >>> Abort (core dumped) >> >> I believe the problem you have is that zfsraid/home depends on its >> parent guid of 16676154253971996192 which according to your >> zfs list is:- >> zfsraid/home/clone_20100925@20100925 16676154253971996192 - >> >> This is a child of zfsraid/home so it will itself dependent on >> zfsraid/home creating a cyclic dependency which can't be resolved. >> >> I suspect zfsraid/home was cloned from zfsraid/somethingelse and >> then subsiquently zfsraid/somethingelse was renamed to >> zfsraid/home/clone_20100925 creating the cycle. >> >> The updated patch should had enough extra debug to confirm this. >> >> If I'm right then simpy renaming zfsraid/home/clone_20100925 to >> zfsraid/clone_20100925, so its not under zfsraid/home, should be >> enough to remove the cycle and allow the send to complete. > > I think you are most probably right. > I have been experimenting with clones at one time to sort of "clean up" > old snapshots.. But one way or another it did not work. > > I'll patch libzfs and send the resulting output. > > Is there a way to shortcut the buildproces? > Now I just do > 'make -DNO_CLEAN -DNOCLEAN buildworld && make installworld' > But I have a feeling that there could be a shortcut. Yer the following is all thats required. cd cddl/lib/libzfs && make && make install Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.