2

Disk Utility is giving me the error "The partition is misaligned by 1024 bytes. This may result in very poor performance. Repartitioning is suggested" on a partition which holds an encrypted LVM.

I have looked at this question (and several like it)

However there is an issue caused by the use of an encrypted partition. GParted, for example, cannot resize an encrypted volume or the partition which holds it.

Is there any way to resize the partition to align it properly? Neither Disk Utility nor GParted will let me do this.

EDIT: This still hasn't been solved so I can't award the bounty...

6
  • Please edit your question to include an outline of your partitioning scheme and also the model of your hard drive.
    – ish
    Aug 10, 2012 at 1:32
  • And also, how are you setting up LVM and encryption - a clean install, or...?
    – ish
    Aug 10, 2012 at 1:51
  • Most recently I pre-formatted the drive with GParted on a liveCD, aligning to MiB, and then used the created partitions to install the OS
    – jackweirdy
    Aug 10, 2012 at 12:23
  • So after Gparted, you booted up the Alternate CD, chose manual and set up LVM and encryption? Please include a screenshot of your partitions if possible. I'm not having this problem starting from the Alternate CD...
    – ish
    Aug 10, 2012 at 12:31
  • Yeah, I chose manual and select the 1st (200MiB) partition as /boot/ and the other one as "physical volume for lvm partition"
    – jackweirdy
    Aug 10, 2012 at 16:09

2 Answers 2

2

I believe the best way to solve this is:

  • backup your important files to another hard drive
  • format the partition (or the whole hard drive) using an ubuntu live cd and gparted.

Some people complain of very low speed when they have this misalignment. If you don't have slow speed when reading/writing to the partition, I suggest you leave it as it is and simply ignore the warning. That is, until you find an opportunity (another hard drive, and time) to reformat the drive.

9
0

Unfortunately I had to remove the LVM and use standard, unencrypted partitions. The issue stopped and I've noticed a significant performance increase... Still not perfect though, and I'm sorry nobody could answer :(

1
  • I have this problem too, not matter what I do, or how many times I reformat, or even what distro I am using, be it Debian, Kali or Ubuntu, this error persists.
    – Chev_603
    Jul 14, 2015 at 14:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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