Vinum status
Pawel Jakub Dawidek
pjd at FreeBSD.org
Thu Jul 29 14:14:15 PDT 2004
On Thu, Jul 29, 2004 at 09:57:54PM +0200, Lukas Ertl wrote:
+> On Thu, 29 Jul 2004, Paul Mather wrote:
+>
+> >Does this imply that root-on-gvinum is working now? Last time I tried
+> >it (shortly after gvinum was committed to the tree), it worked except
+> >that only half of the drives, plexes, and volumes in my Vinum RAID 1
+> >mirror were detected when the gvinum module read the configuration from
+> >the drives during boot.
+>
+> I still didn't have a chance to build a root-on-gvinum setup, but I'd be
+> happy if you could test it. It's quite likely that the errors were
+> related.
Our boot-loader is looking for /boot/ directory on <disk>s<X>a, right?
If so, you have to teach geom_mbr, that it should create slices for
providers from you class. I've such a patch ready for GEOM_MIRROR:
--- geom_mbr.c 12 Feb 2004 22:42:11 -0000 1.56
+++ geom_mbr.c 25 Jul 2004 14:26:05 -0000
@@ -244,8 +244,10 @@ g_mbr_taste(struct g_class *mp, struct g
gp->dumpconf = g_mbr_dumpconf;
gp->ioctl = g_mbr_ioctl;
do {
- if (gp->rank != 2 && insist == 0)
+ if (gp->rank != 2 &&
+ strcmp(pp->geom->class->name, "MIRROR") != 0) {
break;
+ }
error = g_getattr("GEOM::fwsectors", cp, &fwsectors);
if (error)
fwsectors = 17;
The only thing which is missing here is a big /* XXX */, but this way
was suggested by phk.
I need to add GEOM_LABEL here as well...
--
Pawel Jakub Dawidek http://www.FreeBSD.org
pjd at FreeBSD.org http://garage.freebsd.pl
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040729/2e884cd2/attachment.bin
More information about the freebsd-current
mailing list