Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2002 10:20:37 +1030
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Kris Kirby <kris@catonic.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Vinum, "stale" disk.
Message-ID:  <20020322102037.G69857@wantadilla.lemis.com>
In-Reply-To: <Pine.BSF.4.33.0203211623190.37252-100000@spaz.catonic.net>
References:  <Pine.BSF.4.33.0203211623190.37252-100000@spaz.catonic.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 21 March 2002 at 16:25:52 +0000, Kris Kirby wrote:
>
> # vinum l
>
> 3 drives:
> D a                     State: up	Device /dev/ad1s1e	Avail: 1/19469 MB (0%)
> D b                     State: up	Device /dev/ad2s1e	Avail: 1/19469 MB (0%)
> D c                     State: up	Device /dev/ad3s1e	Avail: 1/19469 MB (0%)
>
> 1 volumes:
> V raid0                 State: up	Plexes:       1	Size:         38 GB
>
> 1 plexes:
> P raid0.p0           R5 State: degraded	Subdisks:     3	Size:         38 GB
>
> 3 subdisks:
> S raid0.p0.s0           State: up	PO:        0  B Size:         19 GB
> S raid0.p0.s1           State: stale	PO:      273 kB Size:         19 GB
> S raid0.p0.s2           State: up	PO:      546 kB Size:         19 GB
>
> #uname -a
> FreeBSD kickme.huntsvilleal.com 4.3-STABLE FreeBSD 4.3-STABLE #0: Fri May  4 02:14:02 GMT 2001     root@kickme.huntsvilleal.com:/usr/src/sys/compile/TUCOWS  i386
>
> How can I force vinum to update drive .s1 without comprimising the
> integrety of the data on the other two drives?

The simple answer: you can't.  This is a non-resilient configuration,
and it's no longer consistent.

The more complicated answer: use these commands:
  
 # vinum setstate up raid0.p0 raid0.p0.s1
 # vinum saveconfig

Depending on how the subdisk went down, you may or may not have a
usable file system.  This would be the configuration you'd have if
you replaced drive b, for example.  You're telling Vinum that there's
data on raid0.p0.s1 when in fact there isn't.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

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?20020322102037.G69857>