gvinum setstate failure

Greg 'groggy' Lehey grog at FreeBSD.org
Tue Feb 7 15:50:15 PST 2006


On Tuesday,  7 February 2006 at 11:01:14 +0100, Lukas Ertl wrote:
> On Tue, 7 Feb 2006, Ferruccio Zamuner wrote:
>
>> While I'm able to execute from gvinum
>> gvinum -> setstate up veloce.p0.s0
>>
>> The same command on sicuro.p0.s0 fails:
>> gvinum -> setstate up sicuro.p0.s0
>> gvinum: cannot set subdisk state
>>
>> gvinum -> setstate up sicuro.p1.s0
>> gvinum: cannot set subdisk state
>>
>> sicuro is the name of volume in mirror, while veloce is in stripping.
>>
>> How can I change stale status to up on those subdisks?
>
> If it's a mirror you should run "start <volume>" to let it synchronize.

'setstate' is not the same as 'start'.  It's an emergency function to
manipulate the state without going through the normal procedures.  For
example, if you know that the plex currently marked 'up' is in fact
corrupt, and the plex currently marked 'down' contains the correct
data, you don't want to run start.

Greg
--
See complete headers for address and phone numbers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20060208/ba98fd1a/attachment.bin


More information about the freebsd-geom mailing list