Resolve parted partition when the resulting partition is not properly aligned for best performance alarm

Source: Internet
Author: User

The operating system's SDB and SDC need to be expanded to the original partition in an LVM manner, and since it is a 3T disk, Fdisk is no longer available and can only be made in GPT format with parted.

Parted/dev/sdb

Mklabel GPT

When using the Mkpart command, there is an alarm:

The resulting partition is not a properly aligned for best performance


Google a little bit, find a solution, mark.


# cat/sys/block/sdb/queue/optimal_io_size1048576
# cat/sys/block/sdb/alignment_offset0

(1048576 + 0)/ 2048

Use this formula to derive 2048


So you can create it with this command.

Mkpart Primary 2048s 100%


Original link: http://rainbow.chard.org/2013/01/30/how-to-align-partitions-for-best-performance-using-parted/

When resolving parted partitions the resulting partition is not properly aligned to best performance alarm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.