Re: vinum root mirror

From: Greg Lehey <grog(at)freebsd.org>
Date: Sun, 2 Nov 2003 12:03:17 +0800

[Format recovered--see http://www.lemis.com/email/email-format.html]

Text zu lang, Computerausgabe zu kurz.

On Saturday, 1 November 2003 at 22:27:17 +0000, Clemens Hermann wrote:
> Hallo,
>
> wie auf
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-root.html
> beschrieben, möchte ich gerne meine root-Partition (2 identische
> Platten, jeweils ein vinum drive und swap) spiegeln.
>

> disklabel von der zweiten Platte (auf die soll das zu spiegelnde System)
> sieht so aus:
>
> <=====================================================================>
> 8 partitions:
> # size offset fstype [fsize bsize bps/cpg]
> a: 524288 2097152 4.2BSD 2948 14740 94 # (Cyl. 2080*-
> 2600*)

*seufz*

> a: 524288 2097152 4.2BSD 2948 14740 94 # (Cyl. 2080*- 2600*)
> b: 2097152 0 swap # (Cyl. 0 - 2080*)
> c: 60036417 0 unused 0 0 # (Cyl. 0 - 59559*)
> d: 57939265 2097152 vinum # (Cyl. 2080*- 59559*)
>
> <=====================================================================>
>
> wobei "d" das vinum drive ist und "a" eine händish eingetragene
> Partition, zwecks des "overlap-Tricks".

Aber nicht nach dem, den ich empfehle. Auf keinen Fall darf der
Anfang eines Vinum-drives mit dem Anfang einer UFS-Partition
übereinstimmen.

> nach der Installation von 4.9-RELEASE auf der ersten Platte, hab ich
> auf der zweiten ein vinum volume für root("/") angelegt:
>
> <=====================================================================>
> asterix# vinum l
> 1 drives:
> D drive2 State: up Device /dev/ad6s1d Avail: 28034/28290 MB (99%)
>
> 1 volumes:
> V root State: up Plexes: 1 Size: 256 MB
>
> 1 plexes:
> P root.p0 C State: up Subdisks: 1 Size: 256 MB
>
> 1 subdisks:
> S root.p0.s0 State: up PO: 0 B Size: 256 MB
>
> <=====================================================================>
>
> nach newfs klappt ein mount /dev/vinum/root tadellos:
>
> <=====================================================================>
> asterix# df
> Filesystem 1K-blocks Used Avail Capacity Mounted on
> /dev/ad4s1a 257998 123262 114098 52% /
> procfs 4 4 0 100% /proc
> /dev/vinum/root 254063 1 233737 0% /mnt
> <=====================================================================>
>
> allerdings mag das zugehörige 4.2BSD Label nicht:
>
> <=====================================================================>
> asterix# mount /dev/ad6s1a /mnt/
> mount: /dev/ad6s1a on /mnt: incorrect super block
> <=====================================================================>

Wundert mich überhaupt nicht.

> danke für jede Idee,

http://www.vinumvm.org/cfbsd/vinum.pdf ? Ich könnte natürlich Details
geben, aber ich glaube, hier ist ein RTFM notwendig.

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(at)lemis.com for PGP public key
See complete headers for address and phone numbers
To Unsubscribe: send mail to majordomo.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sun 02 Nov 2003 - 05:04:16 CET

search this site