Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Oct 2001 11:54:27 +0200
From:      Adi Sieker <adi@living-source.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: recovering a vinum volume
Message-ID:  <b90rrt88huarpjpsbdtap0fh0c6ndckcbs@4ax.com>
In-Reply-To: <20011005180438.I19977@wantadilla.lemis.com>
References:  <sdmortskp3q0h5innpfrbq5tuct345jovt@4ax.com> <20011005105803.G15533@wantadilla.lemis.com> <kipqrto006d2birh4m1pv4q0hmcmhaccme@4ax.com> <20011005180438.I19977@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Greg,

On Fri, 5 Oct 2001 18:04:38 +0930, Greg Lehey <grog@FreeBSD.org>
wrote:

>On Friday,  5 October 2001 at 10:02:22 +0200, Adi Sieker wrote:
>>
>> Well I tried both and 'yes' it goes down again when reading data from
>> the drive.
>
>*sigh*
>
>> I would be happy to only get half the data back i.e. the data from the
>> working 75GB hard drive. Is there any way to accomplish this?.
>
>Well, getting the data off is simple.  Just dd from the surviving
>subdisk.  There won't be much you can do with it, though, especially
>if the plex was striped.
>
hehe, doesn't really help much...

>You could try some of these methods; I'd certainly recommend backing
>up the accessible subdisk before trying anything.  It's possible that
>you can use fsck with an alternate superblock to recover something,
>but if the first half is gone, the best you can hope for is a maze of
>twisty little lost+found files, all different.

Well I after some playing around the broken disc barfs only when
reading certain files. Well, at least on a ls -lR it does.
So my thinking is going in the following direction:
Write a script that trys to read in all the filenames and yop the file
to /tmp or whatever. When the read or copy fails remember the position
of the file. unmount the volume set the state of the vinum volume to
uo again remount the partition and start all over again leaving out
the file which made the volume barf.
And so on and so on. Once I have made my way through all files I have
a list of OK files which I can then copy over on to a new hard drive.
Assuming that mount the volumen read-only doesn't break anything else
and the harddrive doesn't get more damaged.


Thanks
   Adi



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?b90rrt88huarpjpsbdtap0fh0c6ndckcbs>