Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Image Cleanup issue

Created: 14 Feb 2013 • Updated: 14 Feb 2013 | 6 comments
This issue has been solved. See solution.

Currently I have two Advance Disk's setup as backup staging disks, from those locations my SLP's  move the images to tape then to my Pure disk.  My issue is this.  I created a Test environment a year ago as a prof of concept.  Cleaning things up I removed the test Advance Disk shelf from the system long ago but I found that the Catalog still had an image so I expired the image.  Now I have an Image cleanup error of 2074 with every Image cleanup that runs.     How do I get rid of all images from the system that were staged on the removed advanced disk.?  ( the disk shelf is now gone form this location so I can not recreate it) 

Comments 6 CommentsJump to latest comment

RamNagalla's picture

hi

try using below command against each backup id

bpexpdate -backupid <backupid> -d 0 -nodelete

you can also use below command.

bpexpdate -stype <server type> -dp <disk pool>  -nodelete

tracyw's picture

Thank you for that answer, I have ran the bpexpdate -stype <server type> -dp <disk pool>  -nodelete command and then ran the bpimage -cleanup -allclients and I am still getting the following error in my Image cleanup

2/14/2013 10:03:01 AM - begin
2/14/2013 10:03:01 AM - Info nbdelete(pid=6484) deleting expired images. Media Server: nbu-media Media: @aaaao     
2/14/2013 10:03:01 AM - Error nbdelete(pid=6484) Cannot obtain resources for this job : error [2074]    
2/14/2013 10:03:01 AM - Info nbdelete(pid=6484) deleting expired images. Media Server: nbu-media Media: @aaaav     
2/14/2013 10:03:01 AM - requesting resource @aaaao
2/14/2013 10:03:01 AM - Error nbjm(pid=4340) NBU status: 2074, EMM status: Disk volume is down    
2/14/2013 10:03:01 AM - Error nbjm(pid=4340) NBU status: 2074, EMM status: Disk volume is down    
2/14/2013 10:03:01 AM - requesting resource @aaaav
2/14/2013 10:03:01 AM - granted resource MediaID=@aaaav;DiskVolume=/nondedupe2;DiskPool=nondedupe2;Path=/nondedupe2;StorageServer=nbu-media;MediaServer=nbu-media
2/14/2013 10:03:02 AM - Info bpdm(pid=22518) started            
2/14/2013 10:03:02 AM - started process bpdm (22518)
2/14/2013 10:03:02 AM - Info bpdm(pid=22518) initial volume /nondedupe2: Kbytes total capacity: 9511264432, used space: 3141688736, free space: 6369575696
2/14/2013 10:03:03 AM - Info bpdm(pid=22518) Removed 3744 Kbytes          
2/14/2013 10:03:03 AM - Info bpdm(pid=22518) ending volume /nondedupe2: Kbytes total capacity: 9511264432, used space: 3141684992, free space: 6369579440
2/14/2013 10:03:03 AM - Info bpdm(pid=22518) EXITING with status 0         
2/14/2013 10:03:03 AM - Info nbdelete(pid=6484) deleting expired images. Media Server: nbu-media Media: @aaaay     
2/14/2013 10:03:03 AM - Info bpdm(pid=22523) started            
2/14/2013 10:03:03 AM - started process bpdm (22523)
2/14/2013 10:03:03 AM - requesting resource @aaaay
2/14/2013 10:03:03 AM - granted resource MediaID=@aaaay;DiskVolume=/nondedupe1;DiskPool=nondedupe1;Path=/nondedupe1;StorageServer=nbu-media;MediaServer=nbu-media
2/14/2013 10:03:04 AM - Info bpdm(pid=22523) initial volume /nondedupe1: Kbytes total capacity: 9511264432, used space: 3481163492, free space: 6030100940
2/14/2013 10:03:29 AM - Info bpdm(pid=22523) Removed 29599168 Kbytes          
2/14/2013 10:03:29 AM - Info bpdm(pid=22523) ending volume /nondedupe1: Kbytes total capacity: 9511264432, used space: 3451564324, free space: 6059700108
2/14/2013 10:03:29 AM - Info bpdm(pid=22523) EXITING with status 0         
2/14/2013 10:03:29 AM - end ; elapsed time: 00:00:28
the requested operation was partially successful(1)

The job was successfully completed, but some files may have been
busy or unaccessible. See the problems report or the client's logs for more details.

RamNagalla's picture

this time you did not get 2074, so we are moving forward.. 

2/14/2013 10:03:01 AM - Info nbdelete(pid=6484) deleting expired images. Media Server: nbu-media Media: @aaaav     
2/14/2013 10:03:01 AM - requesting resource @aaaao
2/14/2013 10:03:01 AM - Error nbjm(pid=4340) NBU status: 2074, EMM status: Disk volume is down    
2/14/2013 10:03:01 AM - Error nbjm(pid=4340) NBU status: 2074, EMM status: Disk volume is down  

above error might be the reason for  Partially successfull status.

check in GUI-> catalog or with bpimagelist command  ,if you still see the unwanted images..

if yes.. get those images list and run the command  

bpexpdate -backupid <backupid> -d 0 -nodelete

tracyw's picture

Yes i tried to get the list of images that way but nothing is there, I litterally have no images listed for the nondedupe disk pool. ./bpimagelist -option LIST_OLD_TO_NEW |grep "AdvancedDisk" |egrep -v "nondedupe1|nondedupe2" |head -100. shows no images.   I am thinking that the Image cleanup has a trigger set to touch the disk pool that is no longer there.

tracyw's picture

case created with support 03677872. I will update with solution.

tracyw's picture

on my Media server I ran

nbemmcmd -listhosts

./nbdevconfig -deletedp -dp (DISK_POOL_NAME) -stype ndmp

on my master server I had to run

nbdelete -allvolumes -force

nbdevconfig -deletedp -dp (DISK_POOL_NAME) -stype (DISK TYPE)

nbemmcmd -listhosts

verify  that the server was also removed

close GUI and reopen GUI problem solved. TY NB SUPPORT

SOLUTION