1. 程式人生 > 其它 >為esxi主機新增新的磁碟

為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/