Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 09:46:07 +0100
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Peter Jeremy <peter@rulingia.com>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: ZFS command can block the whole ZFS subsystem!
Message-ID:  <20140105094607.43ecf058@thor.walstatt.dyndns.org>
In-Reply-To: <20140105083039.GA75558@server.rulingia.com>
References:  <20140103130021.30569db4@thor.walstatt.dyndns.org> <FC618C2B94D9425EAE5C11FEF2042F49@multiplay.co.uk> <20140103171457.0fbf0cd4@telesto> <20140103181622.GA61275@dan.emsphone.com> <20140103202535.6e72eebd@thor.walstatt.dyndns.org> <20140104221004.GA72376@server.rulingia.com> <20140104232642.141402dd@thor.walstatt.dyndns.org> <20140104231426.GC72376@server.rulingia.com> <20140105091138.725ff0c2@thor.walstatt.dyndns.org> <20140105083039.GA75558@server.rulingia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/eBh7BWdHB_CjUMUlqXGQOh7
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Sun, 5 Jan 2014 19:30:39 +1100
Peter Jeremy <peter@rulingia.com> wrote:

> On 2014-Jan-05 09:11:38 +0100, "O. Hartmann"
> <ohartman@zedat.fu-berlin.de> wrote:
> >On Sun, 5 Jan 2014 10:14:26 +1100
> >Peter Jeremy <peter@rulingia.com> wrote:
> >
> >> On 2014-Jan-04 23:26:42 +0100, "O. Hartmann"
> >> <ohartman@zedat.fu-berlin.de> wrote:
> >> >zfs list -r BACKUP00
> >> >NAME              USED  AVAIL  REFER  MOUNTPOINT
> >> >BACKUP00         1.48T  1.19T   144K  /BACKUP00
> >> >BACKUP00/backup  1.47T  1.19T  1.47T  /backup
> >>=20
> >> Well, that at least shows it's making progress - it's gone from
> >> 2.5T to 1.47T used (though I gather that has taken several days).
> >> Can you pleas post the result of
> >> zfs get all BACKUP00/backup
>=20
> >BACKUP00/backup  dedup                on                    local
>=20
> This is your problem.  Before it can free any block, it has to check
> for other references to the block via the DDT and I suspect you don't
> have enough RAM to cache the DDT.
>=20
> Your options are:
> 1) Wait until the delete finishes.
> 2) Destroy the pool with extreme prejudice: Forcably export the pool
>    (probably by booting to single user and not starting ZFS) and write
>    zeroes to the first and last MB of ada3p1.
>=20
> BTW, this problem will occur on any filesystem where you've ever
> enabled dedup - once there are any dedup'd blocks in a filesystem,
> all deletes need to go via the DDT.
>=20

As I stated earlier in the this thread, the box in question has 32 GB
RAM and this should be sufficient.

--Sig_/eBh7BWdHB_CjUMUlqXGQOh7
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

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

iQEcBAEBAgAGBQJSyRvPAAoJEOgBcD7A/5N8tQsH/02xl1lrDHjc1VbPy1ZkKljV
nxAQ5Ca8xACLyORKIMk5mWh3r0Y33pnVRqbyGwM5S3k4oSea2CJJVx1HtDob2Abs
Cox2SWWo0AB697WEWwDFI7rxAwOfL+xP4hNvkOtkZoU9Z9zzj/yUv1HyO9yElTC5
TLuCVPDGTzcW5InhLjgvHs/nBanp7XJ1sYr3Qj+233eHAgKYVdAp6v5UE6LC9C1+
m3npu7KI0wFoNkQUcZjKUE4Nj83tKDD8UbwvROqGSr/NEmSo8bH7KK2/qzHXon4u
pEtskV7veki8SQCLdF1z2/0O+/Dv7gRPVLmYaqS8aPx8Ph9nRrUbFPBGugAPYSk=
=HtEN
-----END PGP SIGNATURE-----

--Sig_/eBh7BWdHB_CjUMUlqXGQOh7--



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