Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: d_gerst on October 05, 2005, 08:02:46 AM

Title: Softraid 1 Problems after Backup with Mondo
Post by: d_gerst 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
Title: Re: Softraid 1 Problems after Backup with Mondo
Post by: raem on October 05, 2005, 10:22:43 AM
d_gerst

Reinitialize the raid monitor
/usr/local/bin/raidmonitor -iv
Title: Softraid 1 Problems after Backup with Mondo
Post by: d_gerst 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
Title: Softraid 1 Problems after Backup with Mondo
Post by: raem on October 06, 2005, 03:12:18 AM
d_gerst

I have assumed you are using the Raid Monitoring contrib from Darrell May.
Title: Softraid 1 Problems after Backup with Mondo
Post by: d_gerst 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