here is your one line magical command that will wipe that disk clean:
#PartedUtil mklabel /dev/disks/<disk id> msdos
Below is an example of how it looked like in my environment.
#partedUtil mklabel /dev/disks/t10.ATA____WDC_WD5000AK52000UU340___________WD2DWCAYU6597660 msdos
Alright in case you have wondered how did I figured out my disk id, all I had to do to get that info is to run the following command just as demonstrated in the previous screenshot:
#ls /dev/disks
After wiping the LUN/Disk clean, now you should be able to use it to create your new VMFS datastore by adding it through the vSphere client(business as usual).
转载于:https://blog.51cto.com/hj192837/1162573