From owner-freebsd-questions@freebsd.org Thu Aug 31 01:37:05 2017 Return-Path: Delivered-To: freebsd-questions@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 68DCEE0FD19 for ; Thu, 31 Aug 2017 01:37:05 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (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 3254F3C36 for ; Thu, 31 Aug 2017 01:37:05 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-io0-x22d.google.com with SMTP id s101so14185770ioe.0 for ; Wed, 30 Aug 2017 18:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=Oyoe1fcJ5Ml4PXXnFcmZDduZfOVWvOHeVIe2e8DzWZ8=; b=m7an9iNmJSx5hQURd7nA9aXCSDeOb1TMzfI8/yQ33JGkYWxjNclt3SvZNwWCEukygE 01zsmO9bawf7x6DmZUdm6eyRU5dxl/eMXGTCREYRRmEeP+IBvfQrOY2coaWrV6k5Is+K ViQZuyUGdwxASnWw954BDAAVXHPGrGYgCPlBajy4jtJO2+sVUdszEMWX/tTi89KtDrQp XXilZDq5Xc6xizwq3R9r3zKCgFOFLHWY70KUX6FJPoTWafr9EfvUIW424Wky/qrffpcF gk3wDRi71c08+LX0OlJn4y9Dm94TBhtuO3hG3Mf8P/bKcdHU/7zrX4LUOOkhSRAgogK0 pzFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=Oyoe1fcJ5Ml4PXXnFcmZDduZfOVWvOHeVIe2e8DzWZ8=; b=nQqtNpmkA6eqZe+9RZK80pGGD8F6CvaR5WAaaxAkOKtaBlq/qbIgat4RyHhXmqzfyV PORbNVSIYKM2uD1ND2jQ4Gq3IG1gqaBRKWgffAiJUrPs97n0p8wDWgHZIWoRpKkIQvMS ahiMTFOe8tE5LVw6jy91gbTivX49nBd2YygmpYRoR9Ac0d8uQCxH1lEwEopxxi0ke3BK 24gDEL+x0knOvZhN0uVdEHlOd9aZDDN/dRof/JUequBhk0u5FSS4wS5TghLLuCqZP6iO 0L9AwYHnbbiTI8tvRephkMV/P/+JDGbhS6XwQd5ZEv0zSJVt/Geg0YFpLrtukimuFVE8 fpog== X-Gm-Message-State: AHPjjUiZchwcYiUvOxbdWTOs0OMRzBH9bGO+3ottwKXJQmUBzcGCJufD fv0T3sE7Tp7bZ+N8 X-Received: by 10.107.151.68 with SMTP id z65mr3690936iod.163.1504143424369; Wed, 30 Aug 2017 18:37:04 -0700 (PDT) Received: from localhost.localdomain (50-243-4-3-static.hfc.comcastbusiness.net. [50.243.4.3]) by smtp.googlemail.com with ESMTPSA id u63sm3186987ioe.85.2017.08.30.18.37.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Aug 2017 18:37:03 -0700 (PDT) Subject: Re: help creating new gmirror > 2TB To: freebsd-questions@freebsd.org References: <26f5e88e-1ea7-6332-ca5e-f055cfbdd280@fjl.co.uk> From: JD Message-ID: <59A7683F.5070102@gmail.com> Date: Wed, 30 Aug 2017 19:37:03 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 01:37:05 -0000 I thought that hdparm could work with the firmware to set the sector size. Not sure on this because hdparm has gone through a lot of modifications over the years. On 08/30/2017 06:35 PM, William Dudley wrote: > I've never heard of AFD, and is having 4K sectors something I have control > of? Or is tthat something the manufacturer controls? > > My drives are: 2 of Seagate 4TB IronWolf NAS SATA 6Gb/s NCQ 64MB Cache > 3.5-Inch Internal Hard Drive (ST4000VN008) > > Which doesn't have the magic word "AFD" anywhere in the description. > > Also, I happen to like the idea of "fixing" the gmirror code to put it's > metadata in the penultimate sector if it discovers GPT > in the last sector, but I suppose I shouldn't get my hopes up. > > Bill Dudley > > On Wed, Aug 30, 2017 at 5:57 PM, Frank Leonhardt wrote: > > "I'm sure you'll be okay with MBR assuming it's an AFD (4K sector drive)." > > On 29/08/2017 21:12, William Dudley wrote: >>> Hi, >>> >>> I want to create a simple mirror > 2TB on a FreeBSD 10.3 system. >>> >>> I have 2 identical 4TB disks. >>> >>> The examples in freebsd handbook "geom-mirror" pages show creation of a >>> 2TB >>> mirror using >>> MBR partitioning, and that has an upper limit of 2TB. >>> >> I still get a bit worried about this, but I'm 99.9% sure you'll be okay >> with MBR assuming it's an AFD (4K sector drive). The bodge/workaround >> works. If it's SAS instead of SATA, all bets are off. >> >> Although I use ZFS a lot, I still prefer geom mirror for twin-disk >> systems. I feel a lot more comfortable booting from it in the event of a >> failure. ZFS has its good points, but so does UFS. >> >> Trying to get geom mirror to work with GPT as it stands just leads to >> pain. I've taken a look at the code with a view to fixing this is no one >> else does, but UFS is so un-cool in most circles and I don't fancy doing it >> alone in case I zap someone's data. it doesn't look that tricky to move the >> metadata somewhere else, and by checking for a GPT you can select between >> the old/new block. It's unexpected interactions I'm worried about. >> >> I think we're safe with MBR until we pass 16Tb. >> >> Regards, Frank. >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe >> @freebsd.org" >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >