Forum Discussion

ipmanyak's avatar
ipmanyak
Level 5
10 years ago

The backup size on the tapes

I use LTO-5, 3.0TB (1.5Tb native). The size of some backups exceeds 2 Tb and they are written sequentially on tapes. My backup size on the tapes usually 1-1.2 Tb instead of 1.5 Tb. Why? ...
  • mph999's avatar
    10 years ago
    Aside of the excellent suggestions from revaroo and Nicolai ...  here are some details I posted to a simlar question some time ago.
     
    NetBackup passes data to the operating system, one block at a time, to be written to the tape drive. NetBackup has no understanding of tape capacity. In theory, it would keep writing to the same tape "forever".
     

    When the tape physically passes the logical end-of-tape, this is detected by the tape drive firmware. The tape drive firmware then sets a 'flag' in the tape driver (this would be the st driver in the case of Solaris). There is still enough physical space on the tape for the current block to be written, so this completes successfully. NetBackup then attempts to send the next block of data (via the operating system) but now the tape driver refuses, as the 'tape full' flag is set. The st driver then passes this 'tape full' message to the operating system, which passes it to NetBackup.  Only when this has happened will Netbackup request the tape to be changed.

    Or put more simply, the tape becoming full cannot be controlled in anyway by NBU.  Additionally, the amount of data written to the tape is dependant on how 'compressible' the data is, and again, cannot be controlled by NBU.

    Low amounts of data written to a tape can have various causes ...

    1.  Be totally normal  (data is not very compressible)

    2.  Drive hardware fault

    3.  Tape driver fault

    4.  Tape firmware fault

    Martin