02-22-2013 07:28 AM
Netbackup 7.0.1. Trying to expire media ID H00173, getting "requested media id is in use, cannot process request."
However, the fix with nbrbutil does NOT work.
$ sudo nbrbutil -dump | grep H00173
MdsAllocation: allocationKey=7061747 jobType=1 mediaKey=4010533 mediaId=H00173 driveKey=2000698 driveName=IBM.ULTRIUM-TD2.001 drivePath=/dev/rmt/9cbn stuName= masterServerName=earth mediaServerName=wind ndmpTapeServerName= diskVolumeKey=0 mountKey=0 linkKey=0 fatPipeKey=0 scsiResType=1 serverStateFlags=1
$ sudo nbrbutil -releaseMDS 4010533
$ sudo nbrbutil -dump | grep H00173
MdsAllocation: allocationKey=7061747 jobType=1 mediaKey=4010533 mediaId=H00173 driveKey=2000698 driveName=IBM.ULTRIUM-TD2.001 drivePath=/dev/rmt/9cbn stuName= masterServerName=earth mediaServerName=wind ndmpTapeServerName= diskVolumeKey=0 mountKey=0 linkKey=0 fatPipeKey=0 scsiResType=1 serverStateFlags=1
I've tried a dozen times.
The media hasn't been used in 10 months. It is definitely out of the drive, and the drive has been in use these last 10 months.
Trying to decommission this library and this is the last media that hasn't been expired yet.
Solved! Go to Solution.
02-22-2013 07:54 AM
you are using wrong MDS key.
try this
sudo nbrbutil -releaseMDS 7061747
02-22-2013 07:50 AM
If nothing is running then try a nbrbutil -resetAll
Also take a look in Device Monitor just in case there is a pending request and look for any running or suspended jobs (restores usually) that may be holding it back.
02-22-2013 07:54 AM
you are using wrong MDS key.
try this
sudo nbrbutil -releaseMDS 7061747
02-22-2013 08:19 AM
WINNER! Give Nagalla the giant stuffed panda!
All the links I found on the use of the -releaseMDS option said:
nbrbutil -releaseMDS <mediaKey>
Other examples replaced MDS with the mediaKey, and used the tape ID.
This tape has been sitting there with 939 expired images in it for 10 months. Now it can rest in peace.
Thanks!