Re: Is My Data DESTROYED?!

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

 



On Sat, October 24, 2009 10:25 am, adfas asd wrote:
> --- On Fri, 10/23/09, NeilBrown <neilb@xxxxxxx> wrote:
>> Clearly md0 is degraded - one device is missing.
>> You need to find out why.  Then if you trust the
>> missing device to
>> keep working, add it back in (mdadm --add ...)
>>
>> dmesg or /var/log/something might have hints as to what the
>> error
>> was that caused md to reject the device.
>
> Thanks Neil, this is the first constructive advice all day.
>
> Klipper isn't working for some reason, so I can't post the exact error,
> but dmesg and /var/log/messages say md0 has an unknown partition table
> (this time for ext2), just like with the prior problem on md2 (with jfs).

To see the cause of the error you would need to look further back
in the kernel logs for some messsage about md kicking the device from
the array.

Presumably you know which device is meant to be the other half of the
RAID1.  I suggest you try reading that whole device with
   dd if=/dev/whatever of=/dev/null bs=10M

and if that works, just add the device with
   mdadm /dev/md0 --add /dev/whatever

and see how it goes.

NeilBrown

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