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

Media Expire issue.

Created: 22 Apr 2014 • Updated: 09 Jul 2014 | 5 comments
Yuvi's picture
This issue has been solved. See solution.

Hi,

Netbackup 7.6.0.1 enivironment with Windows Server 2008 OS

Media is showing "requested media id is not assigned to this host in the EMM database"  after upgrading from 7.5.0.6 to 7.6 to 7.6.0.1

help me in fixing the issue.

All the new media assigned to Server is showing this error while expiring using the below cmd

bpexpdate -d 0 -m <media id>  -force .

Operating Systems:

Comments 5 CommentsJump to latest comment

Marianne's picture

Upgrade should NOT cause this kind of issue.

Have you checked 'Media Summary' report with Verbose option selected to see if expiration dates are listed as expected?

Please show us this command for one of the tapes you are having an issue with:

nbemmcmd -listmedia -mediaid <media-id>

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

nagavp's picture

Hi Marianne,

D:\Program Files\Veritas\NetBackup\bin\admincmd>nbemmcmd -listmedia -mediaid TB2
972
NBEMMCMD, Version: 7.6.0.1
====================================================================
Media GUID:                     8a8be32d-19ef-417b-8734-5b35267f3be3
Media ID:                       TB2972
Partner:                        -
Media Type:                     HCART
Volume Group:                   001_00000_TLD
Application:                    Netbackup
Media Flags:                    1
Description:                    Added by Media Manager
Barcode:                        TB2972L4
Partner Barcode:                --------
Last Write Host:                Media Server
Created:                        01/25/2013 14:03
Time Assigned:                  04/28/2014 16:46
First Mount:                    01/26/2013 15:51
Last Mount:                     04/28/2014 15:56
Volume Expiration:              -
Data Expiration:                -
Last Written:                   -
Last Read:                      -
Robot Type:                     TLD
Robot Control Host:            Robot Control Host
Robot Number:                   0
Slot:                           103
Side/Face:                      -
Cleanings Remaining:            -
Number of Mounts:               9
Maximum Mounts Allowed:         0
Media Status:                   FROZEN
Kilobytes:                      0
Images:                         0
Valid Images:                   0
Retention Period:               0
Number of Restores:             0
Optical Header Size Bytes:      1024
Optical Sector Size Bytes:      0
Optical Partition Size Bytes:   0
Last Header Offset:             0
Adamm Guid:                     00000000-0000-0000-0000-000000000000
Rsm Guid:                       00000000-0000-0000-0000-000000000000
Origin Host:                    NONE
Master Host:                    Master
Server Group:                   UNRESTRICTED_SHARING_GROUP
Upgrade Conflicts Flag:
Pool Number:                    54
Volume Pool:                    vp_tst
Previous Pool Name:             -
Vault Flags:                    -
Vault Container:                -
Vault Name:                     -
Vault Slot:                     -
Session ID:                     -
Date Vaulted:                   -
Return Date:                    -
Media on Hold:                  0
====================================================================
Command completed successfully.
 

Marianne's picture

Media is FROZEN. Nothing to do with upgrade, but with some or other I/O error that seemed to have happened today.
Check Media Logs report for the media server name seen in ' Last Write Host' field above.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Yuvi's picture

when i trigger backup for the particular media its running and 

after that first time i expire the media it is expiring and second time it throws error as 

"requested media is not assigned to this EMM database"

Marianne's picture

This media-id is FROZEN. 

Expiring it will not return it to usable media.
There is nothing to expire since 'Data Expiration: ' and 'Valid Images:' fields are empty.

You need to find out why it got frozen.

If you feel that the tape is good, unfreeze it.
It will remove the 'Time Assigned:' field and make it usable again.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

SOLUTION