From owner-freebsd-fs@FreeBSD.ORG Thu Jul 4 23:27:58 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E28EA58F for ; Thu, 4 Jul 2013 23:27:58 +0000 (UTC) (envelope-from prvs=1897fed9ea=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 82D2813B1 for ; Thu, 4 Jul 2013 23:27:58 +0000 (UTC) Received: from r2d2 ([82.69.141.170]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50004731645.msg for ; Fri, 05 Jul 2013 00:27:56 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Fri, 05 Jul 2013 00:27:56 +0100 (not processed: message from valid local sender) X-MDDKIM-Result: neutral (mail1.multiplay.co.uk) X-MDRemoteIP: 82.69.141.170 X-Return-Path: prvs=1897fed9ea=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-fs@freebsd.org Message-ID: <3CFB4564D8EB4A6A9BCE2AFCC5B6E400@multiplay.co.uk> From: "Steven Hartland" To: "Freddie Cash" 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> Subject: Re: Slow resilvering with mirrored ZIL Date: Fri, 5 Jul 2013 00:28:07 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 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 23:27:58 -0000 ----- Original Message ----- From: "Freddie Cash" >>> 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? This should have read "at least one of the devices your adding as a new vdev to the pool" > "... 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. If anyone wants my current patches which add switch to 4k ashift by default as a sysctl + works with QUIRKS too, just let me know. They are well tested, just we want more options before putting in the tree. Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.