Subject: Re: NetBSD Hang after disklabel, xsm crash
To: Harald Bjoroy <harald@bitcon.no>
From: Allen Briggs <briggs@canolog.ninthwonder.com>
List: port-i386
Date: 07/28/1998 07:39:12
> > > For the 3,2GB I did the same thing. After the first "newfs 
> > wd1c", I got
> > > a message telling me that I was wasting 8064 sectors of the disk. I
> > > added 8064 to the number 6281856 which was the size I had 
> > entered for my
> > > C-partition on this disk, and tried to do a new disklabel. 

Ummm...  Does your disk have 6281856 + 8064 sectors?  Newfs will say
that you're wasting sectors even if your disk doesn't have those
sectors, I believe.  It's not saying "those sectors are there and not
used."  It's saying, "I created a filesystem in chunks and there wasn't
enough data to make up an entire chunk at the end, so that space is
wasted."  If you fool around with the geometry, you can get it to reduce
the number of sectors per cylinder or cylinder/group, and you can get it
to use all of the space (possibly with some impact on performance).

> But anyway: The system should complain with an error message, not a
> freeze!

Definitely.  This may be a combination of lame hardware and lame
software.  I know next to nothing about IDE, though...

-allen

-- 
                    Allen Briggs - briggs@ninthwonder.com