Subject: Re: CVS server hosed? (fwd)
To: None <port-mac68k@netbsd.org>
From: David A. Gatwood <dgatwood@mvista.com>
List: port-mac68k
Date: 10/29/1999 17:21:50
D'oh!


---------- Forwarded message ----------
Date: Fri, 29 Oct 1999 17:17:45 -0700 (PDT)
From: "David A. Gatwood" <dgatwood@mvista.com>
To: gabriel rosenkoetter <gr@eclipsed.net>
Cc: port-macppc@netbsd.org
Subject: Re: CVS server hosed?

On Fri, 29 Oct 1999, David A. Gatwood wrote:

> On Fri, 29 Oct 1999, gabriel rosenkoetter wrote:
> 
> > On Fri, Oct 29, 1999 at 09:56:06AM -0700, David A. Gatwood wrote:
> > > Tried it, but:
> > > 
> > > 1. package tools won't work because of a disk space reporting bug.  df
> > >    shows numbers that are ridiculously large and frequently negative.
> > 
> > This sounds like the mkfs/df bug that's been cropping up with every
> > third new install to send email to the list.
> > 
> > Has this been fixed, Bill? Only in current? Reintroduced in 1.4.1? Is
> > there a way to get sane numbers without re-mkfs'ng?
> 
> I installed the -current snapshot that corresponded with the kernel, and
> everything snapped back into shape (and ps looked a whole lot nicer, too,
> obviously).

Well, I must have been imagining things.  I just did a DF, and it's still
psychotic.  I don't see how it could be a mkfs bug, though....  The
Mac-side MkFS never had trouble with this sort of thing until... well
maybe NetBSD 1.3 or so?  I know I don't remember anything like it back
when I first worked with it in... I guess it was around 1.1....

bash-2.03# df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/sd0a   1715004935 1714562562 -171058121   111%    /
/dev/sd0g   539810905 539635475 -53805661   111%    /extra
/dev/sd1g     1739119   397161  1168046    25%    /ftppub
kernfs              1        1        0   100%    /kern
procfs              4        4        0   100%    /proc

Correct sizes should be something like

/dev/sd0a      700000   400000   300000    75%   /
/dev/sd0g       50000        0    50000     0%   /extra
/dev/sd1g     1739119   397161  1168046    20%   /ftppub

or something around there.

I do remember that there's been a bug that caused them to be added
size-wise, but... these sizes are downright fictitious.  The size of the
last one is close.  The size of the middle one is approx. 10,000 times the
correct size.  The real size for the top one is 700 megs or so, about
1/2000th the reported size.  As much as I'd like to have a 1.7 terabyte
partition, the laws of physics sort of get in the way.  ;-)


David