[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: amd64 debian wheezy installation: software raid: partition misaligned by 512 bytes



Ok, so any way to fix that now? Without reinstalling everything? Any way to move the partitiions?

Also, I don't remember creating these md partitions. The installer does that by default? I should do that part manually during installation? But I didn't see that option in the installer...


thanks,
Alexandru


On Tue, May 21, 2013 at 6:38 AM, Virgo Pärna <virgo.parna@mail.ee> wrote:
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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] slrnkpmu6m.4ih.virgo.parna@dragon.gaiasoft.ee" target="_blank">http://lists.debian.org/[🔎] slrnkpmu6m.4ih.virgo.parna@dragon.gaiasoft.ee




--
Sincerely yours,
Alexandru Cardaniuc

Reply to: