Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2002 11:10:34 +0200
From:      Holger Kipp <holger.kipp@alogis.com>
To:        "Greg 'groggy' Lehey" <grog@FreeBSD.ORG>
Cc:        stable@FreeBSD.ORG
Subject:   vinum: "start" broken, needs explicit "read /dev/twed1a", strange  behaviour
Message-ID:  <3CC7C80A.263E39E6@alogis.com>
References:  <5.1.0.14.0.20020422210120.05d72808@192.168.0.12> <5.1.0.14.0.20020422160043.03499a50@marble.sentex.ca> <5.1.0.14.0.20020422160043.03499a50@marble.sentex.ca> <5.1.0.14.0.20020422210120.05d72808@192.168.0.12> <5.1.0.14.0.20020425000434.03dbfeb8@192.168.0.12> <20020425134704.K33950@wantadilla.lemis.com>

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

vinum on twed1a gives me some headaches. System is a 4.5-stable cvsupped within
the last two hours... The system only has twed0 and twed1 (both 3ware escalade
controllers 0 is 7410b, 1 is 7850b).

- vinum is not reading its configuration from disk.
- create worked without any problems (apart from the known missing "twed" - see below)
- setting up vinum manually with
  vinum
  vinum-> read /dev/twed1a

  works, but is changing a link in directory /dev/vinum/drive:
  ls -l after installation:
		lrwxr-xr-x  1 root  wheel  13 Apr 24 18:25 drive0 -> /dev/twed1a
  ls -l after first time 'vinum-> read /dev/twed1a':
		lrwxr-xr-x  1 root  wheel  13 Apr 24 18:25 drive0 -> /dev/twed1s1a

  and then counting through all valid slices, one up every time I have to force read
  again. I also tried /dev/twed1s1a for installation, but then I get links to
  /dev/twed1s1as1a, ... /dev/twed1s1as1e,f,g,h <sigh>

  vinum start doesn't work (ie won't read configuration from disk).

Should I file a PR, or is this a) user error (me stupid) or b) quick fix possible?
Would you mind committing the "twed"-addition to vinumio.c as well?

I'm out of ideas. Any help appreciated.

Regards,
Holger

---
diff to vinumio.c was (didn't change anything else):

*** vinumio.c           Tue Apr 23 14:05:19 2002
--- vinumio.c.orig      Tue Apr 23 13:22:57 2002
***************
*** 93,98 ****
--- 93,101 ----
      } else if (bcmp(dname, "idad", 4) == 0) {
        devmajor = 109;
        dname += 2;
+     } else if (bcmp(dname, "twed", 4) == 0) {               /* 3ware raid */
+         devmajor = 147;
+         dname += 2;
      } else
        return ENODEV;
      dname += 2;                                                   /* point past */



-- 
Holger Kipp, Dipl.-Math., Systemadministrator  | alogis AG
Fon: +49 (0)30 / 43 65 8 - 114                 | Berliner Strasse 26
Fax: +49 (0)30 / 43 65 8 - 214                 | D-13507 Berlin Tegel
email: holger.kipp@alogis.com                  | http://www.alogis.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CC7C80A.263E39E6>