Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2000 16:01:46 +0100 (BST)
From:      Jan Grant <Jan.Grant@bristol.ac.uk>
To:        cache manager <cache@scnc.jps.k12.mi.us>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: df reports wrong size
Message-ID:  <Pine.GHP.4.21.0004281600040.23842-100000@mail.ilrt.bris.ac.uk>
In-Reply-To: <Pine.BSF.4.10.10004280741230.98570-100000@scnc.jps.k12.mi.us>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GHP.4.21.0004281600040.23842-100000>