Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2001 11:03:45 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Alexey Koptsevich <kopts@astro.ioffe.rssi.ru>
Cc:        questions@freebsd.org
Subject:   Re: recover of failed vinum partition
Message-ID:  <20010313110345.C59348@wantadilla.lemis.com>
In-Reply-To: <Pine.BSF.4.21.0103121149380.3100-100000@astro.ioffe.rssi.ru>; from kopts@astro.ioffe.rssi.ru on Mon, Mar 12, 2001 at 11:58:27AM %2B0300
References:  <20010312094232.U57126@wantadilla.lemis.com> <Pine.BSF.4.21.0103121149380.3100-100000@astro.ioffe.rssi.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 12 March 2001 at 11:58:27 +0300, Alexey Koptsevich wrote:
>
> Hello,
>
>>> I have simple vinum concat partition of two drives of different sizes, but
>>> they reside on identical drives. One (the first) drive has crashed and it
>>> is completely unavailable for the moment. Unfortunately I have made an
>>> error when tried to revive partition and at the moment I have this failed
>>> drive replaced by another vinum partition in the vinum configuration. This
>>> partition has different size than the original (failed) one. Is there a
>>> way to restore the part of the disc which resides on the drive which has
>>> not crashed? I.e., is there a way to recreate the old vinum configuration
>>> somehow and then carry out correct revival procedure? I know parameters of
>>> the drive, they are identical to those which has not failed.
>>
>> It would be nice to have a few details of your current situation.  The
>> output of "vinum list" would help.
>
>> vinum list
> 1 drives:
> D a                     State: up       Device /dev/ad2s1f Avail: 99/100 MB (100%)
> D b                     State: referenced       Device  Avail: 0/0 MB
>
> 1 volumes:
> V mega                  State: up       Plexes:       2 Size:       8601 MB
>
> 2 plexes:
> P mega.p0             C State: faulty   Subdisks:     1 Size:       8601 MB
> P mega.p1             C State: up       Subdisks:     0 Size:          0 B
>
> 1 subdisks:
> S mega.p0.s1            State: crashed  PO:        0  B Size:       8601 MB
>
>
>
>> If you only have one plex in the volume, you're basically hosed.  ufs
>> doesn't provide for recovery of partial file systems.
>
> Yes, I have only one plex. So, it is impossible in princile to recover the
> data which reside on partially lost filesystem?

Well, if you can't get at the data, you can't recover it.  If you can
get the drive back, at least temporarily, you can try to back it up.
Look at the 'setstate' command for Vinum:

  vinum setstate up mega.p0 mega.p0

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
Finger grog@lemis.com for PGP public key
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?20010313110345.C59348>