为esxi主机添加新的磁盘

[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再添加磁盘,就顺利完成了。

猜你喜欢

转载自blog.csdn.net/h106140873/article/details/80335491