Fwd: 305 GB hard drive reduced to 266 GB (why?)

Amitabh Kant amitabhkant at gmail.com
Sat Feb 3 06:06:01 UTC 2007


---------- Forwarded message ----------
From: Amitabh Kant <amitabhkant at gmail.com>
Date: Feb 3, 2007 11:11 AM
Subject: Re: 305 GB hard drive reduced to 266 GB (why?)
To: Peter <pmatulis at sympatico.ca>


On 2/3/07, Peter <pmatulis at sympatico.ca> wrote:
> Le Vendredi 2 Février 2007 19:41, Peter A. Giessel a écrit:
> > On 2007/02/02 15:18, Peter seems to have typed:
> > > So now my question becomes "Where does FreeBSD get 289 from 305?".
> >
> > Well, for one thing, you never have 305GB.  1024MB = 1GB.
>
> As I said, I already accounted for that.  320 000 / 1024 = 305 GB.
>

The correct calculation would be 320 * 1000 * 1000 * 1000 = 320000000000
320000000000/1024/1024/1024 = 298 GB raw capacity

You need to account for every conversion:
Bytes->KB->MB->GB

Amitabh


More information about the freebsd-questions mailing list