Forum Discussion

PaulStevens's avatar
7 years ago

file sizes don't match

Netbackup 7.7.3 RHEL master and media servers AIX client   I am creating a validation step in my script that compares the filesize with netbackup output before deleting the file from the server. ...
  • andrew_mcc1's avatar
    7 years ago

    Are you sure? 24,422,972 KB which NBU bplist gives is the same as 25,009,123,328 from the OS "ls -al" command. I suspect the "du" command which reports a slightly higher number may include some filesystem block allocation rounding-up and/or similar artifacts.

    BR Andrew

  • watsons's avatar
    7 years ago

    I don't see a problem..

    24422972K   means

    24422972 * 1024 =  25009123328

    which is correct.

    Try du -kh  (not sure though if that works in AIX..)