Forum Discussion

darkbishop's avatar
darkbishop
Level 3
3 years ago

Unable to delete tape library. error 196.

Hi All, i encounter network read failed when i was trying to perform backup.  since this only happen to one of my media agent. ( i got 2 media agent, 1 is EMM server that is attach to MSL01, an...
  • StoneRam-Simon's avatar
    3 years ago

    When I've had issues with devices not being able to be removed, I generaly find that the following command, will allow you to removed them...  (with the options below it will remove ALL devices, so if there is more libraries / drives configured you  will need to recreate all of them again....)
    nbemmcmd -deletealldevices -allrecords

    You can also look to delete devices for a specific machine too....

    Usage:
    nbemmcmd -deletealldevices [-allrecords] [-emmname <string>] [-emmport <unsigned integer>]
    [-machinename <string>]
    [-machinetype <api | app_cluster | app_server | appliance | client | cloudpoint_server | cluster | disk_array | foreign_media | master | media | nbwss_endpoint | ndmp | remote_master | replication_host | virtual_machine>]