我有一台带软件RAID1(2x3TB)的CentOS 6服务器:
– sda
# parted /dev/sda unit s print Model: ATA TOSHIBA DT01ACA3 (scsi) Disk /dev/sda: 5860533168s Sector size (logical/physical): 512B/4096B Partition Table: gpt Number Start End Size File system Name Flags 1 2048s 1026047s 1024000s ext4 boot 2 1026048s 5860532223s 5859506176s raid
– sdb
# parted /dev/sdb unit s print Model: ATA TOSHIBA DT01ACA3 (scsi) Disk /dev/sdb: 5860533168s Sector size (logical/physical): 512B/4096B Partition Table: gpt Number Start End Size File system Name Flags 1 2048s 1026047s 1024000s ext4 boot 2 1026048s 5860532223s 5859506176s raid
– md [0-1]
# cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sdb1[1] sda1[0] 511936 blocks super 1.0 [2/2] [UU] md1 : active raid1 sdb2[1] sda2[0] 2929621824 blocks super 1.1 [2/2] [UU] bitmap: 1/22 pages [4KB],65536KB chunk unused devices: <none>
> md0安装在/ boot上
> md1用于具有“root”和“swap”逻辑卷的物理卷
我想在CentOS 7上使用相同的分区布局,但是anaconda抱怨缺少’biosboot’分区:
Your BIOS-based system needs a special partition to boot from a GPT
disk lable. To continue,please create a 1MB ‘biosboot’ type
partition.
有没有办法避免这种情况?我想在每个磁盘上创建一个两个独立的“biosboot”分区来镜像两个硬盘.
在每个磁盘上创建BIOS启动分区都没问题.如果您使用自动分区,那么无论如何都会发生这种情况.
您可以(也可能应该)使用UEFI而不是传统启动来启动安装,在这种情况下不需要BIOS启动分区(但您需要EFI分区).