From owner-freebsd-fs@freebsd.org Fri Jul 13 12:25:27 2018 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D7CA103A5CA for ; Fri, 13 Jul 2018 12:25:27 +0000 (UTC) (envelope-from Alexander@leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 246F783783; Fri, 13 Jul 2018 12:25:26 +0000 (UTC) (envelope-from Alexander@leidinger.net) Date: Fri, 13 Jul 2018 14:25:01 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1531484718; bh=h1iDNSkIIaakdjOTqZwncqhom2g2K9lHmeLUH8gsddc=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=dvZGFY2rk6TdEcokz3h6w4KpYK4V3rswGJXPq4uyklrb5Z1x4DOURrDDEmyDDNYIy 6y/WXSydetHStGIp2bzhUkSXYtYVBgSO7X6tnm2T+cZ60KZ4vGl/yTRoWkIoqk6g5v /n7d+8aenkwNoFn7MFw0vvdHyGgVzCc07cTq8hX9jrK4MQMi4prf/S5BTkU65bmT+9 bErcCKBh+lBZDfvEeuDNFfD/npRb/M6k0unzjK9w16lcGy468TIqqrx5fFXKYWinNq 1xNe58cT94nLB4bO6xfVgYS5RY+0jEvlcKXQ7VjibbR+biICZ5BD1Z0MAGcVehKcWu ibEw5Gyswllow== Message-ID: <20180713142501.Horde.wIa6K9TandOzeMp5wYrvZjE@webmail.leidinger.net> From: Alexander Leidinger To: Andriy Gapon Cc: freebsd-fs@freebsd.org Subject: Re: solaris assert triggered after panic in ZFS at mount time References: <20180713131227.Horde.S0gjPFGdZFb-68KklzQBXig@webmail.leidinger.net> In-Reply-To: User-Agent: Horde Application Framework 5 Content-Type: multipart/signed; boundary="=_8bxwBC2XGoRk64zBzT069Nw"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2018 12:25:27 -0000 This message is in MIME format and has been PGP signed. --=_8bxwBC2XGoRk64zBzT069Nw Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Andriy Gapon (from Fri, 13 Jul 2018 14:47:01 +030= 0): > On 13/07/2018 14:12, Alexander Leidinger wrote: >> Hi, >> >> This is with r336194. >> >> I have a dataset which panics the machine at mount time (during=20=20 >>=20reboot after a >> panic): >> ---snip--- >> panic: solaris assert: dmu_object_claim(zfsvfs->z_os, obj, >> DMU_OT_PLAIN_FILE_CONTENTS, 0, obj_type, bonuslen, tx) =3D=3D 0 (0x11=20= =20 >>=20=3D=3D 0x0), file: >> /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c, lin= e:=20=20 >>=20819 > > Hmm, 0x11 =3D=3D 17 =3D=3D EEXIST. > So, this looks like a possible race in ZIL code. The intent log contains= a > record to create a file with certain ID, but that file already=20=20 >=20exists on disk. > I don't know what to recommend. Maybe try to import discarding one=20=20 >=20transaction > group... If you can afford losing data from that TXG. Yes, I can afford losing data, it's mainly usr/local of a jail and=20=20 usr/local/etc=20I have in a backup. I'm rebuilding it and I would like=20= =20 to=20compare that I didn't miss something. This is a root pool of a server without local access, how do I get rid=20= =20 of=20TXG of a dataset of an already imported pool (no possibility to=20=20 have=20this pool accessed in an exported state)? Bye, Alexander. --=20 http://www.Leidinger.net=20Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_8bxwBC2XGoRk64zBzT069Nw Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJbSJodAAoJEKrxQhqFIICE7zUP/0TFWrrx0uS8MezE0V9oVZEO 4bAnc1lP7s0unzPUwzShgNFAW/7qzpejWXVrcMGYBSbaeZ97G3WhzPEl9IdCK4xb P0IfcaEzeYDeit6YVLF04F2qr1XoQkb7d4NCi6gbECDFHnK7cExPde6vwAJMa7cB TwHOPicxq7GTJEvUdJVeVZJnZr4lvZrlhYu/Mg2jrDj25kFMdT33ybxAuRcc8BFE +xmU791W1/QP3FQUw0M3y6JOhyLfTWLHzyl2W3mLe8gYqXEJhKH22WIllujV3KK8 9WvXVWVAXv5S3iw6tmmKgfFkd1OhuVsAWaszgF4jgR0jX34+ONlpApE/FHhqq/jn fX63IvCxaWIlejVj6YI2N/g/XqMwGhku3dMIvPvtDJDFzvGoTFQbA1FkqUF3LHyc KlnGhFZ5cScnQNrteoCuAebVagyhQ79yTxDftsroLIApRYxn3d+aOLTxQvySKutw xcbsrkr6G3xNFJrwFKNGX1qXDE1YiTSW/KTxlb9R5wRxKozymXrzlJFPdtT1hXPk 7xfOZyZJQwvhO9ZMBRd/zAF61wYT8bViT1ayuFIydl7Vo6bN20fxUnW0H/QkB39k PLxbBRm6pJlytXBEa1wpGWjyGl5WeKZ3DrglfjOnb72LySt8LWDiiZnnBHQeqBke SJP4nrpo52drkjEnj2t4 =nN0E -----END PGP SIGNATURE----- --=_8bxwBC2XGoRk64zBzT069Nw--