From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 3 06:34:04 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11D68106564A for ; Thu, 3 Jun 2010 06:34:04 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 9268B8FC17 for ; Thu, 3 Jun 2010 06:34:03 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so186570fga.13 for ; Wed, 02 Jun 2010 23:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=pzTZn3ho3cAZs46Ja78wXkh44SY7cErOhWJKJCHcnIw=; b=B07tuyG70ZB0sZZVxUGB3SxhX1JnohEXLeGJxoLQhzVpfhQXHcg97CWotb6dc811Uu sz6yqbB60i/d3r+73CPqOBn9qirLfu7XLJ9Q548he6jM0Md/Rj0V7DNvPQY7iP7Q1UDa MCFyfCPBcOHAXFNVn2yFM81QsHTsTRozaFCNg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; b=YOOJMKnKJAA/TVHxpGDrnFuFXAWs+4utOIIQZcKTwps49riPm/v0IqqURVQasAOknH R1uiwnCRDnrxq+awpohz3ZbdluIu1q8Z9Iz6HJJv3RFKOb4CiqdW766zWTLs3XhrV6qw KKaykd0Pbu+gEyfVKnlGeN3bsW819yjwJADHE= Received: by 10.102.174.2 with SMTP id w2mr3235605mue.116.1275546842287; Wed, 02 Jun 2010 23:34:02 -0700 (PDT) Received: from localhost.localdomain ([213.152.137.43]) by mx.google.com with ESMTPS id 12sm13273676muq.3.2010.06.02.23.34.00 (version=SSLv3 cipher=RC4-MD5); Wed, 02 Jun 2010 23:34:00 -0700 (PDT) Message-ID: <4C074CF0.4030707@gmail.com> Date: Thu, 03 Jun 2010 10:34:24 +0400 From: venom User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4 MIME-Version: 1.0 CC: freebsd-hackers@freebsd.org References: <4C061D1E.3090108@gmail.com> <20100602101318.GA4351@snapcase> <4C0660B0.7030701@gmail.com> <20100602150404.GA25564@nobby.geeknest.org> In-Reply-To: <20100602150404.GA25564@nobby.geeknest.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: gvinum & raid5 on 8.0-RELEASE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 06:34:04 -0000 On 06/02/2010 07:04 PM, Ulf Lilleengen wrote: > On Wed, Jun 02, 2010 at 05:46:24PM +0400, venom wrote: > >> On 06/02/2010 02:13 PM, Ulf Lilleengen wrote: >> >>> sysctl kern.geom.vinum.debug=4 >>> gvinum checkparity raid5.p0 >>> >>> >>> >> source is patched, module is rebuilded and reloaded >> >> > As you can see, the parity is incorrect. Try running 'gvinum > rebuildparity raid5.p0'. > # gvinum checkparity raid5.p0 # dmesg | tail GEOM_VINUM[0]: parity incorrect at offset 0x1d1b5500000 GEOM_VINUM[0]: parity incorrect at offset 0x1d1b9900000 GEOM_VINUM[0]: parity incorrect at offset 0x1d1bd000000 GEOM_VINUM[0]: parity incorrect at offset 0x1d1c1400000 GEOM_VINUM[0]: parity incorrect at offset 0x1d1c1600000 GEOM_VINUM[0]: parity incorrect at offset 0x1d1c1900000 GEOM_VINUM[1]: parity operation on raid5.p0 finished GEOM_VINUM[2]: event 'save config' GEOM_VINUM[2]: event 'check' GEOM_VINUM[0]: plex raid5.p0 is busy with syncing or parity build # gvinum list -v raid5.p0 Plex raid5.p0: Size: 2000408281088 bytes (1907738 MB) Subdisks: 3 State: up Synced: 0 bytes (0%) Organization: raid5 Stripe size: 512 kB Flags: 64 Part of volume raid5 # ps auxf | grep gv_worker root 953 0.0 0.0 0 16 ?? DL 1:31PM 432:08.71 [gv_worker] # top -S -n | grep gv_worker 953 root 1 76 - 0K 16K - 0 432:09 0.00% gv_worker -- Vladimir Ermakov