Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2004 19:34:39 +0200 (CEST)
From:      Lukas Ertl <le@FreeBSD.org>
To:        Daniel Eriksson <daniel_k_eriksson@telia.com>
Cc:        freebsd-current@FreeBSD.org
Subject:   RE: Vinum status
Message-ID:  <20040802193340.R905@korben.in.tern>
In-Reply-To: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQAAAA6oFJjKsP1U2xzzwwRo0HTgEAAAAA@telia.com>
References:  <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQAAAA6oFJjKsP1U2xzzwwRo0HTgEAAAAA@telia.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Mon, 2 Aug 2004, Daniel Eriksson wrote:

> Lukas Ertl wrote:
>
>> Yes, I still need to implement some details.  Round-robin
>> reads is one of them.
>
> Could you also verify if sysinstall works for you when gvinum is active? I'm
> running gvinum on two machines (one with multiple arrays, both stripes and
> mirrors, and the other with one big raid 5 array), and sysinstall fails on
> both with a "BARF 257" (seen once) or "BARF 259" (seen all the time) during
> the probing phase just before the menu is supposed to come up.

This patch should fix it.  You need to recompile libdisk and sysinstall.

---8<---
Index: open_disk.c
===================================================================
RCS file: /usr/local/bsdcvs/src/lib/libdisk/open_disk.c,v
retrieving revision 1.4
diff -u -r1.4 open_disk.c
--- open_disk.c	21 Apr 2004 23:21:13 -0000	1.4
+++ open_disk.c	2 Aug 2004 17:33:08 -0000
@@ -263,6 +263,8 @@
  			; /* nothing */
  		else if (!strcmp(t, "APPLE"))
  			i = Add_Chunk(d, off, len, n, apple, 0, 0, sn);
+		else if (strstr(t, "VINUM") != NULL)
+			; /* nothing */
  		else {
  			printf("BARF %d\n", __LINE__);
  			exit(0);
---8<---

cheers,
le

-- 
Lukas Ertl                         http://homepage.univie.ac.at/l.ertl/
le@FreeBSD.org                     http://people.freebsd.org/~le/



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20040802193340.R905>