Re: kickstart partitioning and cylinder boundary

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



On 03/06/2012 02:33 PM, Erez Zarum wrote:
> As I understand anaconda uses parted to partition (starting from
> centos 6), using this as example (kickstart configuration file):
> clearpart --all --drives=sda --initlabel
> part /boot --asprimary --size=200 --fstype=ext2 --ondisk=sda
> part swap --asprimary --size=16384 --fstype=swap --ondisk=sda
> part / --asprimary --size=512000 --fstype=ext4 --ondisk=sda
> part /scratch --asprimary --size=1 --grow --fstype=ext4 --ondisk=sda
>
>   I can see no problems in parted:
<snip>
>
>     Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1          26      204800   83  Linux
> Partition 1 does not end on cylinder boundary.
> /dev/sda2              26       65297   524288000   83  Linux
> /dev/sda3           65297       67386    16777216   82  Linux swap / Solaris
> /dev/sda4           67386      243069  1411177472   83  Linux
>
> As you can see, /dev/sda1 End at 26 and /dev/sda2 Start at 26.
>
> But, fdisk –lu report otherwise:
>
<snip>
> I assume I can ignore it and it’s a bug on fdisk?
> This does not happen on 5.7.

Are the disks of the same model? Parted is able to set the partitions so 
they are aligned to cylinder. maybe that is what is happening?

‘--align alignment-type’


-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
_______________________________________________
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