From owner-freebsd-current@FreeBSD.ORG Sat Nov 19 01:39:45 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBCC31065670 for ; Sat, 19 Nov 2011 01:39:45 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id D015C8FC15 for ; Sat, 19 Nov 2011 01:39:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; q=dns/txt; s=DKIM-NAME-SERVICES; d=a1poweruser.com; h=From:To:Cc:Subject:Message-ID:X-Sender:X-Envelope-From; l=500; bh=YZZq2GZopAUY+1RiErmUq99YL6A5RaMkPePcf0rElkQ=; b=NZC26FKtGDFY+ShH6caAg41O7RHVk8IWjtB1kRV4vwjS8ocJmPQGlm0zzfbl6GMcMo3E08OOtzftcfGlTNx57X+GR+siwzCIGxIzL953kLVo/xlhswEmuMGGzpGXEER00qvDEc3M9S1G7sTvmdIU1lkgrAqg9ewP6tZ6lGEnnqA= Received: from [192.168.1.104] ([120.29.65.225]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 18 Nov 2011 17:39:42 -0800 Message-ID: <4EC708D9.8050709@a1poweruser.com> Date: Sat, 19 Nov 2011 09:39:37 +0800 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: nevtic@tx.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Nov 2011 01:39:42.0525 (UTC) FILETIME=[1C151ED0:01CCA65C] X-Sender: fbsd8@a1poweruser.com X-Envelope-From: fbsd8*a1poweruser.com Cc: freebsd-current@freebsd.org Subject: Re: 9.0-RC2 - bsdinstall miscount of remaining diskspace after partition deletion. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2011 01:39:46 -0000 nevtic@tx.net wrote: > > If you are performating a manual partion in 9.0-RC2 bsdinstall and you > delete any created partition except the most recently created one, the > total remaining space will be miscalculated. Reproducable as shown below. > > Workaround: if you delete a partition that is not the last partition > that was created, delete all partitions created after that partition > before continuing. Order does not seem to be important. > > The results are similar with other hard drive sizes, with the i386 or > amd64 distributions, and with either 9.0-RC2 or 9.0-RC1 (I did not go > back and check install discs prior to RC1) > > Reproducing the miscount: > > A 114 GB drive is used for this example: > > Select Manual Partitioning > > Perform the first Create on the drive and select GPT > > Creating the first partition: "Add Partition" "size" shows 114GB > > Change size to 4GB, set mountpoint to / and tab to OK > (agree to the boot partition creation) > > Create a second partition: "Add Partition" "size" shows 110GB > > Adjust size to 10GB, set mountpoint to /usr and tab to OK > > Create a third partition: "Add Partition" "size" shows 100GB > > Adjust size to 20GB, set mountpoint to /var, and tab to OK > > Create a 4th partition: "size" shows 80GB remaining > > Adjust size to 40GB, set mountpoint to /data, and tab to OK. > > There is 40 GB remaining on the drive. Now change the size of /var. > First, delete the currently configured /var partition. > > In the Partition Editor, adding up all the lines on the screen shows > 54GB (plus a 64K boot) as allocated, so there should now be 60GB > remaining. But the deleted /var space has not been added back into the > total. > > Select Create again: "Add Partition" "size" shows 40GB > > Adjust size to 30GB, set mountpoint as /var, tab to OK > > A subsequent "Create" will show that 20GB is remaining, rather than the > actual remaining 30GB. Selecting any size 20GB or larger for /home will > give you a 20GB partition, and then an additional create will show the > 10GB. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > You should submit this as a pr.