From owner-freebsd-questions@FreeBSD.ORG Mon May 25 16:38:21 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 1B8F51065676 for ; Mon, 25 May 2009 16:38:21 +0000 (UTC) (envelope-from valentin.bud@gmail.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 8A6E48FC30 for ; Mon, 25 May 2009 16:38:20 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by fxm12 with SMTP id 12so3343124fxm.43 for ; Mon, 25 May 2009 09:38:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=5o3FRoWqwXhRt+D/q5RrouYsB7mbnLT7o4XU1rAJLf8=; b=lafzXdsdT561sefM1oe0W5OvQI8YecdBJJktBYV09vRHHKrk6GW7ozZGqdg1fM6Tz2 cl3DDhbXC3Mz1FX/LpCivhFyTzKVN6rYq5t/wnnubLghfGMwk7ef/YL98yzF85VnaWAq NJWqsSWAmG81D9Ard8od+FtrZGp5cCNKnJjfo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=IVceQ7geQPdjWN5B+VZM29oZ5ODDR1Le76kyN4FRpCghtviLn4n5wT8sd5xo0BzhzE gDySEsE6tulaMPjzr+S+EjVuzDsQwsfFzEn3wa/OEx9CMh3VBiw3quj0V//yPZurX11Y maCHNyluy092kGxr5W67zjliagsiHY08b0YlA= MIME-Version: 1.0 Received: by 10.103.168.12 with SMTP id v12mr3794601muo.67.1243269499337; Mon, 25 May 2009 09:38:19 -0700 (PDT) In-Reply-To: <01FB8F39BAD0BD49A6D0DA8F7897392956C7@Mercury.galaxy.lan.lcl> References: <4A1AA3DC.5020300@network-i.net> <01FB8F39BAD0BD49A6D0DA8F7897392956C7@Mercury.galaxy.lan.lcl> From: Valentin Bud Date: Mon, 25 May 2009 19:37:59 +0300 Message-ID: <139b44430905250937u3410ac24g1f0b9f89a0d51f22@mail.gmail.com> To: Graeme Dargie Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Howard Jones , freebsd-questions@freebsd.org Subject: Re: FreeBSD & Software RAID X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2009 16:38:21 -0000 On Mon, May 25, 2009 at 7:30 PM, Graeme Dargie wrote: > > > -----Original Message----- > From: Howard Jones [mailto:howard.jones@network-i.net] > Sent: 25 May 2009 14:58 > To: freebsd-questions@freebsd.org > Subject: FreeBSD & Software RAID > > 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" > > > I have been running ZFS RAIDZ for 5 months on a 7.1 amd64 install, I > have to say my experience has been mostly good. Initially I had an issue > with a pci sata card causing drives to disconnect, but after investing a > new motherboard with 6 sata ports everything has been smooth. I did have > to replace a disk last week as it was showing checksum, read and write > errors. ZFS rebuilt 2TB of data in around 5hours and did not loose any > files at all. > > Regards > > Graeme > > _______________________________________________ > 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" > I have been using ZFS for about half an year. I just have mirroring with 2 drives. Never had a problem with it. I would go with ZFS in the future too. And yes the server is in production and it has all sort of important data. a great day, v -- network warrior since 2005