Re: Should I Start Over?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux