09-27-2013 01:19 AM
Trying to delete a disk pool in our environment but its not getting deleted.
Its throwing the following error,
DSM has found that one or more volumes in the disk pool mps2647_dp_fs_avid(DataD
omain)@mps2647 has image fragments
failed to delete disk pool, invalid command parameter
> Tried expiring the images using bpexpdate, but its showing as 'no entity found'.
> Tried deleting using 'nbdelete' and 'nbstlutil -cancel -backupid' and again tried deleting but still could not delete the disk pools.
> The disk volume is configured in DataDomain and have deleted the disk volume in DD. Still could'nt delete from Netbackup.
Please share ur views to get a solution
Solved! Go to Solution.
09-27-2013 02:46 AM
Which version of NetBackup are you running?
For 7.1 try: nbstlutil remove_all -mediaid @aaaba –force
For 7.5 try: nbstlutil remove_exp -force
If it still wont go then it may have images stuck in EMM - if that is the case you will need to log a call with Support who can do you an EEB that runs a SQL script to remove the entries from the database
09-27-2013 01:36 AM
Find the disk pools Disk Media ID
For example (I'm making the assumption it's a storage type of DataDomain here)
nbdevquery -listdv -stype DataDomain-dp mps2647_dp_fs_avid -U
then try:
nbdelete -purge_deletion_list -media_id @<disk media id>
09-27-2013 01:44 AM
Obtained the media id and tried deleting using nbdelete,
D:\Veritas\NetBackup\bin\admincmd>nbdelete -dt 0 -media_id @aaaba -media_server
mps2647
But this is also not working
09-27-2013 02:46 AM
Which version of NetBackup are you running?
For 7.1 try: nbstlutil remove_all -mediaid @aaaba –force
For 7.5 try: nbstlutil remove_exp -force
If it still wont go then it may have images stuck in EMM - if that is the case you will need to log a call with Support who can do you an EEB that runs a SQL script to remove the entries from the database
09-29-2013 09:52 PM
Mark,
It was indeed helpful. When i gave "nbstlutil remove_all" for the specific Disk Media id, the command prompt got hung. I cancelled that and verified the Disk pools in GUI console, it was showing all Disk pools got deleted. But after some time, all DP's were visible. Then i tried deleting the DP which has to be deleted and it happened.
Thanks
09-29-2013 09:54 PM
But am not sure, why initially it was showing as All Disk pools got deleted? Also the GUI console got hung completely for a couple of minutes.