Networker

Re: [Networker] Saveset size KB versus MB versus GB?

2003-03-26 23:07:28
Subject: Re: [Networker] Saveset size KB versus MB versus GB?
From: George Scott <George.Scott AT ITS.MONASH.EDU DOT AU>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Thu, 27 Mar 2003 13:58:23 +1000
George,

> I've noticed that sometimes NetWorker will list a saveset size in
> thousands of KB rather than MB. Other times, a size will be listed in
> thousands of MB rather than GB. Why does NetWorker list a size as say
> 2345 MB rather than 2 GB?

Yes.  This is probably to do with precision.  (2 GB could be anywhere
between 2000 MB and 2999 MB.  Once you get to numbers like 23 GB it is
less important whether it is 23000 MB or 23999 MB.)

> Is there a cut off point? Like maybe anything under 10 GB is listed in
> thousdands of MB and anything under 10 MB is listed in thousands of KB?

A little bit of experimenting with mminfo (from NSR 6.1) shows that the
numbers it displays are:

0  - 999   B
2  - 9999 KB
10 - 9999 MB
10 - ?    GB

Some notes:

- My examples only go to ~70 GB, but the man page indicates that it
  will display TB and PB.  IMHO, anyone who uses NetWorker to make
  serious savesets that push into TB and PB teritory have rocks in
  their head...

- The KB figures are rounded up (1025 bytes is shown as 2 KB).  The MB
  and GB figures seem to be rounded down.

- I don't know what happens between 1000 and 1024 bytes because my
  media db doesn't have anything in that range.  If pushed I'd guess
  that it came out as "1 KB".

- AFAICT, Legato uses the "marketing" versions of MB and GB (ie, 1 MB =
  1000 KB, 1 GB = 1000 MB).  Makes the product seem more impressive to
  the management types from prospectives.

- I'm sure there is a bug in here somewhere, but the thought of a 3
  month argument about how I'm not looking for a work around just saps
  all the energy from my dialing finger...

The sizes in savegrp completion notices are actually generated by
"save" on the client.  Really old client code (like the best that
Legato provides for Netware machines) just show in KB.  More recent
versions show KB, MB and GB.  Some of these seem to show thousands of
KB as (for example) 1234 KB and others as 1.2 MB, while sticking with
the mminfo scheme for GB.  In short this looks like a real dogs
breakfast.

George.
--
George Scott           George.Scott AT its.monash DOT edu
Systems Programmer, IT Services, Monash University

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=