Diskpool removal fails with "DSM has encountered the following busy resource"
DSM has encountered the following busy resource: , mount point = PureDiskVolume
failed to change the state of disk pool, invalid command parameter
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.
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
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:
"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"),
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