Prerequisite
- enable Managed Object Browser
To enable or disable the Managed Object Browser by using the vSphere Web Client, complete the following steps:
Browse to the host in the vSphere Web Client navigator.
On the Manage tab and click Settings.
Under System, select Advanced System Settings.
Select the Config.HostAgent.plugins.solo.enableMob option and click Edit to enable or disable the Managed Object Browser.
How to
[root@localhost:~] esxcli storage vflash device list
Name Size Is Local Is Used in vflash Eligibility
-------------------- ------ -------- ----------------- -------------------------------
naa.55cd2e404c6e42c4 114473 true false No, there are other filesystems
naa.55cd2e404c6e433f 114473 true false Yes, this is a blank disk.
[root@localhost:~] partedUtil getptbl /vmfs/devices/disks/naa.55cd2e404c6e433f
gpt
14593 255 63 234441648
[root@localhost:~] partedUtil setptbl /vmfs/devices/disks/naa.55cd2e404c6e433f "gpt" "1 2048 234436544 AA31E02A400F11DB9590000C2911D1B8 0"
gpt
0 0 0 0
1 2048 234436544 AA31E02A400F11DB9590000C2911D1B8 0
[root@localhost:~] vmkfstools -C vmfsl /vmfs/devices/disks/naa.55cd2e404c6e433f:1
create fs deviceName:'/vmfs/devices/disks/naa.55cd2e404c6e433f:1', fsShortName:'vmfsl', fsName:'(null)'
deviceFullPath:/dev/disks/naa.55cd2e404c6e433f:1 deviceFile:naa.55cd2e404c6e433f:1
Device:'/vmfs/devices/disks/naa.55cd2e404c6e433f:1' is allowed to be formatted as VMFSL
Checking if remote hosts are using this device as a valid file system. This may take a few seconds...
Creating vmfsl file system on "naa.55cd2e404c6e433f:1" with blockSize 1048576 and volume label "none".
Successfully created new volume: 5a78f605-a2501dea-8a60-901b0e6e4600
[root@localhost:/vmfs/volumes] vmkfstools -Ph /vmfs/volumes/5a78f605-a2501dea-8a60-901b0e6e4600/
VFFS-1.00 (Raw Major Version: 14) file system spanning 1 partitions.
File system label (if any):
Mode: public
Capacity 111.8 GB, 110.8 GB available, file block size 1 MB, max supported file size 62.9 TB
UUID: 5a78f605-a2501dea-8a60-901b0e6e4600
Partitions spanned (on "lvm"):
naa.55cd2e404c6e433f:1
Is Native Snapshot Capable: NO
[root@localhost:~] vim-cmd hostsvc/storage/refresh