36.4GB drive formats out to 32.8GB? what am I missing please

Wojciech Puchar wojtek at tensor.3miasto.net
Sun Jun 12 12:19:08 GMT 2005


>
> U320 15k
> 36.4GB formatted capacity
> (IBM part 06P5776 / 06P5778, with Seagate drive ST336753LC)

36.4pseudomarketblahgigabytes=36400000000 bytes

1 real gigabyte is 2^30=1073741824 bytes and that's means your disk has 
33.9 real Gigabytes.

rest are what's used up by inodes and bitmaps.
use -i option in newfs to set much less inodes than default unless you 
yould like to store really lot of small files.

as it's your /misc directory i think there will be mostly quite large 
file.


another thing is 5% reserved space that can be changed by tunefs

>
> Looking up both the IBM part numbers and the Seagate part numbers via Google, 
> I consistantly get that the drive's formatted capacity is 36.4GB.
>
> When partitioned either in "safe" or "dd" mode (via sysinstall) and set to 
> use the entire disk as one slice, once the drive is mounted I show:
>
> # df -m
> /dev/da1s1      33617    0 30928     0%    /misc
>
> # df -h
> /dev/da1s1      33G    4.0K     30G     0%    /misc
>
> I'm seeing approx. 30,600MB (32.8GB?) free -
>
> Is this correct?
>
> Thanks!
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list