Linux RAID subsystem development
 help / color / mirror / Atom feed
* Disks with 4k sectors
@ 2011-03-27  8:15 Albert Pauw
  2011-03-27  8:22 ` Mikael Abrahamsson
  0 siblings, 1 reply; 2+ messages in thread
From: Albert Pauw @ 2011-03-27  8:15 UTC (permalink / raw)
  To: linux-raid

  When I would use  new disks with 4kB sectors (3 TB disks e.g.) instead 
of 512B with mdadm to create a RAID 1/5/6 set, are there any special 
things to look out for?

I would assume choosing chunk sizes of multiples of 4kB.

Any more thoughts or ideas?

Cheers,

Albert



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

* Re: Disks with 4k sectors
  2011-03-27  8:15 Disks with 4k sectors Albert Pauw
@ 2011-03-27  8:22 ` Mikael Abrahamsson
  0 siblings, 0 replies; 2+ messages in thread
From: Mikael Abrahamsson @ 2011-03-27  8:22 UTC (permalink / raw)
  To: Albert Pauw; +Cc: linux-raid

On Sun, 27 Mar 2011, Albert Pauw wrote:

> When I would use  new disks with 4kB sectors (3 TB disks e.g.) instead of 
> 512B with mdadm to create a RAID 1/5/6 set, are there any special things to 
> look out for?
>
> I would assume choosing chunk sizes of multiples of 4kB.

If you use partitions, make sure you align correctly to 4kB.

This has been discussed extensively (look in the archives), all md 
structures are 4k aligned so if you create the raid directly on the 
device, you get proper alignment.

-- 
Mikael Abrahamsson    email: swmike@swm.pp.se

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

end of thread, other threads:[~2011-03-27  8:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-27  8:15 Disks with 4k sectors Albert Pauw
2011-03-27  8:22 ` Mikael Abrahamsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox