Disconnect-SdStorage hangs and fails to remove virtual disk
Applies to
- SnapCenter
- SnapDrive
Issue
- Attempt at disconnecting mount points using
Disconnect-SdStorage -path <mountpoint_path> -IgnoreVolumeMountPoint
hangs and fails at removing virtual disks - Error below can be seen in the logs
2024-06-10T17:36:05.0059533-04:00 Verbose SDW PID=[4352] TID=[3740] --VMWareHelper::DeleteRawDeviceMapping
2024-06-10T17:36:05.0059533-04:00 Error SDW PID=[4352] TID=[3740] Failed to delete virtual disk: A general system error occurred: PBM error occurred during PostProcessReconfigureSpec: pbm.fault.PBMFault at SnapDrive.Nsf.Core.VMWareHelper.DeleteRawDeviceMapping(String strLunSerialNo, Boolean bOwner, Boolean bIsEsxISCSI)
at SnapDrive.Nsf.Core.VMWareRDMProvisioningStrategy.DeleteVirtualDiskLocally(SDFilesystem fileSystem, String lunPath, String storageSystem)