From owner-freebsd-questions@FreeBSD.ORG Fri Nov 19 20:42:06 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 864F316A4CE for ; Fri, 19 Nov 2004 20:42:06 +0000 (GMT) Received: from imo-d02.mx.aol.com (imo-d02.mx.aol.com [205.188.157.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DCCC43D1F for ; Fri, 19 Nov 2004 20:42:06 +0000 (GMT) (envelope-from Darkbackwardz@netscape.net) Received: from Darkbackwardz@netscape.net by imo-d02.mx.aol.com (mail_out_v37_r3.8.) id n.2.f1bab29 (22680) for ; Fri, 19 Nov 2004 15:42:01 -0500 (EST) Received: from netscape.net (mow-d20.webmail.aol.com [205.188.139.161]) by air-in04.mx.aol.com (v103.7) with ESMTP id MAILININ41-5898419e5a9911c; Fri, 19 Nov 2004 15:42:01 -0500 Date: Fri, 19 Nov 2004 15:42:01 -0500 From: Darkbackwardz@netscape.net To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <4A4CB600.336B5B21.4980619F@netscape.net> X-Mailer: Atlas Mailer 2.0 X-AOL-IP: 151.205.50.221 X-AOL-Language: english Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: Disk Space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2004 20:42:06 -0000 Preloaded elf kernel "kernel" at 0xc0557000. Preloaded elf module "if_rl.ko" at 0xc055709c. rl0: Ethernet address: 00:40:ca:4f:4d:18 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: Lexmark USB Hub, class 9/0, rev 1.10/1.00, addr 2 ugen0: Lexmark All-in-One, rev 1.10/1.00, addr 3 ulpt0: Lexmark Lexmark All-in-One, rev 1.10/1.00, addr 4, iclass 7/1 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 ad0: 78167MB [158816/16/63] at ata0-master UDMA133 ad1: 38166MB [77545/16/63] at ata0-slave UDMA100 Mounting root from ufs:/dev/ad0s1a Preloaded elf kernel "kernel" at 0xc0557000. Preloaded elf module "if_rl.ko" at 0xc055709c. rl0: Ethernet address: 00:40:ca:4f:4d:18 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: Lexmark USB Hub, class 9/0, rev 1.10/1.00, addr 2 ugen0: Lexmark All-in-One, rev 1.10/1.00, addr 3 ulpt0: Lexmark Lexmark All-in-One, rev 1.10/1.00, addr 4, iclass 7/1 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 ad0: 78167MB [158816/16/63] at ata0-master UDMA133 ad1: 38166MB [77545/16/63] at ata0-slave UDMA100 Mounting root from ufs:/dev/ad0s1a # fdisk /dev/ad0 ******* Working on device /dev/ad0 ******* parameters extracted from in-core disklabel are: cylinders=9964 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=9964 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 160071597 (78159 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: # disklabel /dev/ad0s1 # /dev/ad0s1: type: ESDI disk: ad0s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 9963 sectors/unit: 160071597 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 262144 0 4.2BSD 2048 16384 94 # (Cyl. 0 - 16*) b: 885728 262144 swap # (Cyl. 16*- 71*) c: 160071597 0 unused 0 0 # (Cyl. 0 - 9963*) e: 524288 1147872 4.2BSD 2048 16384 94 # (Cyl. 71*- 104*) f: 524288 1672160 4.2BSD 2048 16384 94 # (Cyl. 104*- 136*) g: 157875149 2196448 4.2BSD 2048 16384 89 # (Cyl. 136*- 9963*) # cat /etc/fstab # See the fstab(5) manual page for important information on automatic mounts # of network filesystems before modifying this file. # # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1f /tmp ufs rw 2 2 /dev/ad0s1g /usr ufs rw 2 2 /dev/ad0s1e /var ufs rw 2 2 /dev/acd0c /cdrom cd9660 ro,noauto 0 0 proc /proc procfs rw 0 0 # mount /dev/ad0s1a on / (ufs, local) /dev/ad0s1f on /tmp (ufs, local, soft-updates) /dev/ad0s1g on /usr (ufs, local, soft-updates) /dev/ad0s1e on /var (ufs, local, soft-updates) procfs on /proc (procfs, local) /dev/acd0c on /cdrom (cd9660, local, read-only) # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 128990 125784 -7112 106% / /dev/ad0s1f 257998 13938 223422 6% /tmp /dev/ad0s1g 77708462 1286536 70205250 2% /usr /dev/ad0s1e 257998 20012 217348 8% /var procfs 4 4 0 100% /proc /dev/acd0c 632960 632960 0 100% /cdrom # Giorgos Keramidas wrote: > >Post the output of: > > # dmesg | grep ad > # fdisk /dev/ad0 > # disklabel /dev/ad0s1 > # cat /etc/fstab > # mount > # df > >That should help a bit in discovering what's wrong. > > >On 2004-11-17 23:54, Darkbackwardz@netscape.net wrote: >> For some reason, when I try to save a file on my computer, it says >> I've run out of hard disk space. This is completely impossible, my >> computer has two hard drives, one 80 GB HD which FreeBSD is installed >> on and one 40 GB HD formattedto the FreeBSD filesystem. There is >> nothing on either of them except the operating system. >> >> During installation, I partitioned the 80GB disk with one 80 GB >> partition and five subpartitions: >> >> ad0s1a 128 MB (/) >> ad0s1b 432 MB (swap) >> ad0s1e 256 MB (/var) >> ad0s1f 256 MB (/tmp) >> ad0s1g 77087 MB (/usr) >> >> But if you use Konquerer to analyze the drives the following >> capacities are reported: >> >> ad0s1a 1500 MB (/) >> ad0s1e 16.7 MB (/var) >> ad0s1f 12.8 MB (/tmp) >> ad0s1g 1300 MB (/usr) > >It's impossible to have 1500 MB of free space on a partition like ad0s1a >that has a size of 128 MB. What does df(1) report? > > # df > >> The second, 40GB drive (Primary IDE Slave) doesn't even show up in >> Konquerer. There is 200 dollar's worth (117 GB!) of disk space >> nowhere to be found. __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp