Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Apr 2000 10:52:24 -0700
From:      tomb <tomb@cgf.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: vinum causes fatal double fault kernel panic
Message-ID:  <38F0C358.D120908@cgf.net>
References:  <38F0359F.E45937FC@cgf.net>

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

So I decided to reformat the drives using the scsi adaptors format utility
(which completed with success).  I modified the vinum config file to the
following:

drive a device /dev/da0s1
drive b device /dev/da1s1
    volume mirror
      plex org concat
        sd length 4141m drive a
      plex org concat
        sd length 4141m drive b

Now I start vinum with the following command....

su-2.03# vinum create config
   1: drive a device /dev/da0s1
** 1 : Invalid argument
   2: drive b device /dev/da1s1
** 2 : Invalid argument
0 drives:
1 volumes:
V mirror                State: down     Plexes:       2 Size:       4141 MB

2 plexes:
P mirror.p0           C State: faulty   Subdisks:     1 Size:       4141 MB

P mirror.p1           C State: faulty   Subdisks:     1 Size:       4141 MB

2 subdisks:
S mirror.p0.s0          State: crashed  PO:        0  B Size:       4141 MB

S mirror.p1.s0          State: crashed  PO:        0  B Size:       4141 MB

And seeing the fault "State: crashed" I get do a verbose info and get
.............

su-2.03# vinum list -r -V mirror
Volume mirror:  Size: 4342153216 bytes (4141 MB)
                State: down
                Flags:
                2 plexes
                Read policy: round robin
                Plex  0:        mirror.p0       (concat),       4141 MB
                Plex  1:        mirror.p1       (concat),       4141 MB
Plex mirror.p0: Size:   4342153216 bytes (4141 MB)
                Subdisks:        1
                State: faulty
                Organization: concat
                Part of volume mirror

                Subdisk 0:      mirror.p0.s0
                  state: crashed        size  4342153216 (4141 MB)
                        offset         0 (0x0)

Plex mirror.p1: Size:   4342153216 bytes (4141 MB)
                Subdisks:        1
                State: faulty
                Organization: concat
                Part of volume mirror

                Subdisk 0:      mirror.p1.s0
                  state: crashed        size  4342153216 (4141 MB)
                        offset         0 (0x0)

Subdisk mirror.p0.s0:
                Size:       4342153216 bytes (4141 MB)
                State: crashed
                Plex mirror.p0 at offset 0 (0  B)
                Drive a (/dev/da0s1), no offset

Subdisk mirror.p1.s0:
                Size:       4342153216 bytes (4141 MB)
                State: crashed
                Plex mirror.p1 at offset 0 (0  B)
                Drive b (/dev/da1s1), no offset




tomb wrote:

> Hi,
> I've been attempting to create a mirrored pair of disc's.  I'm not
> concerned about performance only the backup of my critical data.  Armed
> with a pair of scsi drives (same model) and the man pages I came up with
> a config file (listed below).  The problem is that if I use this to
> setup the mirro I get a
> "fatal double fault" <<cut>> panic: double fault
> message and the machine reboots.
>
> Camcontrol reports both drives ready and the discs were operating fine
> as separate drives on the same machine and controller.
>
> Thanks,
>
> Tom
>
> Platform:
>
> FreeBSD 4.0 Release,
> AMD K6-2
> 128Mb RAM
> Custom Kernel (Removed spurious devices)
> Adaptec 2940-U2W
>
> Drives:
>     ad0 (OS drive, not to be mirrored!)
>     da0 ID1 (Seagate 4141Mb Barracuda mirror)
>     da1 ID8 (Seagate 4141Mb Barracuda mirror)
>
> vinum config file:
>
> drive a device /dev/da0s1e
> drive b device /dev/da1s1e
>     volume mirror
>       plex org concat
>         sd length 4141m drive a
>       plex org concat
>         sd length 4141m drive b



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




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