Translated message

A translation of this page exists in English.

parted は "Warning:The resulting partition is not properly aligned for best performance." を報告する

Solution Verified - Updated -

Issue

  • parted ユーティリティーを使用してパーティションを作成するときに、新しいパーティションの位置がずれていることが報告され、パフォーマンスが非常に低下する可能性があります。

    (parted) mkpart primary 128 1048575
    Warning: You requested a partition from 128s to 1048575s.                 
    The closest location we can manage is 128s to 1048542s.
    Is this still acceptable to you?
    Yes/No? Yes                                                               
    Warning: The resulting partition is not properly aligned for best performance.          <-----
    Ignore/Cancel? C  
    
  • 上記の警告メッセージが表示される理由は何ですか? それを排除するにはどうすればいいですか?

  • パーティションを整列させるにはどうすればよいですか?Dell ストレージシステム互換の LUN があります。fdisk/dev/mapper/mpatha を実行すると、次のような気になるメッセージが表示されます。

    [root@localhost ~]# fdisk /dev/mapper/mpatha
    
    The device presents a logical sector size that is smaller than
    the physical sector size. Aligning to a physical sector (or optimal
    I/O) size boundary is recommended, or performance may be impacted.
    
    WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
             switch off the mode (command 'c') and change display units to
             sectors (command 'u').
    
    Command (m for help):
    
  • これを揃えるようにパーティションを作成するにはどうすればよいですか? これは、Oracle ASM 投票 LUN として使用される生の LUN です。

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Parted

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content