Forum Discussion

Zahid_Haseeb's avatar
Zahid_Haseeb
Moderator
13 years ago

NBU status: 96, EMM status: Cleaning media is not available

Environment

Veritas Netbackup Server = 7.1

OS of Veritas Netbackup Server = Win2008

IBM Tape Library attached with six Tape Drives

Problem

Every thing seems normal but when going to clean the Tape Drive, its giving error. Although the Cleaning Tape Cartridge is also present in the Tape Library. See the below Detail Status of Activity Monitor below and also the error when triggering to clean the Drive.

Activity Monitor

1/9/2012 6:39:40 PM - requesting resource IBM.ULT3580-TD5.000:__ANY__
1/9/2012 6:39:40 PM - Error nbjm(pid=2960) NBU status: 96, EMM status: Cleaning media is not available   
1/9/2012 6:39:40 PM - end operation
unable to allocate new media for backup, storage unit has none available(96)

Error when triggering to clean the Drive

Status of Drive

Drive Required Cleaning

 

 

  • Further to mariannes answer ...

    You say you managed to do the cleaning from the library, this suggests very strongly the library is set to clean, or at least knows about cleaning tapes.

    You have 2 options for cleaning, either the library does it all, or nbu does it all.

    For nbu to do the cleaning is simple.

    1) delete all details of cleaning tapes from the library, including all slots that may be defined as cleaning slots depending on how your library works.

    2) add the cleaning tape to nbu as the same density as the drives, but with cln at end. Eg if you drives are hcart, a cleaning tape will need to be hcart-cln.

    It must be in volume pool none, in the library and have a number of cleanings greater than 0 remaining. The usual way to add a cleaning tape is via a barcode rule,

    eg

    Barcode = clnxxxx

    Pool =  None

    Density/ Media Type =  hcart_clean

    If the cleaning is run from library as you have done, nbu will know nothing about it, so the drives will still show as needing cleaning. tpclean -m <drive name> will reset this manually.

    Frequency based cleaning (eg, clean every xx hours) should NEVER be used with modern drives, one of the quickest ways to break them.  Cleaning tapes, at least under the microscope, are like sandpaper - they wear the heads in the drive.  The ONLY time a drive should be cleaned is when it flashes the cleaning light / requests ceaning via tapealert, which is what the library, or NetBackup detects to trigger drive cleaning.

     

    Martin

23 Replies