From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 1 21:31:53 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 39E9391 for ; Sun, 1 Jun 2014 21:31:53 +0000 (UTC) Received: from mail-pa0-x229.google.com (mail-pa0-x229.google.com [IPv6:2607:f8b0:400e:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 06FE522CF for ; Sun, 1 Jun 2014 21:31:53 +0000 (UTC) Received: by mail-pa0-f41.google.com with SMTP id kx10so3538672pab.0 for ; Sun, 01 Jun 2014 14:31:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=delphix.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=uoCNQcS1rR92X9OgWF3M4XpNU4Ti2uDClI7HBu1vP+k=; b=N4n+SBbCMxs8Vbvyc87PEDyibbOvTMCQgXalkjQavdcUPVH1+GsDHiu9RHFl3pU9nC +BLCJ8TFrdqRefTtdZLZPWM3k4H/Ebwar7lDqtaAtUq/RTTb5tGNZDu7vuPTvzi41XeM rrwYqXboPqCR9lb32F9ausLoo/vAUNmH89oYA= 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=uoCNQcS1rR92X9OgWF3M4XpNU4Ti2uDClI7HBu1vP+k=; b=JWULUSmJGLib+aJtfV5+XRZ9E3DuyWZnu2z0Lt7O762WUx/5O4hFa2S1hKSOz15UpY zKTuDmmKnb4mR3hi7pPAWu961ugVJ/nyP4yqDhWAvj9bjSNdrMyjJdYVCGaDsBECEyah XLYgtKfGjwMgavMyxyROVMIu/aZeR24vJySMqQhJiNT7OP1qKDEhM8DyBnNzoINq5gFG +P4wf+PFqEieWGoFKHraXdtcOQQue7p9b4+Nua+UtNzHjEDGDSEEz7SAmOjmFY9WpSEr cj2MIgv+yjQ0bTLsH4sAUXXeRRn4PJTONDAftPo8qma7gShW+Q1Zwa85K+IpdjJs+AK4 fagw== X-Gm-Message-State: ALoCoQlBwYjdfs8+2eKu2wheJEgceJ2EN1gqR/or/LzZWtOUZQaKpCKDec7lkSQkpPX+5FEJDys4 MIME-Version: 1.0 X-Received: by 10.67.14.231 with SMTP id fj7mr35500784pad.115.1401658312556; Sun, 01 Jun 2014 14:31:52 -0700 (PDT) Received: by 10.70.0.202 with HTTP; Sun, 1 Jun 2014 14:31:52 -0700 (PDT) In-Reply-To: <538B4CEF.2030801@freebsd.org> References: <20140601004242.GA97224@bewilderbeast.blackhelicopters.org> <3D6974D83AE9495E890D9F3CA654FA94@multiplay.co.uk> <538B4CEF.2030801@freebsd.org> Date: Sun, 1 Jun 2014 14:31:52 -0700 Message-ID: Subject: Re: fdisk(8) vs gpart(8), and gnop From: Matthew Ahrens To: Nathan Whitehorn X-Mailman-Approved-At: Sun, 01 Jun 2014 23:47:14 +0000 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: freebsd-fs , FreeBSD Hackers , George Wilson X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2014 21:31:53 -0000 On Sun, Jun 1, 2014 at 8:55 AM, Nathan Whitehorn wrote: > On 06/01/14 08:52, Steven Hartland wrote: > >> ----- Original Message ----- From: "Mark Felder" >> >> On May 31, 2014, at 20:57, Freddie Cash wrote: >>> >>> There's a sysctl where you can set the minimum ashift for zfs. Then you >>>> never need to use gnop. >>>> >>>> I believe it's part of 10.0? >>>> >>> >>> I've not seen this yet. What we need is to port the ability to set >>> ashift at pool creation time: >>> >>> $ zpool create -o ashift=12 tank mirror disk1 disk2 mirror disk3 disk4 >>> >>> I believe the Linux zfs port has this functionality now, but we still do >>> not. >>> >> I am strongly against implementing "-o ashift=12"[*]. If we need to explicitly tell ZFS what sector size to use, we should make that intention clear with an appropriately named property, for example "-o device_sector_size=4K". Even better, this property should be per-disk. --matt [*] Once we implement an appropriately-named property, I would be OK with also allowing the "-o ashift=12" as a Linux compatibility feature. > >> We don't have that direct option yet but you can achieve the >> same thing by setting: vfs.zfs.min_auto_ashift=12 >> >> Does anyone have any objections to me changing this default, right now, > today? > -Nathan > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >