How to create VMFS partition on the local disk without label

If you are going to create the VMFS partition on the some mew local hdd or hardware raid volume, you can get in trouble with a message “Failed to update the disk partition information”.
The reason for it is a broken/missing dos label on the device.