Nbdelete -allvolumes -force command failing with a status code 150.
| Article:TECH194041 | | | Created: 2012-07-30 | | | Updated: 2012-08-01 | | | Article URL http://www.symantec.com/docs/TECH194041 |
Problem
Nbdelete -allvolumes -force command failing with a status code 150. This is causing Netbackup cleanup jobs to end in a status code 1.
Error
Admin Log:
Environment
Media Server - Solaris - test_media
Cause
The issue was caused by EMM entries for a media server that was improperly decommissioned 3 years ago. There were EMM entries in the following tables:
720 - EMM_Machine 721 - EMM_MachineAlias 732 - EMM_StorageUnit_60 733 - EMM_StorageUnitGroup_60 734 - EMM_StorageUnit_STUGroup_60 843 - DBM_DeletedImageFragment
Solution
The 843 table will list the disk pool that the problem fragments are assigned too. Once you have the disk pool name you can run the nbdelete command to remove the table entries in the 843 table. Open a command prompt and cd to the /usr/openv/netbackup/bin/admincmd directory and run:
nbdelete -purge_deletion_list -media_id <DSSU Media ID> -force
In this case this was the command that deleted the table entries:
./nbdelete -purge_deletion_list -media_id /staging01 -force
After the 843 table entries are deleted you will be able to remove the problem media server with the nbemmcmd -deletehost command. Then the image cleanup jobs should run properly.
|
|
Article URL http://www.symantec.com/docs/TECH194041
Terms of use for this information are found in Legal Notices









Thank you.