Monday, April 18, 2016

Partition alignment on MegaRAID RAID 1 with 4k sector (advanced format) drives

I want to setup RAID 1 (mirroring) on a LSI MegaRAID SAS 8708EM2 (1078 chipset) with 4k sector (advanced format) drives. To the best of my knowlegde the controller does not officially support 4k sector drives whereas the newer 9xxxx series controllers (2108 chipset) do. However, I can trick the OS into treating the RAID device as 4k sector drives (FreeBSD geom gnop).



The question is, will 4k sectors on the hardware RAID device (the device presented by the controller to the OS) be mapped one-to-one to 4k sectors on the physical disk?




According to the LSI manual
MegaRAID® SAS Software User Guide
sec. 4.15.3.3, MegaRAID stores RAID metadata at the end of each physical disk. So the first sector of the RAID device should indeed map to the first sector of the physical drives.



Are there any other factors that affect sector mapping to the disk?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...