The "bpexpdate -deassignempty" command returns status code 97 after applying NetBackup version 22.214.171.124 or 126.96.36.199.
|Article:TECH199730|||||Created: 2012-11-14|||||Updated: 2013-02-20|||||Article URL http://www.symantec.com/docs/TECH199730|
|NOTE: If you are experiencing this particular known issue, we recommend that you Subscribe to receive email notification each time this article is updated. Subscribers will be the first to learn about any releases, status changes, workarounds or decisions made.|
At NetBackup versions version 188.8.131.52 or 184.108.40.206, the bpexpdate -deassignempty command will return a status code 97 (requested media id is in use, cannot process request) when a media is in use. Earlier versions would skip the media that were in use versus returning the error.
When this occurs, the admin log file will show a status 97.
Example: admin log bpexpdate start:
15:25:20.312 [3948.5804] <2> bpexpdate: VERBOSE = 5
15:25:20.312 [3948.5804] <2> logparams: -deassignempty -force
A short time later, the error:
15:25:20.437 [3948.5804] <4> emmlib_DeleteEmptyMedia: (0) changeMediaDBDeleteEmptyMedia returned 2001049
15:25:20.437 [3948.5804] <16> check_for_empty_media: (-) Translating EMM_ERROR_MediaAllocated(2001049) to 97 in the NetBackup context
15:25:20.437 [3948.5804] <4> check_for_empty_media: Could not build list of media, requested media id is in use, cannot process request
15:25:20.453 [3948.5804] <2> main: EXIT STATUS 97: requested media id is in use, cannot process request
NetBackup versions impacted:
A defect in the NetBackup code will cause the query to nbemm to exit out when a media is found to be in use, versus skipping it.
The formal resolution for this issue (Etrack 2921910) is included in the following release:
- NetBackup 7.5 Maintenance Release 5 (220.127.116.11)
NetBackup 18.104.22.168 is now available - please access the Related Article below for more information.
Please note that Symantec Corporation reserves the right to remove any fix from the targeted release if it does not pass quality assurance tests or introduces new risks to overall code stability. Symantec's plans are subject to change and any action taken by you based on the above information or your reliance upon the above information is made at your own risk. Please refer to the maintenance release readme or contact NetBackup Enterprise Support to confirm this issue (ET2921910) was included in the maintenance release.
Rerunning bpexpdate -deassignempty -force while the media are not in use will allow the command to function.
If this workaround is unfeasible, an Emergency Engineering Binary (EEB) replacement for bpexpdate containing a fix for this issue is available for NetBackup 22.214.171.124 by contacting Symantec technical support, referencing this document ID and Etrack 2990106.
Running bpexpdate -deassignempty -force failes if one of the media fails to deassign, all fail to deassign.
requested media id is in use, cannot process request
Article URL http://www.symantec.com/docs/TECH199730