Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 1998 15:40:16 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Markus Holmberg <saska@acc.umu.se>, Doug White <dwhite@resnet.uoregon.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: newfs hangs system when doing "newfs /dev/rccd0c"
Message-ID:  <19981110154016.W499@freebie.lemis.com>
In-Reply-To: <Pine.LNX.4.05.9811100330190.21212-100000@hirohito.acc.umu.se>; from Markus Holmberg on Tue, Nov 10, 1998 at 03:31:42AM %2B0100
References:  <Pine.BSF.4.03.9811091706470.3471-100000@resnet.uoregon.edu> <Pine.LNX.4.05.9811100330190.21212-100000@hirohito.acc.umu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, 10 November 1998 at  3:31:42 +0100, Markus Holmberg wrote:
> On Mon, 9 Nov 1998, Doug White wrote:
>
>> On Thu, 5 Nov 1998, Markus Holmberg wrote:
>>
>>> The ccd consists of almost 4 x 10 gb Maxtor IDE HDD's (the first one has
>>> some space allocated for swap and root partition, the rest is for ccd).
>>>
>>> I have configured wd1, wd2 and wd3 to be totally dedicated to FreeBSD (one
>>> big slice), and wd0 has the extra left over partition used for ccd. All
>>> four have been configured with disklabel.
>>>
>>> Then I put all four in the same ccd (ccd0) in /etc/ccd.config, with 0
>>> interleave and 'none' flags. The system I'm running is a 2.2.7-STABLE.
>>
>> Remember that the partitions must all be *exactly*the*same*size*!!
>
> Hi! Thanks for the answer.. But I can't find any section in man for ccd or
> ccdconfig that says the partitions being put together have to be of the
> same size?

Is this a question or a statement?

> That's one of the uses of ccd, that you can concatenate drives of
> different sizes.. I use ccd for that (different sizes) on another
> machine and it works nice :)..

It depends on whether you're concatenating, striping or mirroring.
For mirroring they have to be the same size.  Without any flags,
you're not usiing interleave (striping) or mirroring, so you should be
OK.

>>> When I try to do what the below cut shows, the system hangs! It's possible
>>> to connect on open ports for example, but the daemons that should answer
>>> don't answer.. And it's possible to ping the machine, so it seems not to
>>> be totally freezed up...!

>>> When I try to do what the below cut shows, the system hangs! It's
>>> possible to connect on open ports for example, but the daemons
>>> that should answer don't answer.. And it's possible to ping the
>>> machine, so it seems not to be totally freezed up...!
>>
>> This will happen if the ccd is misconfigured or one of the disks is dead.

I think this answer is less than scientific.  I haven't tried all
possibilities, but it shouldn't do this.  If you have this problem,
you should try to figure out why it is happening.


>>> ****************************************************************************
>>>
>>> [root@ralph /root]# newfs /dev/rccd0c
>>> Warning: 3462 sector(s) in last cylinder unallocated
>>> /dev/rccd0c:    87290490 sectors in 21312 cylinders of 1 tracks, 4096
>>> sectors
>>>        42622.3MB in 1332 cyl groups (16 c/g, 32.00MB/g, 7680 i/g)
>>> super-block backups (for fsck -b #) at:
>>> 32, 65568, 131104, 196640, 262176, 327712, 393248, 458784, 524320,589856,
>>> 655392, 720928, 786464, 852000, 917536, 983072, 1048608, 1114144,1179680,
>>> 1245216, 1310752, 1376288, 1441824, 1507360, 1572896, 1638432, 1703968,
>>> 1769504, 1835040, 1900576, 1966112, 2031648, 2097184, 2162720, 2228256,
>>> 2293792, 2359328, 2424864, 2490400, 2555936, 2621472, 2687008, 2752544,
>>> 2818080, 2883616,[hangs here!!!]

This would appear to be in the first disk (offset 1.4 MB from the
beginning).  Are you getting any error messages from the disk driver?

>>> I've been trying to newfs a ccd-device twice now, on this *remote*
>>> machine, always resulting in hanging the system. 

Does it always hang in the same place?

>>> What could I be doing wrong?  Is there a upper limit for how big a
>>> ccd canbe?

No practical limit.  I'm pretty sure that it can be this big, anyway.

You might like to try this with Vinum
(http://www.lemis.com/vinum.html) and see if that works.  If not, I
will certainly help you find out why not.  Don't be put off by the
fact that Vinum is still Beta; ccd really is too.

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key

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?19981110154016.W499>