Vinum, replaced disk -- fsck error.
Greg Lehey
grog at FreeBSD.org
Tue Mar 16 03:13:30 PST 2004
On Tuesday, 16 March 2004 at 2:00:00 +0000, Lewis Thompson wrote:
> Hi,
>
> I had a failed disk in my RAID-0 Vinum array. This was a physical disk
> problem and in an attempt to recover as much data as possible I dd'ed it
> to another disk (dd if=ad3 of=ad1 bs=8192 conv=noerror).
This may or may not work, depending on details you haven't reported.
> This has mostly gone fine (bar the I/O errors that were to be
> expected) and I can actually start vinum and mount the RAID-0 array
> with no trouble (Vinum reports no errors I can see).
I suppose that depends on where you look :-) Read on.
> I don't really know how I can test the integrity of files from the
> replaced disk...
A good start would be to read the documentation at
http://www.vinumvm.org/.
> I attempted to fsck the volume before I mounted it but I first had to
> restore the superblock for the volume (tunefs -A /dev/vinum/data), which
> worked fine. However (and this is my real problem), fsck_ufs
> /dev/vinum/data gives the following message:
>
> ** /dev/vinum/data
> cannot alloc 4316869296 bytes for inphead
>
> ***** FILE SYSTEM STILL DIRTY *****
Possibly there are log messages that go with this message. It
indicates to me that there's something seriously wrong in some data
structure, and that fsck is asking for a ridiculous amount of memory
as a result.
Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers
More information about the freebsd-questions
mailing list