Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I attached two identical hard drives to my linux machine. Then using gparted I formated the first 1024 mb at the beginning of each drive as linux swap space.

Then I went into system->administration->disk utility. In there I went to file->create->RAID array. I selected the remaining space in each of the two identical hard drives and created a striped raid array.

After the array was created, a warning message appeared. It said "The partition is misaligned by 522240 bytes. This may result in very poor performance. Repartitioning is suggested."

What do I do now? As far as I can tell, the partitions are identical.

share|improve this question
What made you decide to put swap space on your RAID0 disks? This sounds counter-intuitive if you want good stripe performance... and assumes you actually need swap in the first place which many systems today do NOT. – hotei Aug 23 '10 at 1:31

I found the solution. Apparently the gui does something wrong when it creates the raid array. The way I did it was to format the partitions in gparted. Then I went into the terminal and typed the following:

mdadm --create /dev/md0 --chunk=4 --level=0 --raid-devices=2 /dev/sda1 /dev/sdb1

I used this as a guide:

When I went back to the gui it didn't have the warning message anymore.

share|improve this answer

I believe it's saying that the partition is not aligned on a cylinder boundary. fdisk -l should show it, but I'm not sure.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.