Re: [opensuse] Recover md RAID-1.



On 2008-08-31T11:02:49, Per Jessen <per@xxxxxxxxxxxx> wrote:

mdadm: failed to RUN_ARRAY /dev/md0: input/output error

I can force mount /dev/sda2 or /dev /sdb1 to mount as ext3 and I can
read the data just fine.

If the data is fine, I would assemble the array in degraded mode using
just one of the two drives, then hot-add the 2nd one later.

Exactly.

It's the only choice he has right now anyway, given that he has
corrupted the mirror by mounting the sda/sdb devices separately (they
now hold divergent data, and trying to assemble both into a mirror would
crash).

Backup the data. Start the mirror in degraded mode with one drive. Wipe
the other drive. Add it to the mirror (which will do a full resync).

And then don't do it again ;-)


Regards,
Lars

--
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: Worst monday of my life - please help...
    ... If that's the case, restoring the SQL ... but it finally did install with a few hiccups. ... >> or just leave the mirrored drives in the server on the secondary IDE ... I decided it was time to re-add the mirror. ...
    (microsoft.public.windows.server.sbs)
  • Re: Realistic drive arrays
    ... > may be an opportunity to swap 2 of the disks for a pair of 143Gb drives ... >> two drives in the same mirror failing within the parts replacement SLA of ... >> How much memory the store.exe process uses really depends on how much ... >>> copy of the database on the disk. ...
    (microsoft.public.exchange.setup)
  • Re: Mirroring help
    ... not to use the OS disk mirror since it only uses up precious processor time ... The better solution is to use SCSI hard drives and to do the RAID ... could mirror a partition on a hard drive to free space on the same drive, ...
    (microsoft.public.backoffice.smallbiz)
  • Re: hardware for Exchange 2003
    ... your current server will work fine. ... in daily bases or weekly bases in order to commit the T.L files into Exchange ... one(or mirror or RAID 1) for Transaction Log files and let's call this D: ... ALL SCSI drives running at 15krpm for maximum throughput. ...
    (microsoft.public.exchange.design)
  • Re: Worst monday of my life - please help...
    ... Also If your mirror was broke did you see anything in logs to indicate why? ... > I have a customer who had a Windows 2000 Small Business Server running ... but it finally did install with a few hiccups. ... > or just leave the mirrored drives in the server on the secondary IDE ...
    (microsoft.public.windows.server.sbs)