From owner-freebsd-questions Mon Apr 1 12:44:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110]) by hub.freebsd.org (Postfix) with ESMTP id 6D73437B41C for ; Mon, 1 Apr 2002 12:44:50 -0800 (PST) Received: Message by Barricade lv.raad.tartu.ee with ESMTP id g31KinO06955 for ; Mon, 1 Apr 2002 23:44:49 +0300 Message-Id: <200204012044.g31KinO06955@lv.raad.tartu.ee> Received: from SpoolDir by INFO (Mercury 1.48); 1 Apr 02 23:43:58 +0300 From: "Toomas Aas" Organization: Tartu City Government To: freebsd-questions@freebsd.org Date: Mon, 1 Apr 2002 23:43:56 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: *invalid* vinum drive X-info: Headers changed by Barricade Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello! After a terrible crash (power loss) my vinum configuration is invalid. I have a mirrored volume of two plexes, each plex has one subdisk. The physical partitions involved are da0s2e and da1s1e. At boot time, the following is logged to messages: Apr 1 23:05:24 kuller /kernel: vinum: No space for on drive1 This is the weird output of 'vinum list' command: ------------------------------------------------------------------------------------------ kuller# vinum list 2 drives: D drive0 State: up Device /dev/da0s2e Avail: 0/7750 MB (0%) D drive1 State: up Device /dev/da1s1e Avail: 15499/7750 MB (200%) D *invalid* State: referenced Device Avail: 0/0 MB 1 volumes: V mirror01 State: up Plexes: 2 Size: 7749 MB 2 plexes: P mirror01.p0 C State: up Subdisks: 1 Size: 7749 MB P mirror01.p1 C State: faulty Subdisks: 1 Size: 7749 MB 2 subdisks: S mirror01.p1.s0 State: stale PO: 0 B Size: 7749 MB S mirror01.p0.s0 State: up PO: 0 B Size: 7749 MB -------------------------------------------------------------------------------------------- /var/log/vinum_history contains nothing out of the ordinary. But the on-disk configuration is visibly invalid: this is for da0s2e: IN VINOkuller.tlvsisedrive0^_;<&aWEVf{ N^Pvolume mirror01 state up plex name mirror01.p0 state up org concat vol mirror01 plex name mirror01.p1 state up org concat vol mirror01 sd name mirror01.p0.s0 drive drive0 plex mirror01.p0 len 15871955s driveoffset 2 65s state up plexoffset 0s sd name mirror01.p1.s0 drive drive1 plex mirror01.p1 len 15871735s driveoffset 2 65s state up plexoffset 0s this is for da1s1e: IN VINOkuller.tlvsisedrive1^_;[D