From owner-freebsd-questions Mon Nov 9 21:10:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA11054 for freebsd-questions-outgoing; Mon, 9 Nov 1998 21:10:51 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA11049 for ; Mon, 9 Nov 1998 21:10:43 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id PAA16538; Tue, 10 Nov 1998 15:40:17 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id PAA18078; Tue, 10 Nov 1998 15:40:16 +1030 (CST) Message-ID: <19981110154016.W499@freebie.lemis.com> Date: Tue, 10 Nov 1998 15:40:16 +1030 From: Greg Lehey To: Markus Holmberg , Doug White Cc: freebsd-questions@FreeBSD.ORG Subject: Re: newfs hangs system when doing "newfs /dev/rccd0c" References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Markus Holmberg on Tue, Nov 10, 1998 at 03:31:42AM +0100 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 X-Mutt-References: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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