将GPT转换MBR会格式化硬盘:
[root@node1 ~]# parted /dev/sda mklabel msdos
Warning: Partition(s) on /dev/sda are being used.
Ignore/Cancel? ignore
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? no
GPT转换MBR会格式化
so,需要从新分区
[root@node1 ~]# parted
GNU Parted 2.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mkpart 创建
Partition name? []? KVM2 名称叫KVM2
File system type? [ext2]? ext4 格式为ext4
Start? 501GB 起始位置501GB
End? 896GB 结束位置896GB
Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes
until after reboot.
(parted) p
Model: IBM ServeRA