You are not logged in.

#1 2009-06-24 15:02:27

alexmat
Member
Registered: 2004-12-31
Posts: 100

Kernel 2.6.30 root RAID intermitent failure

Sometimes when I boot the system, my /dev/md0 device fails to build and I go into ramfs. Like 80% of the time everything is fine though. Is anyone else seeing this? It started happening to me after the latest kernel update sad

Offline

#2 2009-06-24 19:40:04

BrigadierFRog
Member
Registered: 2007-02-25
Posts: 14

Re: Kernel 2.6.30 root RAID intermitent failure

I get this on every reboot now, not just some of the time. Any one have a clue why this might be happening?

Offline

#3 2009-06-24 19:49:53

whoops
Member
Registered: 2009-03-19
Posts: 891

Re: Kernel 2.6.30 root RAID intermitent failure

I got a 10 seconds "waiting for device" delay with my md0 (which is swap) now and a resume-from-disk fail rate of about 10-20%. There's some new md0 related error somewhere above the "waiting for md0 10 seconds" - still didn't manage to read what it says. Using arch64, software raid on 3 partitions of the same two hd's - swap/ext4/ext4. Only md0 seems to have problems.

Offline

#4 2009-06-24 21:07:25

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Kernel 2.6.30 root RAID intermitent failure

I am running my / on RAID 1 and my storage on RAID 5, I have no problems (built my own 2.6.30 kernel though).


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2009-06-25 02:27:00

alexmat
Member
Registered: 2004-12-31
Posts: 100

Re: Kernel 2.6.30 root RAID intermitent failure

I switched to ext2 from ext4 and the problem seems to have gone away. Need more testing to be sure...

Offline

#6 2009-06-25 04:38:14

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: Kernel 2.6.30 root RAID intermitent failure

Try using the 'mdadm' hook (instead of the 'raid' hook) in mkinitcpio.conf and run `mkinitcpio -pkernel26` and see if that helps.

The new mdadm hook has solved all my RAID issues.

Offline

#7 2009-06-25 10:05:40

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Kernel 2.6.30 root RAID intermitent failure

I have my RAID setups defined in both mkinitcpio.conf and menu.lst, maybe that prevents the problem from happening here... Still using the raid hook.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#8 2009-06-25 22:54:08

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: Kernel 2.6.30 root RAID intermitent failure

B wrote:

I have my RAID setups defined in both mkinitcpio.conf and menu.lst, maybe that prevents the problem from happening here... Still using the raid hook.

I've had much success with the 'mdadm' hook, and without any md config in menu.lst:

HOOKS="base udev autodetect pata scsi sata mdadm lvm2 filesystems"
kernel /vmlinuz26 root=/dev/mapper/vgSys-root ro 5
ARRAY /dev/md0 level=raid1 num-devices=2 metadata=0.90 UUID=237ecc6a:b1fb38e2:9797892e:e6c74188
ARRAY /dev/md1 level=raid1 num-devices=2 metadata=0.90 UUID=3b1e2d02:b0360beb:f5837caf:44e8551c

Offline

#9 2009-06-27 15:16:04

alexmat
Member
Registered: 2004-12-31
Posts: 100

Re: Kernel 2.6.30 root RAID intermitent failure

Thanks fukawi. Looks like ext4 had nothing to do with it, I still had the same issue until I added mdadm as a hook, now it's working 100% again.

Offline

Board footer

Powered by FluxBB