Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Dec 2011 19:37:40 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Maxim Khitrov <max@mxcrypt.com>
Cc:        Mark Martinec <Mark.Martinec+freebsd@ijs.si>, freebsd-current@freebsd.org
Subject:   Re: bsdinstall guided partitioning should 4k-align swap and ufs partitions
Message-ID:  <58006.1323113860@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 05 Dec 2011 14:30:05 EST." <CAJcQMWcyGKGMD3-vHxqrtVEcR4ax=OhMNfanwAyJ8EDOSpcY3g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <CAJcQMWcyGKGMD3-vHxqrtVEcR4ax=OhMNfanwAyJ8EDOSpcY3g@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58006.1323113860>