Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So I got this warning in disk utility that the partition is misaligned and it may result in very poor performance. I can't tell whether the drive is performing well or not because it's a new one and it's certainly faster than the 8 year old HDD I used to use. I've just created new partitions and installed operating systems. I've created partitions using gparted on debian wheezy on old HDD. Then I have installed debian on already existing empty partitions created by gparted. I'm not sure, but I think there was no warning at this point, although I don't remember if I checked disk utility. I had to do a reinstall due to graphics issue. I reformatted partitions using utility in debian installation. I think this could cause this. Now I don't know should I leave it or erase all and start all over again. I won't lose any data because it was copied from old HDD , but a little time for sure.
I've tried to remove empty space in gparted by resizing partition but it resulted in an error. Is there a way to fix this without formatting?
HDD is Seagate Barracuda 1TB.
Partitions: http://s8.postimg.org/lz9yho4kj/Scre...4_15_17_25.png
90GB free space is left for future installations
If it's an advanced format drive (4K sectors), then you should make sure the partition table has 4K alignment, otherwise leave it alone. Parted should do this by default. Disks with 512-byte sectors do not care about alignment.
For SSD, alignment should be on 1M boundary to line up with erase blocks.
If anything in the warning uses the words "track" or "cylinder" then it can be safely ignored unless your disk is 25 years old.
In this case, you're fine. All of the logical partitions within the extended partition are properly aligned, as are all of the other primary partitions. The only thing misaligned is the header on the extended partition itself, and that gets read just once when the system boots.
FYI, the performance hit (bad -- factor of 10 or worse) for misaligned filesystems is only for write operations. The impact on reads is negligible.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.