From owner-freebsd-questions Mon Jun 3 13:34:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from blacklamb.mykitchentable.net (ekgr-dsl6-t65.citlink.net [207.173.251.65]) by hub.freebsd.org (Postfix) with ESMTP id CEF3A37B40A for ; Mon, 3 Jun 2002 13:34:42 -0700 (PDT) Received: from bigdaddy (bigdaddy [192.168.1.3]) by blacklamb.mykitchentable.net (Postfix) with SMTP id 7AB51EE540 for ; Mon, 3 Jun 2002 13:34:36 -0700 (PDT) Message-ID: <003101c20b3e$13a0d320$0301a8c0@bigdaddy> From: "Drew Tomlinson" To: Subject: Drive Space - Am I Getting All I Should? Date: Mon, 3 Jun 2002 13:34:36 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I added a 80G IDE drive to my 4.5 machine. I used /stand/sysinstall to FDisk and Label the drive. Now after mounting, df -h shows: Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1e 72G 1.0K 66G 0% /ftp dmesg shows the drive as 76319M so 72G seems reasonable: ad0: 76319MB [155061/16/63] at ata0-master UDMA33 The /stand/sysinstall disklabel editor sees it as the same size: Part Mount Size Newfs Part Mount Size Newfs ---- ----- ---- ----- ---- ----- ---- - ---- ad0s1e /ftp 76319MB UFS Y But the FDISK partition editor sees the drive geometry differently than dmesg: Disk name: ad0 FDISK Partition Editor DISK Geometry: 30629 cyls/81 heads/63 sectors = 156299787 sectors Offset Size End Name PType Desc Subtype Flags 0 156301488 156301487 ad0s1 3 freebsd 165 C> So how come df -h only shows 66G available? Where's the other 6G? Is this some limitation of FBSD or my system BIOS? As an experiment, I split the drive into two slices but got about the same result as shown below: Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1e 39G 1.0K 36G 0% /ftp /dev/ad0s2e 33G 1.0K 31G 0% /ftp2 Can anyone explain what's going on here? Thanks, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message