From owner-freebsd-stable@FreeBSD.ORG Thu Jul 6 16:37:07 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F227C16A4DE for ; Thu, 6 Jul 2006 16:37:06 +0000 (UTC) (envelope-from goran.lowkrantz@ismobile.com) Received: from mail.ismobile.com (tandgrisner.ismobile.com [213.88.244.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CF1643D49 for ; Thu, 6 Jul 2006 16:37:05 +0000 (GMT) (envelope-from goran.lowkrantz@ismobile.com) Received: from [10.255.253.2] (thor.glz.hidden-powers.com [10.255.253.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ismobile.com (Postfix) with ESMTP id BFFEA2280B for ; Thu, 6 Jul 2006 18:37:01 +0200 (CEST) Date: Thu, 06 Jul 2006 18:37:00 +0200 From: Goran Lowkrantz To: freebsd-stable@freebsd.org Message-ID: <24C282E4D260624D50275B43@[10.255.253.2]> X-Mailer: Mulberry/4.0.4 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Problem restarting gvinum raid-5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jul 2006 16:37:07 -0000 Hi, We have a gvinum raid-5 volume that that we had to replace a disk on and=20 after that we cant get the new subdisk starting. Here are the things we did: 1: Replace disk and boot singleuser to fdisk and lable new disk: gvinum -> list 5 drives: D disk4 State: up /dev/da5s1a A: 0/17492 MB (0%) D disk3 State: up /dev/da4s1a A: 0/17492 MB (0%) D disk2 State: up /dev/da3s1a A: 0/17492 MB (0%) D disk1 State: up /dev/da2s1a A: 0/17492 MB (0%) 1 volume: V imap State: up Plexes: 1 Size: 68 GB 1 plex: P imap.p0 R5 State: up Subdisks: 5 Size: 68 GB 5 subdisks: S imap.p0.s0 State: up D: disk1 Size: 17 GB S imap.p0.s1 State: up D: disk2 Size: 17 GB S imap.p0.s2 State: up D: disk3 Size: 17 GB S imap.p0.s3 State: up D: disk4 Size: 17 GB S imap.p0.s4 State: up D: disk5 Size: 17 GB After fixing the new disk partition we did a saveconfig and reboot: gvinum -> list 5 drives: D disk5 State: up /dev/da6s1a A: 0/17492 MB (0%) D disk4 State: up /dev/da5s1a A: 0/17492 MB (0%) D disk3 State: up /dev/da4s1a A: 0/17492 MB (0%) D disk2 State: up /dev/da3s1a A: 0/17492 MB (0%) D disk1 State: up /dev/da2s1a A: 0/17492 MB (0%) 1 volume: V imap State: up Plexes: 1 Size: 68 GB 1 plex: P imap.p0 R5 State: up Subdisks: 5 Size: 68 GB 5 subdisks: S imap.p0.s4 State: stale D: disk5 Size: 17 GB S imap.p0.s3 State: up D: disk4 Size: 17 GB S imap.p0.s2 State: up D: disk3 Size: 17 GB S imap.p0.s1 State: up D: disk2 Size: 17 GB S imap.p0.s0 State: up D: disk1 Size: 17 GB Tried start on plex and subdisk, nnot working. Finally, to get plex into=20 degraded mode we did a setstate down imap.p0.s4. gvinum -> list 5 drives: D disk5 State: up /dev/da6s1a A: 0/17492 MB (0%) D disk4 State: up /dev/da5s1a A: 0/17492 MB (0%) D disk3 State: up /dev/da4s1a A: 0/17492 MB (0%) D disk2 State: up /dev/da3s1a A: 0/17492 MB (0%) D disk1 State: up /dev/da2s1a A: 0/17492 MB (0%) 1 volume: V imap State: up Plexes: 1 Size: 68 GB 1 plex: P imap.p0 R5 State: degraded Subdisks: 5 Size: 68 GB 5 subdisks: S imap.p0.s4 State: down D: disk5 Size: 17 GB S imap.p0.s3 State: up D: disk4 Size: 17 GB S imap.p0.s2 State: up D: disk3 Size: 17 GB S imap.p0.s1 State: up D: disk2 Size: 17 GB S imap.p0.s0 State: up D: disk1 Size: 17 GB and here we are. Start on volume or plex give errno 16, start on subdisk=20 gives can't start: cannot start 'imap.p0.s4' - not yet supported. Can't find any descriptions of the proper way to do disk replacement, so if = this is wrong, I'd love to get updated. And how do we get the current=20 situation upa nd running? Regards, G=C3=B6ran ................................................... the future isMobile Goran Lowkrantz System Architect, isMobile, Aurorum 2, S-977 75 Lule=C3=A5, Sweden Phone: +46(0)920-75559 Mobile: +46(0)70-587 87 82 Fax: +46(0)70-615 87 82 http://www.ismobile.com ...............................................