centos6.2, parted and alignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I have a large raid (lsi megaraid sas2 9261-8i card) and when I use 
parted to initialize it as the one big partition I want, it gives me a 
warning.

     # parted /dev/sda "mklabel gpt"
     Warning: The existing disk label on /dev/sda will be destroyed and 
all data on this
         disk will be lost. Do you want to continue?
     Yes/No? yes
     # parted -a optimal /dev/sda "mkpart primary 128s -1s"
     Warning: You requested a partition from 65.5kB to 81.0TB.
     The closest location we can manage is 65.5kB to 81.0TB.
     Is this still acceptable to you?
     Yes/No? yes
     Warning: The resulting partition is not properly aligned for best 
performance.
     Ignore/Cancel? i
     Information: You may need to update /etc/fstab.

The sector size is 512b actual, the raid stripe size is 64kB, hence 
starting the partition on sector 128.  I've tried various combinations 
of -a, nothing seems to help here.


-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux