From owner-freebsd-questions Fri Apr 28 8: 1:52 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 7ADA137B962 for ; Fri, 28 Apr 2000 08:01:49 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Fri, 28 Apr 2000 16:01:47 +0100 Received: from localhost (cmjg@localhost) by mail.ilrt.bris.ac.uk (8.8.7/8.8.8) with ESMTP id QAA12821; Fri, 28 Apr 2000 16:01:46 +0100 (BST) Date: Fri, 28 Apr 2000 16:01:46 +0100 (BST) From: Jan Grant To: cache manager Cc: freebsd-questions@freebsd.org Subject: Re: df reports wrong size In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 28 Apr 2000, cache manager wrote: > I recently added a second external scsi drive to my FreeBSD 4.0 server. > I fdisked and labled four seperate slices as such > /Volume1 > /Volume2 > /Volume3 > /Volume4 > > each volume has 2 gig. > Now df reports > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/da0s1a 49583 28864 16753 63% / > /dev/da0s1f 8351897 514667 7169079 7% /usr > /dev/da0s1e 19815 2658 15572 15% /var > procfs 4 4 0 100% /proc Make sure you've actually created filesystems (newfs) and mounted them (and fix /etc/fstab to make the mounts permanent) > This is way wrong and consequently Samba reports these volumes as only > having 50 meg on them. It's reporting the free filespace in the filesystem that the mountpoint directories exist in, ie the root directory. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk Whenever I see a dog salivate I get an insatiable urge to ring a bell. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message