From owner-freebsd-stable Mon Feb 12 21: 0:50 2001 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 8F6C337B491 for ; Mon, 12 Feb 2001 21:00:45 -0800 (PST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 22DE36ACC8; Tue, 13 Feb 2001 15:30:43 +1030 (CST) Date: Tue, 13 Feb 2001 15:30:43 +1030 From: Greg Lehey To: "David W. Chapman Jr." Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Vinum problem Message-ID: <20010213153043.F30961@wantadilla.lemis.com> References: <00d401c09578$ec1e5980$931576d8@inethouston.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00d401c09578$ec1e5980$931576d8@inethouston.net>; from dwcjr@inethouston.net on Mon, Feb 12, 2001 at 10:53:11PM -0600 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog 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 X-Loop: FreeBSD.ORG [Format recovered--see http://www.lemis.com/email/email-format.html] Please don't wrap log output. On Monday, 12 February 2001 at 22:53:11 -0600, David W. Chapman Jr. wrote: > Every time I start up vinum I get this error, whether cold boot or vinum > stop and then vinum start, is there something I'm doing wrong. I just > cvsuped to -stable a half hour ago and make world and new kernel. Anyone > have any ideas > > Warning: defective objects > > P str1c.p0 S State: flaky Subdisks: 2 Size: 17 GB > S str1c.p0.s1 State: reborn PO: 283 kB Size: 8712 MB > > I can fix it by running vinum setstate up str1c.p0.s1 Well, no, you can work around it like that. > On a fresh boot, I get this output > Feb 12 22:45:31 leviathan /kernel: vinum: reading configuration from /dev/da1s1e > Feb 12 22:45:31 leviathan /kernel: vinum: updating configuration from /dev/da0s1e > Feb 12 22:48:14 leviathan /kernel: vinum: /dev is mounted read-only, not rebuilding /dev/vinum That's normal. Nothing to worry about. > I am starting vinum buy putting start_vinum="YES" in my rc.conf, but > the second problem is the least of my problems. > > /var/log/messages doesn't tell me much > > Feb 12 22:45:31 leviathan /kernel: vinum: loaded > Feb 12 22:45:31 leviathan /kernel: vinum: reading configuration from /dev/da1s1e > Feb 12 22:45:31 leviathan /kernel: vinum: updating configuration from /dev/da0s1 > > here is my config > > drive d1 device /dev/da0s1e > drive d2 device /dev/da1s1e > > volume str1c > plex org striped 283k > sd length 8713m drive d1 > sd length 8713m drive d2 All looks OK. The problem you have is that some time in the distant past, something probably went wrong. Vinum doesn't forget the state. setstate is a recovery tool without a guard, and as a result Vinum doesn't record the changes you make on the disk: you have to do that manually. As a result, when you reboot, they go back into the old state. In this case, since your volume is not replicated, it's about your only chance. Next time you change the state, do a 'vinum saveconfig' afterwards, and all should be well. You can check what's on the disk with 'vinum dumpconfig'. 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 Finger grog@lemis.com for PGP public key 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