Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2003 16:51:45 +1030
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Micheas Herman <micheas@freep.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Booting from vinum RAID 1: How should I edit my disk label?
Message-ID:  <20031229062145.GB10758@wantadilla.lemis.com>
In-Reply-To: <1072672057.1411.22.camel@tux>
References:  <1072672057.1411.22.camel@tux>

next in thread | previous in thread | raw e-mail | index | archive | help

--oLBj+sq0vYjzfsbl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sunday, 28 December 2003 at 20:27:37 -0800, Micheas Herman wrote:
> Hi,
>
> I am following "13.9.2 Making a Vinum-based Root Volume Accessible to
> the Bootstrap" from the FreeBSD Handbook.
>
> (/dev/vinum/root is mounted at /newroot )
>
> ...
> Subdisk root.p1.s0:
>                 Size:        146664960 bytes (139 MB)
>                 State: up
>                 Plex root.p1 at offset 0 (0  B)
>                 Drive vinumdrive3 (/dev/ad7s1d) at offset 135680 (132 kB)
                                    ^^^^^^^^^^^^

> # disklabel -e /dev/ad7s1
>
> gives;
>
> # /dev/ad7s1:
> 8 partitions:
> #        size   offset    fstype   [fsize bsize bps/cpg]
>   a:  9216000 14966784    4.2BSD     2048 16384 28552
>   b: 20942848 24182784    4.2BSD     2048 16384 28552
>   c: 45126522        0    unused        0     0         # "raw" part, don't edit
>   d:   286720        0    4.2BSD        0     0     0

That's wrong.  It should be of type Vinum.  It also looks very short.

>   e:  4194304   286720    4.2BSD     2048 16384 28552
>   f:  4194304  4481024    4.2BSD     2048 16384 28552
>   g:  4194304  8675328    4.2BSD     2048 16384 28552
>   h:  2097152 12869632    4.2BSD     2048 16384 28552
>
> I am not sure what my disklabel -e /dev/ad7s1 should look like.

That depends on what you're trying to do.  I suspect that the entire
disk label is bogus.

Take a look at http://www.vinumvm.org/cfbsd/vinum.pdf and see if that
makes any more sense.  It's basically trying to tell you the same
thing.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.

--oLBj+sq0vYjzfsbl
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE/78f5IubykFB6QiMRAiwQAKCKRHbWXhVUxL5wv6802sGNb+5ZOwCfYLAp
zd+9DaQttckLyRicLILTPxQ=
=iY9K
-----END PGP SIGNATURE-----

--oLBj+sq0vYjzfsbl--



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