Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2012 09:35:44 +1100
From:      Peter Jeremy <peter@rulingia.com>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        freebsd-fs@FreeBSD.org
Subject:   Re: zfs diff deadlock
Message-ID:  <20121116223544.GA99247@server.rulingia.com>
In-Reply-To: <20121113202730.GA42238@server.rulingia.com>
References:  <20121110223249.GB506@server.rulingia.com> <20121111072739.GA4814@server.rulingia.com> <509F5E0A.1020501@FreeBSD.org> <20121113202730.GA42238@server.rulingia.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--LQksG6bCIzRHxTLp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2012-Nov-14 07:27:30 +1100, Peter Jeremy <peter@server.rulingia.com> wro=
te:
>On head, I get some normal differences terminated by:
>Unable to determine path or stats for object 2128453 in tank/beckett/home@=
20120518: Invalid argument

I've done some more digging and got the following.  Does it make sense
for an object that is a "ZFS plain file" to have another "ZFS plain
file" as a parent?  It doesn't sound right to me.

root@FB10-64:~ # zdb -vvv tank/beckett/home@20120518 2128453
Dataset tank/beckett/home@20120518 [ZPL], ID 605, cr_txg 8379, 143G, 202641=
9 objects, rootbp DVA[0]=3D<0:266a0efa00:200> DVA[1]=3D<0:31b07fbc00:200> [=
L0 DMU objset] fletcher4 lzjb LE contiguous unique double size=3D800L/200P =
birth=3D8375L/8375P fill=3D2026419 cksum=3D1acdb1fbd9:93bf9c61e94:1b35c72eb=
8adb:389743898e4f79

    Object  lvl   iblk   dblk  dsize  lsize   %full  type
   2128453    1    16K  1.50K  1.50K  1.50K  100.00  ZFS plain file
                                        264   bonus  ZFS znode
        dnode flags: USED_BYTES USERUSED_ACCOUNTED=20
        dnode maxblkid: 0
        path    ???<object#2128453>
        uid     1000
        gid     1000
        atime   Fri Mar 23 16:34:52 2012
        mtime   Sat Oct 22 16:13:42 2011
        ctime   Sun Oct 23 21:09:02 2011
        crtime  Sat Oct 22 16:13:42 2011
        gen     2237174
        mode    100444
        size    1089
        parent  2242171
        links   1
        pflags  40800000004
        xattr   0
        rdev    0x0000000000000000

root@FB10-64:~ # zdb -vvv tank/beckett/home@20120518 2242171
Dataset tank/beckett/home@20120518 [ZPL], ID 605, cr_txg 8379, 143G, 202641=
9 objects, rootbp DVA[0]=3D<0:266a0efa00:200> DVA[1]=3D<0:31b07fbc00:200> [=
L0 DMU objset] fletcher4 lzjb LE contiguous unique double size=3D800L/200P =
birth=3D8375L/8375P fill=3D2026419 cksum=3D1acdb1fbd9:93bf9c61e94:1b35c72eb=
8adb:389743898e4f79

    Object  lvl   iblk   dblk  dsize  lsize   %full  type
   2242171    3    16K   128K  25.4M  25.5M  100.00  ZFS plain file
                                        264   bonus  ZFS znode
        dnode flags: USED_BYTES USERUSED_ACCOUNTED=20
        dnode maxblkid: 203
        path    /jashank/Pictures/sch/pdm-a4-11/stereo-pair-2.png
        uid     1000
        gid     1000
        atime   Fri Mar 23 16:41:53 2012
        mtime   Mon Oct 24 21:15:56 2011
        ctime   Mon Oct 24 21:15:56 2011
        crtime  Mon Oct 24 21:15:37 2011
        gen     2286679
        mode    100644
        size    26625731
        parent  7001490
        links   1
        pflags  40800000004
        xattr   0
        rdev    0x0000000000000000

root@FB10-64:~ # zdb -vvv tank/beckett/home@20120518 7001490
Dataset tank/beckett/home@20120518 [ZPL], ID 605, cr_txg 8379, 143G, 202641=
9 objects, rootbp DVA[0]=3D<0:266a0efa00:200> DVA[1]=3D<0:31b07fbc00:200> [=
L0 DMU objset] fletcher4 lzjb LE contiguous unique double size=3D800L/200P =
birth=3D8375L/8375P fill=3D2026419 cksum=3D1acdb1fbd9:93bf9c61e94:1b35c72eb=
8adb:389743898e4f79

    Object  lvl   iblk   dblk  dsize  lsize   %full  type
   7001490    1    16K    512     1K    512  100.00  ZFS directory
                                        264   bonus  ZFS znode
        dnode flags: USED_BYTES USERUSED_ACCOUNTED=20
        dnode maxblkid: 0
        path    /jashank/Pictures/sch/pdm-a4-11
        uid     1000
        gid     1000
        atime   Thu May 17 03:38:32 2012
        mtime   Mon Oct 24 21:15:37 2011
        ctime   Mon Oct 24 21:15:37 2011
        crtime  Fri Oct 14 22:17:44 2011
        gen     2088407
        mode    40755
        size    6
        parent  6370559
        links   2
        pflags  40800000144
        xattr   0
        rdev    0x0000000000000000
        microzap: 512 bytes, 4 entries

                stereo-pair-2.png =3D 2242171 (type: Regular File)
                stereo-pair-2.xcf =3D 7002074 (type: Regular File)
                stereo-pair-1.xcf =3D 7001512 (type: Regular File)
                stereo-pair-1.png =3D 2241802 (type: Regular File)

root@FB10-64:~ #

--=20
Peter Jeremy

--LQksG6bCIzRHxTLp
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlCmv8AACgkQ/opHv/APuIcBTgCfXBEBllonPGIG+SOTIBy0sO1h
v2oAnAgkmWS0D4frLTeFbIDD17TWfNYF
=1nJW
-----END PGP SIGNATURE-----

--LQksG6bCIzRHxTLp--



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