Vickie
12 years agoLevel 6
Unable to remove media server
Hi All,
Master Server Name : masterserver.bkp.com
NBU Version : 7.5.0.4
Master Server : Windows 2003
Media Server Name : mediaserver.bkp.com
NBU Version Media : 6.5.6
MEdia Server : Windows 2003
I did a media server decommission. After performing all task for decommission media server.
At the end when I tried to remove the server from emm, I got below error.
D:\Veritas\NetBackup\bin\admincmd>nbemmcmd -deletehost -machinename mediaserver.bkp.com -machinetype media
NBEMMCMD, Version: 7.5.0.4
The function returned the following failure status:
the media is allocated for use (199)
Command did not complete successfully.
1) No media/images assign to this host.
D:\Veritas\NetBackup\bin\admincmd>bpmedialist -mlist -h mediaserver.bkp.com -l
2) All refference entry of media server removed from master server.
3) Devices attached to media server removed and un-zoned. Storage unit removed.
4) Media server is in Deactivate state
5) Media server entry exist in "nbemmcmd -listhost" command output.
Now Media server has been shut down by the OS team.
Need help to remove this media server.
Note: There was basic disk storage unit configured for this server to backup its data to disk.
The bpimagelist output shows that the backup image belongs to the master server:
Media Type: Media Manager (2) Density: hcart (6) File Num: 38 ID: R02210 Host: masterserver.bkp.com
So, this shows that you have previously changed ownership for images.
The problem is with the disk images - although the image ownership was transferred to Master, the Media Descriptor is still recorded as the media server:
Media Descriptor: mediaserver.bkp.com
Have you tried to expire disk images with 'justimage' option?
This will ensure that NBU will not try to find the actual storage path to delete the images.