linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Questions about 4k sector drives
@ 2010-04-25 11:45 Florian Kusche
  2010-04-25 14:43 ` Phillip Susi
  0 siblings, 1 reply; 14+ messages in thread
From: Florian Kusche @ 2010-04-25 11:45 UTC (permalink / raw)
  To: linux-raid

Hello,

I have a few questions about Software RAID and 4k-sector drives. I already searched the web, but some questions are left.

1) (this one is not directly raid-related)
I understand, that newer kernels can determine whether a drive uses 4k physical sectors even if it presents 512-byte logical sectors to the outside. (via the sector_size_supported() patch by Matthew Wilcox)

Is this only an information given to userland tools, or will the linux kernel change its behavior (e.g. use 4k-blocks for such block devices)? (I guess it's only an information for userland tools.)

2)
Will Software RAID work with physical 4k-sector drives...
- that simulate logical 512 byte sectors?
- that also have logical 4k-sectors?
(I'm pretty sure, the answer to both questions is yes.)

3)
Will Software RAID work in mixed setups? i.e.: what combinations of the following drive types are possible?
- 512b physical / 512b logical
- 4k physical / 512b logical
- 4k physical / 4k logical
And: Will the resulting md block device have 512 byte blocks or 4k blocks?
(I would guess that you need to have the same logical sector size for all disks.)

I am aware of the performance problems due to read-modify-write cycles and potential misalignment. This has been discussed in plenty of articles on the web.

It would be great if someone could clear things up a little (and tell me if me guesses are correct).

Thanks,
Florian

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-05-10 17:13 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-25 11:45 Questions about 4k sector drives Florian Kusche
2010-04-25 14:43 ` Phillip Susi
2010-05-02 23:04   ` Bill Davidsen
2010-05-03  5:54     ` Luca Berra
2010-05-03 13:17     ` Phillip Susi
2010-05-03 13:30     ` Greg Freemyer
2010-05-03 13:38       ` Phillip Susi
2010-05-03 20:27         ` Martin K. Petersen
2010-05-04 13:24           ` Phillip Susi
2010-05-04 15:29             ` Martin K. Petersen
2010-05-05  7:44               ` John Robinson
2010-05-05  7:47                 ` Mikael Abrahamsson
2010-05-10 17:13                   ` Bill Davidsen
2010-05-03 20:19       ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).