为esxi主机添加新的磁盘

为esxi主机添加新的磁盘

运维自动化&云计算

于 2018-05-16 13:10:55 发布

22019
收藏 1
分类专栏: vmware 文章标签: ESXI6.5
版权

vmware
专栏收录该内容
18 篇文章1 订阅
订阅专栏
[root@localhost:~] fdisk -l

***
*** The fdisk command is deprecated: fdisk does not handle GPT partitions. Please use partedUtil
***

Found valid GPT with protective MBR; using GPT

Disk /dev/disks/naa.5000c5003283e2a5: 1953525168 sectors, 3597M
Logical sector size: 512
Disk identifier (GUID): 3a232534-d2bc-44e3-91ea-21e02c45986c
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134


Number Start (sector) End (sector) Size Code Name
1 64 8191 4064K 0700
2 7086080 15472639 4095M 0700
3 15472640 1953525134 924G 0700
5 8224 520191 249M 0700
6 520224 1032191 249M 0700
7 1032224 1257471 109M 0700
8 1257504 1843199 285M 0700
9 1843200 7086079 2560M 0700
fdisk: device has more than 2^32 sectors, can't use all of them
Found valid GPT with protective MBR; using GPT


Disk /dev/disks/naa.5000c500a1c8ef26: 4294967295 sectors, 4095M
Logical sector size: 512
Disk identifier (GUID): efe255ca-3338-4b97-8b84-d4206b228e88
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 15628053134


Number Start (sector) End (sector) Size Code Name
1 128 15628053128 7452G 0700

改用

删除新硬盘上的分区

[root@localhost:~] partedUtil delete /dev/disks/naa.5000c500a1c8ef26 1

使用这个创建新卷标选项,所有数据会丢失。

[root@localhost:~] partedUtil mklabel /dev/disks/naa.5000c500a1c8ef26 gpt

在VMware vSphere Client再添加磁盘,就顺利完成了。
————————————————
版权声明:本文为CSDN博主「运维自动化&云计算」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/h106140873/article/details/80335491/

posted on 2022-05-06 15:43  xiangro  阅读(466)  评论(0编辑  收藏  举报