Re: amd64 debian wheezy installation: software raid: partition misaligned by 512 bytes
On Sun, 19 May 2013 21:41:33 -0700, Alexandru Cardaniuc <cardaniuc@gmail.com> wrote:
>
> 1. Should the /dev/md{0,1,2}p1 devices Start at 64 and not 63? Or some
> other cylinder number to be properly aligned? That would explain the exact
> 512 bytes misalignment (1 sector)?
>
> 2. How did that happen? The partitiions on the disk were properly aligned,
> the sda1 sda2 sda3 sdb1 sdb2 sdb3? If they were properly aligned why
> weren't md devices created with proper alignment?
>
/dev/md? devices themselves were aligned properly, but you also created
partitions inside md devices. And those partitions are not aligned properly
anymore. So they are aligned now to 1 MiB+63sectors instead of 1 MiB.
In your case, you should have used those md devices without any additional
partition tables (since you only created one partition on them anyway). Or you
should have aligned those partitons same way the original sdisk partitions were
aligned.
--
Virgo Pärna
virgo.parna@mail.ee
Reply to: