From owner-freebsd-questions Thu Feb 1 14:31:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 1CFD537B491 for ; Thu, 1 Feb 2001 14:31:15 -0800 (PST) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id f11MV6L11342; Thu, 1 Feb 2001 14:31:06 -0800 (PST) Message-Id: <200102012231.f11MV6L11342@ptavv.es.net> To: "Nubo" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: harddisk problem In-reply-to: Your message of "Thu, 01 Feb 2001 23:14:42 +0100." Date: Thu, 01 Feb 2001 14:31:05 -0800 From: "Kevin Oberman" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > From: "Nubo" > 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