From owner-freebsd-questions Thu Aug 8 8:21:25 2002 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 6BF5237B400; Thu, 8 Aug 2002 08:21:22 -0700 (PDT) Received: from spin.web.net (spin.web.net [192.139.37.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8554943E4A; Thu, 8 Aug 2002 08:21:21 -0700 (PDT) (envelope-from rob@web.net) Received: by spin.web.net (Postfix, from userid 1000) id 4728D12F21B; Thu, 8 Aug 2002 11:21:12 -0400 (EDT) Date: Thu, 8 Aug 2002 11:21:12 -0400 From: Rob Ellis To: Greg 'groggy' Lehey Cc: Stephen Hoover , Danny Pansters , freebsd-questions@freebsd.org Subject: Re: Questions about vinum and failure of root partition Message-ID: <20020808152111.GA5100@web.ca> Mail-Followup-To: Rob Ellis , Greg 'groggy' Lehey , Stephen Hoover , Danny Pansters , freebsd-questions@freebsd.org References: <20020807160227.GB53552@web.ca> <20020807170209.GC53552@web.ca> <20020808070022.GC8561@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020808070022.GC8561@wantadilla.lemis.com> User-Agent: Mutt/1.3.28i 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 > Assuming it isn't, you can still use a trick: have overlapping BSD and > Vinum partitions, and ensure that at least one plex is concatenated > with only a single subdisk. Vinum tells you where the subdisks are, > so you can just place a disk label there. For example: > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 6289807 265 4.2BSD 0 0 0 # (Cyl. 0 - 1050*) > c: 6290172 0 unused 0 0 # (Cyl. 0 - 1050*) > e: 6290172 0 vinum # (Cyl. 0 - 1050*) > > Here partition a would coincide with the first subdisk on the e > partition. greg, thanks, but i don't understand "ensure that at least one plex is concatenated with only a single subdisk". if i do vinum mirror -n data /dev/ad0s1e /dev/ad2s2e i end up with something like this drive vinumdrive0 device /dev/ad0s2e drive vinumdrive1 device /dev/ad2s2e volume data plex name data.p0 org concat vol data plex name data.p1 org concat vol data sd name data.p0.s0 drive vinumdrive0 plex data.p0 len 20971255s driveoffset 265s plexoffset 0s sd name data.p1.s0 drive vinumdrive1 plex data.p1 len 20971255s driveoffset 265s plexoffset 0s are you saying that if i create an overlapping partition with the same 'size' as the sd 'len' and an offset the same as 'driveoffset', i can mount it directly in single user mode and and get the filesystem on the first 'sd'...?? - rob To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message