首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在XenServer 6.5上使用gdisk扩展分区

无法在XenServer 6.5上使用gdisk扩展分区
EN

Server Fault用户
提问于 2017-05-06 01:47:39
回答 1查看 2.5K关注 0票数 2

在XenServer 6.5上扩展分区有困难。我最初有一个1.4TiB设备(硬件RAID5),后来升级到10.9TiB。我升级了RAID,每次交换一个磁盘,直到更换了4个磁盘。

然后,我使用RAID配置将RAID扩展到10.9TiB大小。

代码语言:javascript
复制
=> ctrl slot=4 ld all show status
   logicaldrive 1 (10.9 TB, 5): OK

接下来,我告诉Xen重新扫描scsi设备:

代码语言:javascript
复制
echo 1 >  /sys/block/sda/device/rescan 

现在,当我启动gdisk时,我看到以下内容:

代码语言:javascript
复制
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的分区?

EN

回答 1

Server Fault用户

发布于 2017-11-01 13:10:50

让gdisk验证磁盘是否有问题(键v)。

就我而言,它确定:

代码语言:javascript
复制
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按预期显示了“最后可用扇区”。

票数 8
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/848576

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档