Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 2004 09:34:29 +0100
From:      Danny Carroll <danny@dannysplace.net>
To:        Greg 'groggy' Lehey <grog@FreeBSD.org>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Help with Vinum disk crash...
Message-ID:  <1077093269.15aypd5fp76s@mailsrv.dannysplace.net>
In-Reply-To: <20040217223827.GM33797@wantadilla.lemis.com>
References:  <00ed01c3f559$d7f1ac20$8052260a@capgemini.nl> <20040217223827.GM33797@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Greg 'groggy' Lehey <grog@FreeBSD.org>:
> I answered an almost identical question yesterday: it depends on the
> volume structure, which you haven't stated.  Look at
> http://www.vinumvm.org/vinum/how-to-debug.html and supply in
> particular the output of 'vinum list', unless the following applies:
>
> If this volume has only one plex, you're lost, unless you can bring up
> the failed disk long enough to make a backup.

Here is the output:

20 drives:
D data1      State: up       Device /dev/ad4s1a      Avail: 3/109471 MB (0%)
D ftp1       State: up       Device /dev/ad4s1e      Avail: 0/600 MB (0%)
D www1       State: up       Device /dev/ad4s1f      Avail: 0/2048 MB (0%)
D mail1      State: up       Device /dev/ad4s1g      Avail: 0/2048 MB (0%)
D rback1     State: up       Device /dev/ad4s1h      Avail: 0/3072 MB (0%)
D data2      State: up       Device /dev/ad5s1a      Avail: 6/109471 MB (0%)
D ftp2       State: up       Device /dev/ad5s1e      Avail: 0/600 MB (0%)
D www2       State: up       Device /dev/ad5s1f      Avail: 0/2048 MB (0%)
D mail2      State: up       Device /dev/ad5s1g      Avail: 0/2048 MB (0%)
D rback2     State: up       Device /dev/ad5s1h      Avail: 0/3072 MB (0%)
D data3      State: up       Device /dev/ad6s1a      Avail: 6/109471 MB (0%)
D ftp3       State: up       Device /dev/ad6s1e      Avail: 0/600 MB (0%)
D www3       State: up       Device /dev/ad6s1f      Avail: 0/2048 MB (0%)
D mail3      State: up       Device /dev/ad6s1g      Avail: 0/2048 MB (0%)
D rback3     State: up       Device /dev/ad6s1h      Avail: 0/3072 MB (0%)
D data4      State: up       Device /dev/ad7s1a      Avail: 6/109471 MB (0%)
D ftp4       State: up       Device /dev/ad7s1e      Avail: 0/600 MB (0%)
D www4       State: up       Device /dev/ad7s1f      Avail: 0/2048 MB (0%)
D mail4      State: up       Device /dev/ad7s1g      Avail: 0/2048 MB (0%)
D rback4     State: up       Device /dev/ad7s1h      Avail: 0/3072 MB (0%)

5 volumes:
V data                  State: up       Plexes:       1 Size:        320 GB
V www                   State: up       Plexes:       1 Size:       6142 MB
V mail                  State: up       Plexes:       1 Size:       6142 MB
V ftp                   State: up       Plexes:       1 Size:       1799 MB
V rback                 State: up       Plexes:       1 Size:       9214 MB

5 plexes:
P data.p0            R5 State: degraded Subdisks:     4 Size:        320 GB
P www.p0             R5 State: degraded Subdisks:     4 Size:       6142 MB
P mail.p0            R5 State: degraded Subdisks:     4 Size:       6142 MB
P ftp.p0             R5 State: degraded Subdisks:     4 Size:       1799 MB
P rback.p0           R5 State: degraded Subdisks:     4 Size:       9214 MB

20 subdisks:
S data.p0.s0            State: stale    PO:        0  B Size:        106 GB
S data.p0.s1            State: up       PO:     3924 kB Size:        106 GB
S data.p0.s2            State: up       PO:     7848 kB Size:        106 GB
S data.p0.s3            State: up       PO:       11 MB Size:        106 GB
S www.p0.s0             State: crashed  PO:        0  B Size:       2047 MB
S www.p0.s1             State: up       PO:      392 kB Size:       2047 MB
S www.p0.s2             State: up       PO:      784 kB Size:       2047 MB
S www.p0.s3             State: up       PO:     1176 kB Size:       2047 MB
S mail.p0.s0            State: crashed  PO:        0  B Size:       2047 MB
S mail.p0.s1            State: up       PO:      392 kB Size:       2047 MB
S mail.p0.s2            State: up       PO:      784 kB Size:       2047 MB
S mail.p0.s3            State: up       PO:     1176 kB Size:       2047 MB
S ftp.p0.s0             State: crashed  PO:        0  B Size:        599 MB
S ftp.p0.s1             State: up       PO:      292 kB Size:        599 MB
S ftp.p0.s2             State: up       PO:      584 kB Size:        599 MB
S ftp.p0.s3             State: up       PO:      876 kB Size:        599 MB
S rback.p0.s0           State: crashed  PO:        0  B Size:       3071 MB
S rback.p0.s1           State: up       PO:      658 kB Size:       3071 MB
S rback.p0.s2           State: up       PO:     1316 kB Size:       3071 MB
S rback.p0.s3           State: up       PO:     1974 kB Size:       3071 MB

I am only interested in the big one (data) the others were just for
experimentation....  I thought since the plex was setup as raid5 it would be
ok?   I have 4 106gb subdisks, and see 318Gb of data...  The 4th subdisk is
becuase of the loss from Raid5 right?

Did I set this up incorrectly?

I have most of the stuff on backup but if I can get it back I will be much
happier...

-D



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