Purpose is to update the NQN number from unknown NQN to the host default NQN.
We unable to change/edit host NQN, need urgent assistance to T-shoot & resolve. The host nqn has been changed from com.vmware to something else, please check here (Working host is in yellow and non working is in pink):
vmknvme_hostnqn_format was set to UUID mode
shell.log: 2024-02-11T18:16:37.388Z shell[2173028]: [root]: esxcli system module parameters set -m vmknvme -p vmknvme_hostnqn_format=0
shell.log: 2024-02-12T09:45:20.266Z shell[2319499]: [pamapp-esxiadmin]: esxcli system module parameters set -m vmknvme -p vmknvme_hostnqn_format=0
shell.log: 2024-02-12T14:04:02.112Z shell[2109873]: [pamapp-esxiadmin]: esxcli system module parameters set -m vmknvme -p vmknvme_hostnqn_format=0
shell.log: 2024-02-12T16:21:02.275Z shell[2109580]: [pamapp-esxiadmin]: esxcfg-module -s 'vmknvme_hostnqn_format=0' vmknvme
shell.log: 2024-02-12T17:00:49.303Z shell[2110333]: [root]: esxcli system module parameters set -m vmknvme -p vmknvme_hostnqn_format=0
Need to clear the module parameter and reboot the server.
$ esxcli system module parameters clear -m vmknvme
$ reboot
-Unable to see the datastore because NQN number is changed from default host NQN to unknown NQN.
-Tried to run the below command to set the hostnqn as default esxcli nvme info set --hostnqn=default , rebooted the host. Still the same nqn number.
-We tried to set it manually but it says not supported: