Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Feb 2001 14:31:05 -0800
From:      "Kevin Oberman" <oberman@es.net>
To:        "Nubo" <nubo@mail.tele.dk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: harddisk problem 
Message-ID:  <200102012231.f11MV6L11342@ptavv.es.net>
In-Reply-To: Your message of "Thu, 01 Feb 2001 23:14:42 %2B0100." <NEBBKMHIALDCKNAGNOBNCEAJCAAA.nubo@mail.tele.dk> 

next in thread | previous in thread | raw e-mail | index | archive | help
> From: "Nubo" <nubo@mail.tele.dk>
> Date: Thu, 1 Feb 2001 23:14:42 +0100
> Sender: owner-freebsd-questions@FreeBSD.ORG
> 
> Hi....
> 
> I have just installde bsd on my server whit a disk at 46Gb, and my problem
> like this.
> 
> in bios it says 46Gb, but if i do df -k it says
> 
> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
> /dev/ad0s1a     49583    27971    17646    61%    /
> /dev/ad0s1f  43380621 12286276 27623896    31%    /usr
> /dev/ad0s1e     19815     1035    17195     6%    /var
> procfs              4        4        0   100%    /proc
> 
> 
> something is wrong i mean, try to + these numbers, or is it just me?

46 GB is the raw total size of the disk, probably rounded to the nearest
GB. You then slice and partition the disk and build file systems. This
is all overhead that is not accounted to a single partition. 

Also, df reports in "1K-blocks". this means 1024 bytes, not 1000. Disk
manufacturers have long used 1 GB = 1,000,000,000 bytes, not
1,024,000,000 bytes. This means that your 46 GB disk is actually
closer to 45 GB (at very best) and may, depending on rounding, be
closer to 44 GB which is about what the partitions total.

When you add file system overhead, I think this looks about right.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102012231.f11MV6L11342>