修复VSAN无法看到主机磁盘

登陆ESXI 格式化分区即可,造成这个问题的原因之一 这个盘被使用过分区格式被保留 没有格式化干净 

partedUtil mklabel    /vmfs/devices/disks/naa.630070005abb3e1323b79e7a066b2abc msdos

 

查看所有存储

esxcli storage core device list|grep naa

 

获取独立磁盘信息(底下是正常的盘,异常的盘会提示error错误)

[root@localhost:~] partedUtil get /vmfs/devices/disks/naa.630070005abb3e1323b79e7a066b2abc
58234 255 63 935544832

问题磁盘

[root@localhost:~] partedUtil get /vmfs/devices/disks/naa.630070005abb3e1323b79e9007ba59dc
Error: Input/output error during read on /dev/disks/naa.630070005abb3e1323b79e9007ba59dc
Error: The primary GPT table states that the backup GPT is located beyond the end of disk. This may happen if the disk has shrunk or partition table is corrupted. Fix, by writing backup table at the end? This will also fix the last usable sector appropriately as per the new reduced size. diskPath (/dev/disks/naa.630070005abb3e1323b79e9007ba59dc) diskSize (935544832) AlternateLBA (1871089663) LastUsableLBA (1871089630)
Warning: The available space to /dev/disks/naa.630070005abb3e1323b79e9007ba59dc appears to have shrunk. This may happen if the disk size has reduced. The space has been reduced by (935544832 blocks). You can fix the GPT to correct the available space or continue with the current settings ? This will also move the backup table at the end if it is not at the end already. diskSize (935544832) AlternateLBA (1871089663) LastUsableLBA (1871089630) NewLastUsableLBA (935544798)
Error: Can't have a partition outside the disk!
Unable to read partition table for device /vmfs/devices/disks/naa.630070005abb3e1323b79e9007ba59dc

转载于:https://www.cnblogs.com/menkeyi/p/10188965.html

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值