在XenServer 6.5上扩展分区有困难。我最初有一个1.4TiB设备(硬件RAID5),后来升级到10.9TiB。我升级了RAID,每次交换一个磁盘,直到更换了4个磁盘。
然后,我使用RAID配置将RAID扩展到10.9TiB大小。
=> ctrl slot=4 ld all show status
logicaldrive 1 (10.9 TB, 5): OK接下来,我告诉Xen重新扫描scsi设备:
echo 1 > /sys/block/sda/device/rescan 现在,当我启动gdisk时,我看到以下内容:
Disk /dev/sda: 23441913520 sectors, 10.9 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): A28B730F-3064-494E-BD7E-DDE8CAD5A12D
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 2930122766
Partitions will be aligned on 2048-sector boundaries
Total free space is 6042 sectors (3.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 8388641 4.0 GiB 0700
2 8390656 16777249 4.0 GiB 0700
3 16779264 2930122766 1.4 TiB 8E00 因此,我看到gdisk能够看到完整的10.9TiB,但我似乎无法删除和重新创建parititon 3,使其比原来的1.4TiB更大。而且,上面写着last usable sector is 2930122766。
如何使gdisk允许我创建从扇区16779264到23441913520的分区?
发布于 2017-11-01 13:10:50
让gdisk验证磁盘是否有问题(键v)。
就我而言,它确定:
The secondary header's self-pointer indicates that it doesn't reside at the end of the disk. If you've added a disk to a RAID array, use the 'e' option on the experts' menu to adjust the secondary header's and partition table's locations.我用了x e。
然后,m(ain菜单) p按预期显示了“最后可用扇区”。
https://serverfault.com/questions/848576
复制相似问题