VSAN 节点系统安装时需要注意无论是缓存盘还是容量盘都不要有分区信息。所以每次安装完系统,配置完网络,在加入集群之前,先登录节点web,查看磁盘是否有分区信息,如果有,按照下图方式删掉。如果已经加入到集群,发现有分区信息是不容易删掉的。(最佳实践总结)
方法一:
这个方法经实践总结髌骨不是十分靠谱,哪怕看不到分区,如果执行clear有报错,可能还有问题
方法二:
登录shell,使用command,只要naa.500xxxx这样的磁盘看不到分区信息,说明就没有分区
[root@vsannode01:/dev/disks] ls
mpx.vmhba32:C0:T0:L0 naa.5000c500c1dacb77 vml.0000000000766d68626133323a303a30:1 vml.02000000005000c500c1daf093454730303138
mpx.vmhba32:C0:T0:L0:1 naa.5000c500c1daf093 vml.0000000000766d68626133323a303a30:5 vml.02000000005000c500c1daf637454730303138
mpx.vmhba32:C0:T0:L0:5 naa.5000c500c1daf637 vml.0000000000766d68626133323a303a30:6 vml.02000000005000c500c1dafc1f454730303138
mpx.vmhba32:C0:T0:L0:6 naa.5000c500c1dafc1f vml.0000000000766d68626133323a303a30:7 vml.02000000005000c500c1dafe6f454730303138
mpx.vmhba32:C0:T0:L0:7 naa.5000c500c1dafe6f vml.0000000000766d68626133323a303a30:8 vml.02000000005000c500c1db04a3454730303138
mpx.vmhba32:C0:T0:L0:8 naa.5000c500c1db04a3 vml.0000000000766d68626133323a303a30:9 vml.02000000005000c500c1db075b454730303138
mpx.vmhba32:C0:T0:L0:9 naa.5000c500c1db075b vml.02000000005000c500c1d93deb454730303138 vml.02000000005000c500c1db0f57454730303138
naa.5000c500c1d93deb naa.5000c500c1db0f57 vml.02000000005000c500c1da696f454730303138 vml.02000000005000cca0ac009068454f30303136
naa.5000c500c1da696f naa.5000cca0ac009068 vml.02000000005000c500c1da6d53454730303138 vml.02000000005000cca0ac009d30454f30303136
naa.5000c500c1da6d53 naa.5000cca0ac009d30 vml.02000000005000c500c1daacb7454730303138
naa.5000c500c1daacb7 vml.0000000000766d68626133323a303a30 vml.02000000005000c500c1dacb77454730303138
该方法对应的清除分区的方法:
[root@vsannode:/dev/disks] partedUtil delete naa.5000c500a05432e7 1
方法三:
将节点加入到vsan,通过查看vsan集群的磁盘管理,如果看到的磁盘数量合格,说明没有磁盘有分区问题
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。