Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2001 13:38:22 -0700
From:      Daniel Fitzpatrick <danf@croatoan.croatoan.org>
To:        freebsd-fs@FreeBSD.ORG
Subject:   Vinum RAID 5 question
Message-ID:  <20010529133822.Z863@croatoan.croatoan.org>

next in thread | raw e-mail | index | archive | help

I'm using vinum in a RAID 5 setup.  I have an SCA encloser that holds 6
disks.  I have a pair of 4GB system disks (One has /, swap and /usr. /var is
in /usr under /usr/var.  The other disk is laid out the same and I use tar
to back up the primary disk.) and 4 34GB disks that were mounted in /raid. 
I was using vinum to do raid 5 across all 4 of the 34GB disks and all was
working great.  I decided I wanted to upgrade to 4.3-20010502-STABLE, that's
when things went wrong.  I presumed that swapping da0 and da1 (the 2 4GB
disks) would allow me to do a fresh install on the backup disk.  This worked
and I proceeded to copy the important config files and recompile my kernel
and such.  I attempted to mount the vinum disk and realized that I needed to
remake the devices in the /dev directory so I initiated the "vinum makedev"
command, no problem.  I then did a list of the config and all looked good. 
When I tried to start the I got error messages.  I decided to back out and
reboot the system swapping disks thus reverting the system back to
4.1-RELEASE.  I'm still having problems.  I have a subdisk now that is
saying it's crashed.  I was wondering if anyone you might have a recommend
fix for this with out data loss.

I have all the output from DMESG, /var/log/messages, vinum l, vinum_history
and such for the old and the new systems.  I can forward it to any
individual who would be willing to take a look off the list. (it's rather
long)

Anything might help.
Thanks!

[root@chewy.croatoan.org:65] vinum l
4 drives:
D d1                    State: up       Device /dev/da2s1h      Avail:
34726/34726 MB (100%)
D d2                    State: up       Device /dev/da3s1h      Avail:
34726/34726 MB (100%)
D d3                    State: up       Device /dev/da4s1h      Avail:
34726/34726 MB (100%)
D d4                    State: up       Device /dev/da5s1h      Avail:
34726/34726 MB (100%)
D plex                  State: referenced       Device  Avail: 0/0 MB

1 volumes:
V raid                  State: up       Plexes:       1 Size:        101 GB

1 plexes:
P raid.p0            R5 State: degraded Subdisks:     4 Size:        101 GB

4 subdisks:
S raid.p0.s0            State: up       PO:        0  B Size:         33 GB
S raid.p0.s1            State: crashed  PO:      512 kB Size:         33 GB
S raid.p0.s2            State: up       PO:     1024 kB Size:         33 GB
S raid.p0.s3            State: up       PO:     1536 kB Size:         33 GB

[root@chewy.croatoan.org:86] vinum l -V raid.p0.s1
Subdisk raid.p0.s1:
                Size:      36412850176 bytes (34726 MB)
                State: crashed
                Plex raid.p0 at offset 524288 (512 kB)
                Drive plex (*missing*) at offset 135680 (132 kB)

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




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