Koozali.org: home of the SME Server

Full Raid Array

Offline JonA

  • *
  • 7
  • +0/-0
Full Raid Array
« on: January 24, 2010, 05:19:24 AM »
Hi.

I think I have filled my Raid Array right to the top with data (spam) and now it comes up with 'Kernel Panic' during boot up, this reboot was caused by a power failure. Any thoughts on recovery?

Cheers Jona

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Full Raid Array
« Reply #1 on: January 24, 2010, 06:35:10 AM »
I think I have filled my Raid Array right to the top with data (spam) and now it comes up with 'Kernel Panic' during boot up,

A full file system will not cause a kernel panic.

You will need to properly diagnose the kernel panic in order to know how to fix it. Provide full details if you want decent help - there are many different kernel panics.

Offline JonA

  • *
  • 7
  • +0/-0
Re: Full Raid Array
« Reply #2 on: January 24, 2010, 06:55:57 PM »
Thanks for that I was worried about doing anything in case it had filled all working space on the RAID array.

Here's what's on the screen

md: bind<hdb1>
md: bind<hdc1>
md: bind<hda1>
raid1: raid set md1 active with 3 out of 3 mirrors
mdadm: /dev/md1 has been started with three drives
md: md2 stopped.
md: bind<hda2>
md: bind<hdc2>
md: bind<hdb2>
mdadm: /dev/md2: assembled from one drive - not enough to start the array
Making device-mapper control mode
Scanning logical volumes
  Reading all physical volumes. This may take a while
Activating logical volumes
  Volume group "main" not found
ERROR: /bin/lvm exited abnormally! (pid 443)
creating root device
Mounting root filesystem
mount:  error 6 mounting ext3
mount: error 2 mounting none
Switching to new root
switchroot: mount failed: 22
unmount /initrd/dev failed: 2
kernel panic - not syncing: attempted to kill init!

This is on an Dell Optiplex GX1 running 3 hard drives as the array with a CD reader on the 4th channel, no hot swap so all 3 are the raid. I have tried unplugging the drives 1 at a time to no discernible effect.

Cheers Jona

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Full Raid Array
« Reply #3 on: January 24, 2010, 07:56:53 PM »
so you have a raid 5 with 3 hd.. 2 of them are on the same ide channel? if so, that's E V I L

I hope you have a backup of your data, because I suspect that one ide channel is gone and so your data

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Full Raid Array
« Reply #4 on: January 24, 2010, 08:01:29 PM »
I hope you have a backup of your data, because I suspect that one ide channel is gone and so your data

Not necessarily. The two drives might be OK, and would be accessible when connected to replacement IDE controllers or motherboard.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Full Raid Array
« Reply #5 on: January 24, 2010, 08:06:45 PM »
Not necessarily. The two drives might be OK, and would be accessible when connected to replacement IDE controllers or motherboard.

I hope you are right, but we are talking about ide, not scsi.. so a data corruption is expectable in this case :-)

Offline JonA

  • *
  • 7
  • +0/-0
Re: Full Raid Array
« Reply #6 on: January 25, 2010, 01:21:18 AM »
BIOS recognises all three HD's without issue as well as the CDR, I will swap them out to another machine as a group and try that.

Cheers Jona.

Offline JonA

  • *
  • 7
  • +0/-0
Re: Full Raid Array
« Reply #7 on: January 25, 2010, 02:03:18 AM »
Almost the same result except now I have Pid 445.

This fault was caused by a power outage rather than a failure of the equipment, any way I can force it to do a rebuild?

Cheers Jona.