Thread (16 messages) flat view 16 messages, 3 authors, 2004-07-07

Re: Should I Start Over?

From: Stephen Hargrove <hidden>
Date: 2004-07-07 13:23:38

Luca Berra said:
you can try to see if you can read your data by recreating the array in
degraded mode, so it does not rebuild.

like:
mdadm --create /dev/md0 --level=5 /dev/hdc1 /dev/hdd1 missing
try substituting the word missing for each of the drives
and see if you can mount the filesystem
if you do find your data use:
mdadm /dev/md0 -a <the device you replaced with missing>
to have it added to the array again

Ok, I did the following:

# mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/hdg1 /dev/hdd1
/dev/hdc1
mdadm: array /dev/md0 started.
# mdadm /dev/md0 -a /dev/hde1
mdadm: hot added /dev/hde1
# mount /data
mount: wrong fs type, bad option, bad superblock on /dev/md0,
       or too many mounted file systems
# cat /proc/mdstat
Personalities : [raid5]
read_ahead 1024 sectors
md0 : active raid5 hde1[4] hdc1[3] hdd1[1] hdg1[0]
      240121472 blocks level 5, 64k chunk, algorithm 2 [3/2] [UU_]
      [>....................]  recovery =  0.2% (282348/120060736)
finish=2250.3min speed=884K/sec
unused devices: <none>

If I read your email correctly, I wasn't expecting this.  But I'm also
inexperienced enough to not really know what to expect.  All I know is
that I now have movement where, before, I had none.

So is this good or bad?  Is my data gone forever (I gave up on it a while
back, so if it's gone, it's gone)?

Thanks again, Luca.  You rock!

--
Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help