The following message shows in the end of the process of increasing the size of an existing datastore by adding an LUN extension to it (choosing the option "Add an extent to existing VMFS datastore").
"The entire contents of this disk are about to be erased and replaced with the specified configuration, are you sure?"
This message is a warning indicating that the contents of the new LUN added to be used in the extension will be erased during the formatting of the volume to compose the existing VMFS disk.
The message is not related to the existing data that is stored in the current datastore that is being increased.
The data that will be erased is the data that is stored in that new LUN, not the data of the existing datastore that is being increased.
It's safe to click yes when:
It's NOT safe to click yes when: