On Sunday 24 September 2006 03:56, Richard Fish wrote:
> Take a look at one of the good superblocks with mdadm --examine.  That
> should give you an idea of what options to give to create.  You'll
> want to make sure you use the same layout, chunksize, etc...

Luckely I wrote down the exact command I used to create the array so that 
part should be easy.

> You should then be able to recreate the array with mdadm --create
> --assume-clean, and get access to your filesystem and data.

I didn't pay attention to that option before. But now I tried it. The data 
on that array is not that important, most have been backed up elsewhere.
It seemed to work. After recreating the array I ran fsck. The filesystem 
is ext3. It recovered the journal and cleared 5 orphaned inode and the 
filesystem seemed fine. I could mount it and access the data. The array 
synchronized again.
For safety though I might copy the data elsewhere and recreate the 
filesystem from scratch.

-- 
Jesper
 01:17:47 up 17:42, 18 users,  load average: 0.14, 0.19, 0.25
-- 
gentoo-user@gentoo.org mailing list

Reply via email to