Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2002 11:21:12 -0400
From:      Rob Ellis <rob@web.ca>
To:        Greg 'groggy' Lehey <grog@FreeBSD.org>
Cc:        Stephen Hoover <shooverfbn@442spot.com>, Danny Pansters <danny@ricin.com>, freebsd-questions@freebsd.org
Subject:   Re: Questions about vinum and failure of root partition
Message-ID:  <20020808152111.GA5100@web.ca>
In-Reply-To: <20020808070022.GC8561@wantadilla.lemis.com>
References:  <20020807160227.GB53552@web.ca> <MOEJLOFPGBFEEOIFFMLKIEBNDCAA.shooverfbn@442spot.com> <20020807170209.GC53552@web.ca> <20020808070022.GC8561@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020808152111.GA5100>