Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2018 14:25:01 +0200
From:      Alexander Leidinger <Alexander@leidinger.net>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: solaris assert triggered after panic in ZFS at mount time
Message-ID:  <20180713142501.Horde.wIa6K9TandOzeMp5wYrvZjE@webmail.leidinger.net>
In-Reply-To: <cb63fc18-ee11-28db-ed40-5fb817400378@FreeBSD.org>
References:  <20180713131227.Horde.S0gjPFGdZFb-68KklzQBXig@webmail.leidinger.net> <cb63fc18-ee11-28db-ed40-5fb817400378@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <avg@freebsd.org> (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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180713142501.Horde.wIa6K9TandOzeMp5wYrvZjE>