From owner-freebsd-fs@FreeBSD.ORG Thu Jul 4 21:01:11 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6975C5CA for ; Thu, 4 Jul 2013 21:01:11 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-qc0-x22f.google.com (mail-qc0-x22f.google.com [IPv6:2607:f8b0:400d:c01::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 2A0891E9D for ; Thu, 4 Jul 2013 21:01:11 +0000 (UTC) Received: by mail-qc0-f175.google.com with SMTP id k14so945096qcv.20 for ; Thu, 04 Jul 2013 14:01:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ImaN5YtmhW6Y8Zx4qrfiylEE6uLNOxjuWJntA8ZFe5g=; b=jeNo6x5v9EL8ia3BxMCGTXMI4jmTFKCFa9G5bCG9TqIyKZW/9us07wE91Mqdz2FjIt n9lF39bx+k7Vbo/9guGT5SNFMIvchLSquH6Kfsk1vZZ13P8pA2Shq4c3No7GQQNOWB64 nZcpA93WMc4cegogN97+wN/DYKa+hlIsC8Frw/YEPhU9IKJKnxDZ+ixG093O4GOlRRA3 N8SUqkFipOCJ0fOaQ1BEkqk5YNDezvYtSFbKmCqIwtpRsvd8OI8PgFaD7XlLyriYjqt3 fS/xJmE2Ghsf2j+PdW8rTCvqJM1fJWjH4tjQnJRCmYi1Xki66ISXyzC8qJ97gjV0kUzF uSnA== MIME-Version: 1.0 X-Received: by 10.49.83.73 with SMTP id o9mr5313304qey.71.1372971670700; Thu, 04 Jul 2013 14:01:10 -0700 (PDT) Received: by 10.49.49.135 with HTTP; Thu, 4 Jul 2013 14:01:10 -0700 (PDT) In-Reply-To: <43015E9015084CA6BAC6978F39D22E8B@multiplay.co.uk> References: <51D42107.1050107@digsys.bg> <2EF46A8C-6908-4160-BF99-EC610B3EA771@alumni.chalmers.se> <51D437E2.4060101@digsys.bg> <20130704000405.GA75529@icarus.home.lan> <20130704171637.GA94539@icarus.home.lan> <2A261BEA-4452-4F6A-8EFB-90A54D79CBB9@alumni.chalmers.se> <20130704191203.GA95642@icarus.home.lan> <43015E9015084CA6BAC6978F39D22E8B@multiplay.co.uk> Date: Thu, 4 Jul 2013 14:01:10 -0700 Message-ID: Subject: Re: Slow resilvering with mirrored ZIL From: Freddie Cash To: Steven Hartland Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Filesystems 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, 04 Jul 2013 21:01:11 -0000 On Thu, Jul 4, 2013 at 12:41 PM, Steven Hartland wrote: > ----- Original Message ----- From: "Jeremy Chadwick" > ... > >> I believe -- but I need someone else to chime in here with confirmation, >> particularly someone who is familiar with ZFS's internals -- once your >> pool is ashift 12, you can do a disk replacement ***without*** having to >> do the gnop procedure (because the pool itself is already using ashift >> 12). But again, I need someone to confirm that. >> > > Close, the ashift is a property of the vdev and not the entire pool so > if your adding a new vdev to the pool at least one of the devices in > said pool needs to report 4k sectors either natively or via the gnop > ^^^^^^^^^^^^ > work around. > Typo? "... so if you're adding a new vdev to the pool at least one of the devices in said VDEV needs to report ..." I made the mistake of thinking ashift was a property of the pool and added 3x 6-drive raidz2 vdevs to an existing pool of 4x 6-drive raidz vdevs without using gnop .... and now have 3 vdevs with ashift=9 and 4 vdevs with ashift=12. :( Here's hoping the box gets replaced before 512b drives are discontinued completely ... I now have it on my "zpool add" checklist to always use gnop devices, regardless of what kind of drive is being used. -- Freddie Cash fjwcash@gmail.com