Diskpool removal fails with "DSM has encountered the following busy resource"

Diskpool removal fails with "DSM has encountered the following busy resource"

Article: 100001987
Last Published: 2021-01-13
Ratings: 3 0
Product(s): NetBackup

Problem

Diskpool removal fails with "DSM has encountered the following busy resource"

Error Message

DSM has encountered the following busy resource: , mount point = PureDiskVolume
failed to change the state of disk pool, invalid command parameter

Solution

ENVIRONMENT/CONDITIONS:
This error happens when the PureDisk Diskpool is removed after the PureDisk SPA was removed from the environment. The proper procedure requires that information is removedf rom NetBackup before the appliance is removed from the environment.
 
EVIDENCE:
nbdevconfig-changestate -dp <DiskpoolName> -stype PureDisk -state DOWN
DSM hasencountered the following busy resource: <DiskpoolName>, mount point =PureDiskVolume
failed tochange the state of disk pool, invalid command parameter
 
nbdb_unload:
EMM_DiskVolumeMountPoint:
'71','131','1000049','0','3','PureDiskVolume', '2','2009-02-0523:23:19.899587','2010-05-04 08:34:54.093981'
 
The 7th Column is NumberOfUsers and it should be zero but they are two.
 
See a listof the columns below in the EMM_DiskVolumeMountPoint table:
CREATE TABLE"EMM_MAIN"."EMM_DiskVolumeMountPoint"
(
"DiskVolumeMountPointKey"unsigned int NOT NULL DEFAULT autoincrement ,
"DiskVolumeKey"unsigned int NOT NULL ,
"MachineKey"unsigned int NOT NULL ,
"State"integer NOT NULL DEFAULT 0 ,
"Flags"integer NOT NULL DEFAULT 0 ,
"MountPoint"varchar(4096) NOT NULL ,
"NumberOfUsers"integer NOT NULL DEFAULT 0 ,
"CreatedDateTime"timestamp NOT NULL DEFAULT current utc timestamp ,
"LastModifiedDateTime"timestamp NOT NULL DEFAULT utc timestamp ,
CONSTRAINT"PK_EMM_DISKVOLUMEMOUNTPOINT" PRIMARY KEY ("DiskVolumeMountPointKey"),
) IN"EMM_DATA"
 
SOLUTION/WORKAROUND:
This issue can occur when the volume has an open handle with nbrb.  Please stop all running jobs before running the below command to clear nbrb holds on the volumes.  This should reset the number of users back to zero.
Windows:  <install dir>\NetBackup\bin\admincmd\nbrbutil -resetall
UNIX/Linux: /usr/openv/netbackup/bin/admincmd/nbrbutil -resetall
 
 

 

Was this content helpful?