Cannot delete phantom drive from the EMM database.

Problem

Cannot delete phantom drive from the EMM database.

Solution

ISSUE:
Cannot delete phantom drive from the Enterprise Media Manager (EMM) database.
Post 6.5.2, a new command was added to clean up phantom devices in EMM.

WARNING:  This is a powerful command and must be used with caution. This command will remove all records for an entire media server in EMM.
nbemmcmd -deletealldevices

Here is the usage:
NBEMMCMD, Version:6.5.2A
Help requested.
Usage:
nbemmcmd -deletealldevices [-allrecords] [-emmname <string>] [-emmport <unsigned integer>]
[-machinename <string>]
[-machinetype <api | app_cluster | client | cluster | disk_array | master | media | ndmp | virtual_machine>]
Command completed successfully.

The following command would get this output from the master:
EXAMPLE
bash-2.05# ./nbemmcmd -listhost -verbose
NBEMMCMD, Version:6.5
The following hosts were found:
diz.host.name.com
MachineName = "diz.host.name.com"
MachineDescription = ""
MachineNbuType = server (6)
diz.host.name.com
ClusterName = ""
MachineName = "diz.host.name.com"
GlobalDriveSeed = "VEND:#.:PROD:#.:IDX"
LocalDriveSeed = ""
MachineDescription = ""
MachineFlags = 0xe7
MachineNbuType = master (3)
MachineState = active for disk jobs (12)
NetBackupVersion = 6.50 (650000)
OperatingSystem = solaris (2)
ScanAbility = 5
guitarman.host.name.com
ClusterName = ""
MachineName = "guitarman.host.name.com"
LocalDriveSeed = ""
MachineDescription = ""
MachineFlags = 0xe7
MachineNbuType = media (1)
MachineState = active for tape and disk jobs (14)
MasterServerName = "diz.host.name.com"
NetBackupVersion = 6.50 (650000)
OperatingSystem = solaris (2)
ScanAbility = 5
talon
MachineName = "talon"
MachineDescription = ""
MachineFlags = 0
MachineNbuType = ndmp (2)
Command completed successfully.

To remove host "diz.host.name.com" the command would be:
nbemmcmd -deletealldevices -machinename diz.host.name.com -machinetype master

This would remove all devices associated to the host "diz.host.name.com"

Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)