Koozali.org: home of the SME Server

How to rebuild software RAID on SME

Alex

How to rebuild software RAID on SME
« on: June 13, 2003, 04:39:08 PM »
I have one question, how to rebuld soft RAID array on SME server 5.6u4. One of the disks has failed.

I have backup of all data but don't know how quick and easy :) rebuild that raid array?

server does not do that automaticly right?

Lloyd Keen

Re: How to rebuild software RAID on SME
« Reply #1 on: June 13, 2003, 07:04:39 PM »
Can you post the output of #cat /proc/mdstat


Alex

Re: How to rebuild software RAID on SME
« Reply #3 on: June 14, 2003, 02:55:53 PM »
I have already try all procedures in all RAID How to's but none worked. It is always same: file not found or disk busy problem or something else....but this was very interesting (not successfull but who knows..?)

I have dd if=/dev/hda of=/dev/hdb and after that:

raidmonitor -i and reboot.....

At the begining there was no error mesage that RAID is broken and so on but after that Kernel panic: can not find boot sector os similar...So It looks like that this will work if I did not forgot to change MBR (lilo) on second drive.. but now I can't find out how to do that  ...

So my server is stil working with one drive if anybody have any idea you re welcome

Alex

Re: How to rebuild software RAID on SME
« Reply #4 on: June 14, 2003, 02:56:33 PM »
I have already try all procedures in all RAID How to's but none worked. It is always same: file not found or disk busy problem or something else....but this was very interesting (not successfull but who knows..?)

I have dd if=/dev/hda of=/dev/hdb and after that:

raidmonitor -i and reboot.....

At the begining there was no error mesage that RAID is broken and so on but after that Kernel panic can not find boot sector os similar...So It looks like that this will work if I did not forgot to change MBR (lilo) on second drive.. but now I can't find out how to do that  ...

So my server is stil working with one drive if anybody have any idea you re welcome