Error: "Busy: VSI node (5007)" when attempting to unmount an NFS datastore in ESXi
search cancel

Error: "Busy: VSI node (5007)" when attempting to unmount an NFS datastore in ESXi

book

Article ID: 432140

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

  • This article provides troubleshooting steps to resolve the "Busy: VSI node (5007)" error when attempting to unmount an NFS datastore in VMware ESXi.
  • The unmount operation fails in the vSphere Client with the error: "An error occurred during host configuration: . Operation failed, diagnostics report: Unable to complete Sysinfo operation. Please see the VMkernel log file for more details.: Busy: VSI node (5007)."
  • VMkernel logs contain: "NFS: 3113, Datastore has open files, cannot be unmounted. RefCount: [Number]"
  • Running the command: lsof | grep /vmfs/volumes/datastore_uuid on the ESXi host displays open log files under the datastore.

Environment

VMware vSphere ESXi 8.x

Cause

The ESXi host cannot unmount the datastore due to active file handles. Common causes include:

  • Syslog.global.logDir is configured to point to the datastore.
  • Storage I/O Control (SIOC) is enabled, holding .iormstats.sf files open.
  • Other host processes or services are accessing files on the datastore.

Resolution

Follow these steps to identify and release the file handles:

  1. Check Syslog Settings:
    • Navigate to Configure > System > Advanced System Settings in the vSphere Client.
    • Locate Syslog.global.logDir. If it points to the affected NFS datastore, change it to point to an alternate, active datastore.
  2. Disable Storage I/O Control (SIOC):
    • If SIOC is enabled on the datastore, right-click the datastore in vCenter and disable it to release open metadata files.
  3. Identify Locking Processes (CLI):
    • SSH into the ESXi host and run the following command to find processes accessing the datastore: lsof | grep /vmfs/volumes/[Datastore_Name]
    • If a specific process (e.g., clusterAgent, hostd) is identified, investigate or restart that service if safe to do so.
  4. Forced Unmount via Maintenance Mode:
    • If locks persist:
      1. Place the ESXi host into Maintenance Mode.
      2. Reboot the host to forcibly clear any orphaned or lingering file locks.
      3. Retry the unmount operation upon host reconnection.

Additional Information