From owner-freebsd-questions@FreeBSD.ORG Mon May 25 15:20:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E9ED10656E0 for ; Mon, 25 May 2009 15:20:25 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-fx0-f168.google.com (mail-fx0-f168.google.com [209.85.220.168]) by mx1.freebsd.org (Postfix) with ESMTP id 14AD08FC1E for ; Mon, 25 May 2009 15:20:24 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by fxm12 with SMTP id 12so3297958fxm.43 for ; Mon, 25 May 2009 08:20:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=s5biBi3e0/lysG8pWPqcS/FS+FWBhHLX/XWq40yWlJQ=; b=BZUT1WoWWxfEnnAbjTkBm96CJ//gbjrb15bMKPDNoNEKRWwdoMnPYUGC2qNi4NmMl/ pTPQT591OTUDfGWPavrEJIA+4BWzr4UDgGdqXyJ3X1fDcxhutkXBOZ26STKtTLfwGkIc sOfmXxIJB2VWUS8xjq7QlkYMeh8eoAiDi49Mg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=YbQZB28vVPu02rhBQl7j+og43ePHPkliSBVtnH8e79a9AcX3KkXLI59a+jRvTcmztu sazpzFzRyXfJkXcmToIqc4H/HyByPTEtw2NC+9p+Gq6gJkqbAvJ+A1rTU1ous3FQihGs E4gbI0kuOKidHlUaxmf0BP5NyQXFYxrcBf340= Received: by 10.86.59.18 with SMTP id h18mr5829779fga.14.1243264823957; Mon, 25 May 2009 08:20:23 -0700 (PDT) Received: from ?10.30.1.124? (vpn-or.studi-planet.com [78.47.172.52]) by mx.google.com with ESMTPS id 4sm10661164fgg.8.2009.05.25.08.20.23 (version=SSLv3 cipher=RC4-MD5); Mon, 25 May 2009 08:20:23 -0700 (PDT) From: Mister Olli To: Howard Jones In-Reply-To: <4A1AA3DC.5020300@network-i.net> References: <4A1AA3DC.5020300@network-i.net> Content-Type: text/plain Date: Mon, 25 May 2009 17:20:16 +0200 Message-Id: <1243264816.4721.10.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD & Software RAID X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mister.olli@googlemail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2009 15:20:26 -0000 Hi, I remember building a RAID5 on gvinum with 3 500GB hard drives some months ago, and it took horribly long to initialize the raid5 (several hours). It seems to be a one-time job, cause since the raid finished it's initialization the machine starts up/ reboots within normal times. The documentation is some point, yes ;-) I got my basic know-how about gvinum and raid-1 from a blog also and could read-on with what I needed depending on the man pages. but it was hard.. Regards --- Mr. Olli On Mon, 2009-05-25 at 14:57 +0100, Howard Jones wrote: > Hi, > > Can anyone with experience of software RAID point me in the right > direction please? I've used gmirror before with no trouble, but nothing > fancier. > > I have a set of brand new 1TB drives, a Sil3124 SATA card and a FreeBSD > 7.1-p4 system. > > I created a RAID 5 set with gvinum: > drive d0 device /dev/ad4s1a > drive d1 device /dev/ad6s1a > drive d2 device /dev/ad8s1a > drive d3 device /dev/ad10s1a > volume jumbo > plex org raid5 256k > sd drive d0 > sd drive d1 > sd drive d2 > sd drive d3 > > and it shows as up and happy. If I reboot, all the subdisks show as > stale, and so the plex is down. It seems to be doing a rebuild, although > it wasn't before, and would newfs, mount and accept data onto the new > plex before the reboot. > > Is there any way to avoid having to wait while gvinum apparently > calculates the parity on all those zeroes? > > Am I missing some step to 'liven up' the plex before the first reboot? > (loader.conf has the correct line to load gvinum at boot) I tried again, > with 'gvinum start jumbo' before rebooting, and that made no difference. > > Also is the configuration file format actually documented anywhere? I > got that example from someone's blog, but the gvinum manpage doesn't > mention the format at all! It *does* have a few pages dedicated to > things that don't work, which was handy... :-) The handbook is still > talking about ccd and vinum, and mostly covers the complications of > booting of such a device. > > On the subject of documentation, I'm also assuming that this: > S jumbo.p0.s2 State: I 1% D: d2 Size: > 931 GB > means it's 1% through initialising, because the states or the output of > 'list' aren't described in the manual either. > > I'm was half-considering switching to ZFS, but the most positive thing I > could find written about that (as implemented on FreeBSD) is that it > "doesn't crash that much", so perhaps not. That was from a while ago though. > > Does anyone use software RAID5 (or RAIDZ) for data they care about? > > Cheers, > > Howie > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"