Koozali.org: home of the SME Server

Softraid 1 Problems after Backup with Mondo

d_gerst

Softraid 1 Problems after Backup with Mondo
« on: October 05, 2005, 08:02:46 AM »
Hello,

I used a SME 6.5 RC1 installation based on Software-Raid 1. If I make a backup with MondoRescue (mondoarchive) I'll get everytime when backup finished following message in /var/log/messages:

Oct  5 01:05:24 mail kernel: loop: loaded (max 8 devices)
Oct  5 01:05:25 mail kernel: md: linear personality registered as nr 1
Oct  5 01:05:25 mail kernel: md: raid0 personality registered as nr 2

The server will still work after this problem was happend,but Mitels Raid-Monitoring tool throws an alert:

ALARM! RAID configuration problem

Current configuration is:

Personalities : [linear] [raid0] [raid1]
read_ahead 1024 sectors
md1 : active raid1 hda3[0] hdc3[1]
      8691072 blocks [2/2] [UU]
     
md2 : active raid1 hda2[0] hdc2[1]
      1048704 blocks [2/2] [UU]
     
md0 : active raid1 hda1[0] hdc1[1]
      255936 blocks [2/2] [UU]
     
unused devices: <none>

Last known good configuration was:

Personalities : [raid1]
read_ahead 1024 sectors
md1 : active raid1 hda3[0] hdc3[1]
      8691072 blocks [2/2] [UU]
     
md2 : active raid1 hda2[0] hdc2[1]
      1048704 blocks [2/2] [UU]
     
md0 : active raid1 hda1[0] hdc1[1]
      255936 blocks [2/2] [UU]
     
unused devices: <none>

I tried to fix it with fsck, raidstop/start but no success a reboot everytime works fine. But this is not a alpha-solution, in my opinion this is a charlie-solution. Does anyone know a solution for unregister personality [linear] [raid0]?

Thanks,
Daniel

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Softraid 1 Problems after Backup with Mondo
« Reply #1 on: October 05, 2005, 10:22:43 AM »
d_gerst

Reinitialize the raid monitor
/usr/local/bin/raidmonitor -iv
...

d_gerst

Softraid 1 Problems after Backup with Mondo
« Reply #2 on: October 05, 2005, 12:38:47 PM »
Hello Ray,

But reinitialization of RaidMonitoring did not rebuild raidtab or I'am wrong? I'll try your advice later and post the results.

Thanks,
Daniel

Offline raem

  • *
  • 3,972
  • +4/-0
Softraid 1 Problems after Backup with Mondo
« Reply #3 on: October 06, 2005, 03:12:18 AM »
d_gerst

I have assumed you are using the Raid Monitoring contrib from Darrell May.
...

d_gerst

Softraid 1 Problems after Backup with Mondo
« Reply #4 on: October 06, 2005, 08:14:06 AM »
Hello Ray,

You're my hero, it works fine. I have to take a look a raidmonitor-script what was done by argument -i. mdstat and raidtab were built or set correctly.

thank you so much,
Daniel