From owner-freebsd-sysinstall@FreeBSD.ORG Fri Nov 21 22:32:40 2014 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 242FB5C6; Fri, 21 Nov 2014 22:32:40 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AB17A75E; Fri, 21 Nov 2014 22:32:39 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sALMWavH029451 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 21 Nov 2014 15:32:36 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sALMWaPn029448; Fri, 21 Nov 2014 15:32:36 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 21 Nov 2014 15:32:36 -0700 (MST) From: Warren Block To: Nathan Whitehorn Subject: Re: Dangerously dedicated mode with FreeBSD 10.1 In-Reply-To: <546F6D79.9060909@freebsd.org> Message-ID: References: <546F6D79.9060909@freebsd.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 21 Nov 2014 15:32:36 -0700 (MST) Cc: Rostislav Krasny , freebsd-sysinstall@freebsd.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 22:32:40 -0000 On Fri, 21 Nov 2014, Nathan Whitehorn wrote: > > On 11/21/14 07:26, Warren Block wrote: >> On Fri, 21 Nov 2014, Rostislav Krasny wrote: >> >>> Hi, >>> >>> I've a server with FreeBSD 7.4-STABLE that uses two phisical disks in >>> a so called "dangerously dedicated mode". There is no other operating >>> system and no plan to install anything else but FreeBSD. So in my case >>> this is not dangerous mode at all. >>> >>> I want to upgrade it by installing FreeBSD 10.1 from scratch and I >>> want to use the dedicated disk mode again. How could I do that? >>> >>> If I understand it right the new bsdinstall(8) doesn't support the >>> dedicated disk mode, the old sysinstall(8) is already dead and the >>> only solution is a manual disk partitioning from shell. The 2.6.5. >>> Shell Mode Partitioning section of the Handbook is very terse about >>> that. >> >> If you are determined, it should be possible to select a bsdlabel-only >> format with the Manual partitioning option in the menus, or enter Shell >> mode on startup and create it with gpart or even bsdlabel. That said, I >> can't think of any advantages of using a bare bsdlable at all. With 10.1, >> GPT is available, supports large disks, and is easily alignable.* > > Right, just select "BSD" as the partition type. > >> *: although it is reported that bsdinstall for 10.1 does not automatically >> do 4K alignment. But at least there are advantages to using it as a >> partition scheme. > > This has never been true. It does 4K alignment on disks with 4K physical > sectors (no matter what the logical sector size is). If you have disks with > larger sectors or preferred boundaries (e.g. a striped RAID), it will also > align to that. I know that it did not automatically do that alignment originally, which was why I entered PR 161720: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=161720 After that, I thought it was fixed, and now this appears to be a regression: http://forums.freebsd.org/threads/does-bsdinstall-in-10-1-properly-partition-ssds.48993/