vsan 节点部署,如果遇到磁盘分区删不到,如何处理?
admin
2023-03-28 00:41:21
0

大家阅读本文后,如果有更好的方式去解决这个分区问题,欢迎在留言区留下脚印,一起探讨一下。


所谓的删不掉,指你已经尝试过:

  1. 在vsphere web里通过GUI的方式删除分区;
  2. 将节点从集群里删除,然后通过command partedUtil工具去删除

在上述删除分区信息未果后,请尝试如下方案:

  1. 先将esxi操作系统重置或者重装;
  2. 通过节点vsphere web手动删除分区信息;
    vsan 节点部署,如果遇到磁盘分区删不到,如何处理?
  3. 通过如下命令查看是否仍然有分区信息;
    ls /vmfs/devices/disks/ 

    vsan 节点部署,如果遇到磁盘分区删不到,如何处理?

  4. 如果仍然有,请将Windows或者Linux的iso挂载到cdrom,然后从cdrom启动安装,识别出有分区信息的disk,执行分区删除操作。
    真是顽固啊。只能通过挂载iso来删除分区信息了。
    
    [root@shvsan05node10:~] partedUtil delete /vmfs/devices/disks/naa.5000c500c1da6d53 1
    Error: Function not implemented during read on /dev/disks/naa.5000c500c1da6d53
    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.5000c500c1da6d53) diskSize (3516328368) AlternateLBA (35162624431) LastUsableLBA (35162624398)
    Warning: The available space to /dev/disks/naa.5000c500c1da6d53 appears to have shrunk. This may happen if the disk size has reduced. The space has been reduced by (31646296064 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 (3516328368) AlternateLBA (35162624431) LastUsableLBA (35162624398) NewLastUsableLBA (3516328334) 
    Error: Can't have a partition outside the disk!
    Unable to construct disk from device /vmfs/devices/disks/naa.5000c500c1da6d53


通过挂载Ubuntu的iso,可以看到有一个fat32文件系统的分区。
![](https://s1.51cto.com/images/blog/201912/09/184300aa59f5e989db416419413ba879.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)
执行删除操作,真的很慢。目测耗时超过1h。14:50pm~
![](https://s1.51cto.com/images/blog/201912/09/02f0412e9bebade6089106080da8f97e.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)

相关内容

热门资讯

最新引进“新九天牛牛究竟有挂吗... 网上科普关于“新九天牛牛有没有挂”话题很是火热,小编也是针对新九天牛牛作*弊开挂的方法以及开挂对应的...
今日重大发现“约战丹东麻将怎么... 今日重大发现“约战丹东麻将怎么开挂?”(太坑了原来有挂)您好,约战丹东麻将这个游戏其实有挂的,确实是...
今日重大发现“陕西三代一开挂神... 有 亲,根据资深记者爆料陕西三代一是可以开挂的,确实有挂(咨询软件无需打...
尼日利亚外长证实向美提供打击恐... 【环球网报道】据法新社26日报道,尼日利亚外交部长优素福·图加尔证实,尼方曾在打击行动前向美国提供有...
今日重磅消息“中至九江麻将究竟... 网上科普关于“中至九江麻将有没有挂”话题很是火热,小编也是针对中至九江麻将作*弊开挂的方法以及开挂对...
【第一资讯】“蛮籽麻将重庆是不... 家人们!今天小编来为大家解答蛮籽麻将重庆透视挂怎么安装这个问题咨询软件客服徽9784099的挂在哪里...
终于了解“神赚棋牌是不是有挂?... 终于了解“神赚棋牌是不是有挂?”(原来真的有挂)您好,神赚棋牌这个游戏其实有挂的,确实是有挂的,需要...
【第一消息】“闲来麻将怎么装挂... 家人们!今天小编来为大家解答闲来麻将透视挂怎么安装这个问题咨询软件客服徽9784099的挂在哪里买很...
中经评论:如何用好“人工智能+... 中经评论:如何用好“人工智能+”? 作为新一轮科技革命和产业变革的重要驱动力量,人工智能具备典型的...
荣耀WIN评测:散热风扇加持 ... 如果让你选择一款电竞手机,你会更看重哪方面?旗舰性能?超长续航?高效散热?或是超高刷屏幕?当然,你也...