Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Dec 1999 11:53:30 -0500
From:      Greg Lehey <grog@mojave.sitaranetworks.com>
To:        intrico@pacbell.net
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Large Hard Disks
Message-ID:  <19991208115330.35574@mojave.sitaranetworks.com>
In-Reply-To: <NDBBJHGEHKFPLCHNOLINOELFCAAA.intrico@pacbell.net>; from intrico@pacbell.net on Tue, Dec 07, 1999 at 07:37:12PM -0800
References:  <19991207193136.37739@mojave.sitaranetworks.com> <NDBBJHGEHKFPLCHNOLINOELFCAAA.intrico@pacbell.net>

next in thread | previous in thread | raw e-mail | index | archive | help
[Format recovered--see http://www.lemis.com/email/email-format.html]

On Tuesday,  7 December 1999 at 19:37:12 -0800, intrico@pacbell.net wrote:
> On  Tuesday, December 07, 1999 4:32 PM, Greg Lehey wrote:
>> [Format recovered--see http://www.lemis.com/email/email-format.html]
>>
>> On Tuesday,  7 December 1999 at 15:30:44 -0800, intrico@pacbell.net wrote:
>>> On  Tuesday, December 07, 1999 10:17 AM, Greg Lehey wrote:
>>>> [Format recovered--see http://www.lemis.com/email/email-format.html]
>>>>
>>>> On Monday,  6 December 1999 at  6:37:14 -0800, intrico@pacbell.net wrote:
>>>>> I am attempting to install FreeBSD 3.3 Stable on a Maxtor 36.5 GB
>>>>> Utra DMA hard disk.  I would like FreeBSD to be the sole operating
>>>>> system on the disk.  After going through setup, the filesystems seem
>>>>> to be created okay, but as soon as it attempts to begin extracting
>>>>> files to the disk, the installation quits with a "panic: ufs_dirbad:
>>>>> bad dir".
>>>>>
>>>>> <snip>
>>>>>
>>>>> 3) If FreeBSD is compatible with UDMA, and is able to handle IDE
>>>>> disks as large as 36.5 GB, what would most likely be causing the
>>>>> panic error given above?
>>>>
>>>> I don't know.  We're going to have to take a look.  How are you
>>>> partitioning your disk?  How many slices (Microsoft partitions) , how
>>>> many (FreeBSD) partitions?  How big are they?
>>>
>>> Yes, this is repeatable (I've tried the install on the disk at least 20
>>> times).
>>>
>>> I am partitioning my disk with only one slice, (dedicating the entire
>>> disk to FreeBSD).  In the disk, I am creating the FreeBSD partitions
>>> as follows:
>>>
>>> /     80 MB
>>> swap  320 MB
>>> /USR  34436 MB
>>>
>>> I also tried the Auto-Defaults a few times, ended up with the same panic
>>> error.
>>
>> Try reducing /USR to, say, 25 GB and see what happens.  It's possible
>> we're running into something unexpected there.  You should also call
>> it /usr; lots of programs expect this name.
>
> I'm letting you know that the install succeeded, after following
> your suggestion, and reducing the /usr partition to approximately 25
> GB.  This time through it paused for about two minutes with no drive
> activity saying that it was "creating filesystems on wd0". Wow. I'm
> mystified though, as far as the reasoning here is concerned. Might
> there by any chance exist a URL which explains, or perhaps something
> I'm overlooking in "The Complete FreeBSD"? (That way, I might be
> able to avoid a lot of trial and error in getting the /usr partition
> as large as the exact number of megabytes possible, without
> generating the panic.)

You're certainly not overlooking anything in CFBSD.  I've done some
investigation, and it seems that just about nobody is using IDE drives
this large.  There are plenty of SCSI drives out there, with file
systems over 100 GB, but nobody has reported putting FreeBSD
partitions of over 32 GB on an IDE disk.

We're currently in the process of changing the IDE driver, so it's
very unlikely that the one you're using will get fixed, even if there
is a bug.  I'd recommend to add a second slice to your disk to take up
the other 9 GB or so, and put another file system on it.  You'd end up
with something like this:

 /dev/wd0s1a   80 MB		/
 /dev/wd0s1b  320 MB		swap
 /dev/wd0s1h   25 GB		/usr
 /dev/wd0s2h   9 GB		/var

I'd guess that that will work, though we could still be in for
surprises.

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers


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?19991208115330.35574>