Re: bsdinstall guided partitioning should 4k-align swap and ufs partitions

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Mon, 05 Dec 2011 19:37:40 +0000
In message <CAJcQMWcyGKGMD3-vHxqrtVEcR4ax=OhMNfanwAyJ8EDOSpcY3g_at_mail.gmail.com>
, Maxim Khitrov writes:

>How do you get around the hardware claiming to use 512-byte sectors
>when it actually uses 4 kB internally? 

Did you read what I wrote ?

] If the disk-driver has a 4k drive, or suspects it has a 4k drive (
] these properties are advisory only), it should announce that with
] the stripe* properties on its GEOM provider.

notice "suspects" ?

It would be entirely reasonable for the driver to suspect all drives
larger than some N GB to be 4k drives.

But the information has to flow up from the driver, so that
intermediate GEOM classes can adjust the two stripe-properties
according to what they do.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Mon Dec 05 2011 - 18:37:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:21 UTC