From owner-freebsd-questions@FreeBSD.ORG Wed Dec 8 05:45:53 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 017E016A4CE for ; Wed, 8 Dec 2004 05:45:53 +0000 (GMT) Received: from web50708.mail.yahoo.com (web50708.mail.yahoo.com [206.190.38.106]) by mx1.FreeBSD.org (Postfix) with SMTP id 8CE8B43D64 for ; Wed, 8 Dec 2004 05:45:52 +0000 (GMT) (envelope-from weyrich_comp@yahoo.com) Received: (qmail 71555 invoked by uid 60001); 8 Dec 2004 05:45:52 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=hQYpGpTi9cUITyhfAuBF2IgJdII8SzZit3BA7FNXXr9Hi7KXZ0cX6WxqJ18Gujn8/gGxhmwi7YnWdsq3ItEg55XeAs08vdQQEUjIlx8hjqdEmJSQ7G6UrOa5sQaRYGBYftltVwqtyk8sFUvAu2MOLZayaLPGHjIs+kS2SeRqyCk= ; Message-ID: <20041208054552.71553.qmail@web50708.mail.yahoo.com> Received: from [64.249.12.251] by web50708.mail.yahoo.com via HTTP; Tue, 07 Dec 2004 21:45:51 PST Date: Tue, 7 Dec 2004 21:45:51 -0800 (PST) From: orville weyrich To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Has anybody EVER successfully recovered VINUM? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 05:45:53 -0000 I have been trying to figure out how to get VINUM to recognize a new disk after a disk failure, and no luck at all. I cannot find instructions in the official documentation, nor in the FreeBSD Dairy. Lots of places tell how to build a VINUM system. Nobody ever takls about how to recover from a disk failure. Can someone PLEASE help me recover? I have already posted complete information to this list, with no answer. I will give a short version now and provide more info if requested. I am running FreeBSD 4.10. My current vinum list includes the following: S raid.p0.s2 State: up PO: 1024 kB Size: 2149 MB S raid.p0.s3 State: up PO: 1536 kB Size: 2149 MB S raid.p0.s4 State: up PO: 2048 kB Size: 2149 MB S raid.p0.s5 State: up PO: 2560 kB Size: 2149 MB S raid.p0.s6 State: up PO: 3072 kB Size: 2149 MB S raid.p0.s7 State: up PO: 3584 kB Size: 2149 MB S raid.p0.s8 State: up PO: 4096 kB Size: 2149 MB S raid.p0.s9 State: crashed PO: 0 B Size: 2150 MB S raid.p1.s0 State: up PO: 0 B Size: 2151 MB S raid.p1.s1 State: up PO: 512 kB Size: 2151 MB S raid.p1.s2 State: up PO: 1024 kB Size: 2151 MB S raid.p1.s3 State: up PO: 1536 kB Size: 2151 MB S raid.p1.s4 State: obsolete (detached) Size: 2150 MB S raid.p1.s5 State: reborn PO: 2560 kB Size: 2151 MB S raid.p1.s6 State: up PO: 3072 kB Size: 2151 MB S raid.p1.s7 State: up PO: 3584 kB Size: 2151 MB S raid.p1.s8 State: up PO: 4096 kB Size: 2151 MB S raid.p1.s9 State: up PO: 4608 kB Size: 2151 MB S raid.p2.s0 State: stale PO: 2304 MB Size: 2150 MB The above represents a total of 10 drives, in a striped raid configuration (half of each disk in each plex). Subdisks p0.s0 and p1.s5 are on one failed disk, Subdisks p0.s9 and p1.s4 are on a second failed disk Subdisks raid.p2.s0 and raid.p2.s1 are on the replacement disk that I was trying to install. I tried detaching the replacement subdisk and failed subdisk, and then reattaching the replacement in the failed position, and made things worse. Can somebody PLEASE tell me two things: (1) What sequence of steps SHOULD I have taken to replace the disks (I promise I will test it and document it for all to see). (2) How can I recover NOW? (I seem to recall reading somewhere that it is actually possible to reset the config and recreate it with the same config file as used originally without destroying any data, and then judicially use setstate to mark the valid subdisks as up and the invalid ones as obsolete. But this is a drastic step that I don't want to take without some guidance. Please (grovel grovel) help me! Thanks orville. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com