Re: df oddity (to a newbie)

2004-02-01 Thread Matthew Seaman
On Sun, Feb 01, 2004 at 02:09:55AM -0800, Joshua Eckroth wrote:
> On Sun, Feb 01, 2004 at 09:57:45AM +, Matthew Seaman wrote:
> > On Sun, Feb 01, 2004 at 01:38:34AM -0800, Joshua Eckroth wrote:
> > > I installed a 80gig harddrive for /usr/home, but df has been consistently giving 
> > > me weird numbers:
> > > 
> > > Filesystem  1K-blocks UsedAvail Capacity  Mounted on
> > > /dev/ad5s1d  75685352 24426308 4520421635%/usr/home
> > > 
> > > what's with Used + Avail != 1K-blocks?
> > 
> > FAQ:
> > 
> > 
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DISK-MORE-THAN-FULL
> > 
> 
> Wow, 8% exactly.  Though it makes me sad to see 6gigs go away.

Do you know you can tweak that value? 8% is a bit much on a 75Gb
filesystem.  See tunefs(8), particularly the '-m' minfree option.

Cheers,

Matthew
 

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: df oddity (to a newbie)

2004-02-01 Thread Mike Jackson
ext Joshua Eckroth ([EMAIL PROTECTED]) wrote:
> I installed a 80gig harddrive for /usr/home, but df has been consistently giving me 
> weird numbers:
> 
> Filesystem  1K-blocks UsedAvail Capacity  Mounted on
> /dev/ad5s1d  75685352 24426308 4520421635%/usr/home
> 
> what's with Used + Avail != 1K-blocks?

Hi,
 What's weird about it? FreeBSD reserves 5% of the space for the root
user on every filesystem. That's why it's not showing as available. It's
a feature, not a bug :-)

BR,
--
mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: df oddity (to a newbie)

2004-02-01 Thread Joshua Eckroth
On Sun, Feb 01, 2004 at 09:57:45AM +, Matthew Seaman wrote:
> On Sun, Feb 01, 2004 at 01:38:34AM -0800, Joshua Eckroth wrote:
> > I installed a 80gig harddrive for /usr/home, but df has been consistently giving 
> > me weird numbers:
> > 
> > Filesystem  1K-blocks UsedAvail Capacity  Mounted on
> > /dev/ad5s1d  75685352 24426308 4520421635%/usr/home
> > 
> > what's with Used + Avail != 1K-blocks?
> 
> FAQ:
> 
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DISK-MORE-THAN-FULL
> 
>   Cheers,
> 
>   Matthew
> 

Wow, 8% exactly.  Though it makes me sad to see 6gigs go away.

Thanks for the tip!

-josh

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: df oddity (to a newbie)

2004-02-01 Thread Matthew Seaman
On Sun, Feb 01, 2004 at 01:38:34AM -0800, Joshua Eckroth wrote:
> I installed a 80gig harddrive for /usr/home, but df has been consistently giving me 
> weird numbers:
> 
> Filesystem  1K-blocks UsedAvail Capacity  Mounted on
> /dev/ad5s1d  75685352 24426308 4520421635%/usr/home
> 
> what's with Used + Avail != 1K-blocks?

FAQ:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DISK-MORE-THAN-FULL

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature