VMware Cloud Community
ferdis
Hot Shot
Hot Shot
Jump to solution

How to erase VMFS in ESX service console?

How to erase VMFS in ESX service console?

0 Kudos
1 Solution

Accepted Solutions
kjb007
Immortal
Immortal
Jump to solution

Post'er alluded to it earlier. To delete a vmfs, use fdisk, and delete the partition. Then run esxcfg-rescan vmhba<0|1|2>

This will remove the vmfs and make sure it does not show up on a rescan.

-KjB

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB

View solution in original post

0 Kudos
4 Replies
apatel1
Enthusiast
Enthusiast
Jump to solution

Hi ferdis, if you want to reformat a VMFS volume from the CLI, you'd have to use the vmkfstools command and potentially fdisk if you wanted to shuffle around your partitions.

Please help me out by awarding points for a "helpful" or "correct" response if you feel that it was useful!

-Amit

Please help me out by awarding points for a "helpful" or "correct" response if you feel that it was useful! -Amit
ferdis
Hot Shot
Hot Shot
Jump to solution

I thing there is no option in vmkfstools for delete!!!

0 Kudos
kjb007
Immortal
Immortal
Jump to solution

Post'er alluded to it earlier. To delete a vmfs, use fdisk, and delete the partition. Then run esxcfg-rescan vmhba<0|1|2>

This will remove the vmfs and make sure it does not show up on a rescan.

-KjB

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
0 Kudos
ferdis
Hot Shot
Hot Shot
Jump to solution

Thank you kjb007,

I thing its exactly like you said!

Frantisek

0 Kudos