SAP Knowledge Base Article - Preview

3543170 - Removing HANA Host Fails With Error: Cannot remove directory

Symptom

When trying to remove a host from a HANA multi-host system, you got error below after executing hdblcm:

INFO: Summary of critical errors
ERR :   Removal of host failed
ERR :     Removal of host '<hostname>' from system <SID> failed
ERR :       Cannot remove instance
ERR :         Cannot remove host file system
ERR :           Cannot remove directory "/hana/shared/<SID>/HDB00/<host>/trace": Directory not empty
INFO:             Directory still contains: '.nfs00000000103b786f00000002'

You also executed "/hana/shared/<SID>/global/hdb/install/bin/hdbremovehost --force" and ran into similar errors below:

Removal of host failed
  Removal of host '<hostname>' from system <SID> failed
    Cannot remove instance
      Cannot remove host file system
        Cannot delete file "/hana/shared/<SID>/HDB00/<host>/trace/.nfs00000000103b786f00000002": Device or resource busy

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.  


Read more...

Environment

  • SAP HANA Platform Edition 1.0
  • SAP HANA Platform Edition 2.0

Product

SAP HANA 1.0, platform edition ; SAP HANA, platform edition 2.0

Keywords

hdbremovehost, Device or resource busy, Directory not empty, Cannot remove host file system, Directory still contains , KBA , HAN-LM-PLT , SAP HANA Platform Lifecycle Management , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.