From owner-freebsd-stable Wed Jan 16 17:42:37 2002 Delivered-To: freebsd-stable@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 788F237B416 for ; Wed, 16 Jan 2002 17:42:18 -0800 (PST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 8B31F782D0; Thu, 17 Jan 2002 12:12:15 +1030 (CST) Date: Thu, 17 Jan 2002 12:12:15 +1030 From: Greg Lehey To: Alexey Zakirov Cc: freebsd-stable@freebsd.org Subject: Re: vinum behavior after disk errors Message-ID: <20020117121215.E95888@wantadilla.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [Format recovered--see http://www.lemis.com/email/email-format.html] Log output was truncated. On Wednesday, 16 January 2002 at 23:28:23 +0300, Alexey Zakirov wrote: > Hail! > > I have a question about vinum behavior after some disk errors. > One of my servers sometimes have a glitch with the disk (or probably > controller). It's looks like this: > > Jan 16 18:29:15 glance /kernel: (da0:sym0:0:0:0): phase change 2-7 10@13d44d68 resid=3. > Jan 16 18:29:15 glance /kernel: (da0:sym0:0:0:0): READ(10). CDB: 28 0 0 96 c1 6a 0 0 4 0 > Jan 16 18:29:15 glance /kernel: (da0:sym0:0:0:0): ILLEGAL REQUEST asc:24,0 Jan 16 18:29:15 glance /kernel: (da0:sym0:0:0:0): Invalid field in CDB > field replaceable unit: 1 sks:ce,5 > > So vinum immediatly marks the plex as faulty: > > Jan 16 18:29:15 glance /kernel: vinum: vinum0.p0.s0 is crashed by force > Jan 16 18:29:15 glance /kernel: vinum: vinum0.p0 is faulty > Jan 16 18:29:15 glance /kernel: vinum: vinum0 is down > Jan 16 18:29:15 glance /kernel: fatal:vinum0.p0.s0 read error, block 4048549 for 2048 bytes > Jan 16 18:29:15 glance /kernel: vinum0.p0.s0: user buffer block 4048284 for 2048 bytes > > After reboot OS can't start because it can't check a vinum volume. > One must manually do "vinum start vinum0.p0" to get system up. > > Is there any way to do something like 'fsck_y_enable="YES"' does? > Or should I patch /etc/rc to do "vinum start " after "vinum > start" ? Hmm, that's an interesting idea. The trouble I see at the moment is that there are so many possible Vinum configurations that it would be difficult to check them all. I'm also rather surprised that you could change this simply with a 'vinum start'. This suggests that you already had a functional volume, in which case you shouldn't have had any trouble with the fsck. Greg -- When replying to this message, please take care not to mutilate the original text. For more information, see http://www.lemis.com/email.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message