From owner-freebsd-fs@freebsd.org Tue Feb 16 02:28:09 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C8CBAA91E8 for ; Tue, 16 Feb 2016 02:28:09 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 66C1C1638; Tue, 16 Feb 2016 02:28:09 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-ig0-x22a.google.com with SMTP id y8so87445620igp.0; Mon, 15 Feb 2016 18:28:09 -0800 (PST) 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=g/qopAxE1ZLZ4EndWxLaEAeSyFZb7H8ALGq0j+sS3us=; b=wBLs2tHEEunpuLHmDoXQqXCaRaCJxBdO2PTa62dhXCSBEovMEPw2ZyMiZwtGvw93Vq 0q2u4SS8bkYTlUGNTOE2uYJBfSQ81rmWLIgfS+sN/hHo3lhNiV1q+J6bYqhAg+5UIB5m 67y6QgwwwhwHZZpT35lA9qdBx3sv8xpwbBFCLmaq8iv4tO2jyfbwLouVsfjB0iKOF18S Wwt4/WEhT93UdY1yKkXdRFcYNirqZeGAV/SfBRNiIqb9DbqJsvB9tvImzo3ULPLPSl2B E9NFhNzK9beiZ2Wv1RUYScvMQTT5iz7nkvw+lzAgV8kPFMrPOD84uOzhpXqU8wuPlFac kbOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=g/qopAxE1ZLZ4EndWxLaEAeSyFZb7H8ALGq0j+sS3us=; b=MLp2sl7o3cG+A1b4jyaovc7XBuW+xJl40paj23nZhSGFnTCr9eIsLuQ3pGC3N+aORs tr0nAHZt2PX8GZuOQILF2QUuRFI8GsiaYQj/0FD22UFLLydtEXtnZO1XQSzUhgYbRFKv ZXKKYSW1SXodEdw2SQinb3O8nGk2pYwrMYF/GZgqLk8eQd+UbR/9XOPcaGqlNSJeAjOE G4QHYULcZRVNnhEQgVJVeUXzmTihqo8YmY+TqyHXap1xryZTRDxAUVSk+0zfU++0S1OY 65/9cFxRMez6uo0ihXM44MiB8MwOpLz4HxChj7IonI1NGiWgHQAH8kUZoiiONPNOT3bN GJMA== X-Gm-Message-State: AG10YOS4qLR/9cGMqYgaYsoWSMkwC9yVeruIqX4bLmZcBdeY3iPwcV+Zb21lYIkxgw5z4thj9u6vcjVWqauIcQ== MIME-Version: 1.0 X-Received: by 10.50.142.42 with SMTP id rt10mr16288450igb.14.1455589688798; Mon, 15 Feb 2016 18:28:08 -0800 (PST) Received: by 10.107.140.130 with HTTP; Mon, 15 Feb 2016 18:28:08 -0800 (PST) Received: by 10.107.140.130 with HTTP; Mon, 15 Feb 2016 18:28:08 -0800 (PST) In-Reply-To: References: <8E04E52A-2635-4253-8140-F69495D7D0A6@panasas.com> <56C23E5B.7060207@multiplay.co.uk> <20160215213506.GB28757@in-addr.com> Date: Mon, 15 Feb 2016 18:28:08 -0800 Message-ID: Subject: Re: Hours of tiny transfers at the end of a ZFS resilver? From: Freddie Cash To: Paul Kraus Cc: Gary Palmer , FreeBSD Filesystems Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 02:28:09 -0000 On Feb 15, 2016 5:30 PM, "Paul Kraus" wrote: > > On Feb 15, 2016, at 16:35, Gary Palmer wrote: > > > It should be noted that ZFS can do the right thing only at pool creation > > time. Once the pool has been created the sector size of the underlying > > disks is baked in and can only be changed by creating a new pool on > > the advanced format disks (or forcing the larger ashift value when > > you initially create the pool, even if the disks are really 512 byte > > sector drives) > > Is it baked in at the pool layer or the vdev layer ? I thought the ashift was set on a vdev by vdev basis. ashift property is set per vdev, and is set when the vdev is created. You cab have multiple different ashift values in a single pool, although it may be detrimental to performance. You can see the ashift value via "zdb poolname | grep ashift" Cheers, Freddie