RE: Vinum status

From: Lukas Ertl <le_at_FreeBSD.org>
Date: Mon, 2 Aug 2004 19:34:39 +0200 (CEST)
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
_at__at_ -263,6 +263,8 _at__at_
  			; /* 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_at_FreeBSD.org                     http://people.freebsd.org/~le/
Received on Mon Aug 02 2004 - 15:34:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC