Device naa.id with a VMFS partition is marked perennially reserved in the vmkernel log
book
Article ID: 318691
calendar_today
Updated On:
Feedback
Subscribe
Products
VMware vSphere ESXi
Show More
Show Less
Issue/Introduction
Symptoms:
Powering on a virtual machine fails.
A virtual machine fails which leads to becoming in an orphaned state.
A virtual machine backup job fails.
In the /var/log/vmkernel.log file of the ESXi host where the virtual machine is running, you see entries similar to:
Device naa.xxxxxxxxxxxx with a VMFS partition is marked perennially reserved. This is not supported and may lead to data loss.
Environment
VMware vSphere ESXi 8.x
VMware vSphere ESXi 7.x VMware vSphere ESXi 6.x
Cause
This issue occurs due to:
An VMFS backed datastore has been incorrectly set as perennially reserved = true .
An RDM LUN that was previously used within a MSCS cluster setup has been repurposed as a VMFS datastore and the flag has not been unset.
Resolution
To resolve this issue, the perennially reserved flag must be removed on each ESXi host that has visibility to the affected LUN(s).
To remove the perennially reserved flag:
Run this command to verify that the device is perennially reserved:
esxcli storage core device list -d naa.id
In the output of this command, search for the entry Is Perennially Reserved: true. Example:esxcli storage core device list -d naa.600xxxxxxxxxxxx
Run this command to remove the flag:esxcli storage core device setconfig -d naa.id --perennially-reserved=false
Run this command again and confirm that the device is no longer perennially reserved:esxcli storage core device list -d naa.id
Additional Information
You could execute this command to list out all the devices along with their reservation status:
esxcli storage core device list | grep -E 'Display|Perennially'| grep -v "Has Settable Display Name"
Note : The KB above is not applicable to Clustered VMDK. VMware recommends settings perennially reserved flag on Clustered VMDK. Refer to the KB 1016106 for more details.
Impact/Risks:
VMware strongly recommends against setting a VMFS backed datastore to perennially reserved as this could lead to a lot of complications with the functioning of the VMs that are part of this datastore and in the long run could potentially also lead to data loss/corruption.
Feedback
thumb_up
Yes
thumb_down
No