Local disk partitioning

Hello everyone,

I have the following problem:

ESXi 7.0 U2 is installed on a single local NVMe drive. That NVMe disk is presented as a datastore to the host. We have a request to make two new datastores from that one datastore. There are currently no VMs on that local datsore, only ESXi is installed. 

I found that it is necessary to use the partedUtil command for something like this, but this command does not pass, ie I have the following error: Error: Read-only file system during write on /dev/disks/naa.600508b1001cc4af8049460e7013b73b
Unable to delete partition 7 from device /vmfs/devices/disks/naa.600508b1001cc4af8049460e7013b73b

PartedUtil command output:

partedUtil getptbl /vmfs/devices/disks/naa.600508b1001cc4af8049460e7013b73b
36468 255 63 585871964
1 64 204863 C12A7328F81F11D2BA4B00A0C93EC93B systemPartition 128
5 208896 8595455 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 0
6 8597504 16984063 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 0
7 16986112 268435455 4EB2EA3978554790A79EFAE495E21F8D vmfsl 0

Marked above in red is the partition that I should delete and make two new partitions from it, which I would later present to the ESXi host as two datastores.

Is it even possible to do this with the partedUtil command and what is the best procedure for that?

Thank you very much,





0 Kudos
1 Reply

As long as there is no data on the partition and it is not currently part of a VSAN I cannot see why it could not be deleted - you did mention it was a local datastore to an esxi host. The following link would provide the procedure.


0 Kudos