Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Sep 2016 20:38:34 -0700
From:      perryh@pluto.rain.com (Perry Hutchison)
To:        wblock@wonkity.com
Cc:        brandon.wandersee@gmail.com, freebsd-questions@freebsd.org
Subject:   Re: "gpart add" falsely claiming "No space left on device"
Message-ID:  <57d4d1ba.8U9%2BKrRH1rRsodn4%perryh@pluto.rain.com>
In-Reply-To: <alpine.BSF.2.20.1609091312370.90996@wonkity.com>
References:  <57ce6e64.EITkODjuwy6pZ4L%2B%perryh@pluto.rain.com> <alpine.BSF.2.20.1609060814030.1903@wonkity.com> <57cf9b95.Zj/JGHeshaKL6Zr5%perryh@pluto.rain.com> <alpine.BSF.2.20.1609070643120.24506@wonkity.com> <57d0f29b.3QNvCze7LJDzs0SU%perryh@pluto.rain.com> <86wpimm6om.fsf@WorkBox.Home> <57d276f6.CwaoGNki0kQYiZns%perryh@pluto.rain.com> <alpine.BSF.2.20.1609091312370.90996@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Warren Block <wblock@wonkity.com> wrote:
> Support for 8.1 ended over four years ago.  Improvements to man
> pages are not MFCed back to unsupported releases.

Nor would it matter (in this case) if they were, since I'm running
8.1 (not following 8-STABLE).

> > Alignment to 4k makes sense if the physical sector size is 4k (as
> > is often the case with newer disk drives) -- but 1M?  Seems a bit
> > much, which is why it would be useful for that page to include a
> > more detailed explanation.
>
> 1M is a useful value for several reasons.  A partition aligned with 1M 
> is aligned with all the smaller values.  It also better fits with the 
> larger internal block sizes used by SSDs and other flash devices.
>
> Starting the first data partition at 1M is a de facto standard and 
> provides a little additional insurance that some rock-stupid 
> partitioning tool will see the partition and not destroy it.
>
> At most, aligning to 1M wastes less than one meg of space.  Not one gig, 
> one meg.  On UEFI systems, you can even use that small amount of space 
> for an EFI partition.

Hopefully some of this explanation will find its way into that
disksetup.html page :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57d4d1ba.8U9%2BKrRH1rRsodn4%perryh>