You are not logged in.

#1 2009-08-05 06:23:54

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Problems with latest dmraid-1.0.0.rc15-8

I'm running my machine in RAID 0 (fake-RAID) and since the update of dmraid from 1.0.0.rc14 to 1.0.0.rc15 my machine won't boot. With the newest version of dmraid the naming scheme of the partitions changed from /dev/mapper/isw_baaggideei_Volume01 to /dev/mapper/isw_baaggideei_Volume0p1. So when I updated dmraid I changed menu.lst and fstab and then I rebooted after running mkinitcpio -p kernel26. Now when I boot the system fails when reacging the "checking filesystems" and displays this error

/dev/mapper/isw_baaggideei_Volume0p1: clean (root partition)
/dev/mapper/isw_baaggideei_Volume0p3: (home partition)

the superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternative superblock:
e2fsck -b 8193 <device>

then it wants me to give my root password in order to do the maintenance. My system has 3 partitions p1 is root, p2 is swap and p3 is /home. I can't for the life figure why I'm getting this error do I need to make other changes for it to find my partitions? I reverted back to 1.0.0.rc14 for now and the old naming scheme but I would like to hear from others running RAID with dmraid if they have these issues because I want to report it upstream. Here is the link to the bug report here on Arch Linux

http://bugs.archlinux.org/task/15756

Regards

André

Offline

#2 2009-08-05 10:21:25

toffyrn
Member
Registered: 2008-10-07
Posts: 221

Re: Problems with latest dmraid-1.0.0.rc15-8

My machine wont start either, but i forgot to do changes in menu.lst and fstab.
I know how to do this, but how do i rebuild the kernel26.img?

Do i need to chroot when booting the liveCD?

Last edited by toffyrn (2009-08-05 10:21:56)

Offline

#3 2009-08-05 11:37:44

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: Problems with latest dmraid-1.0.0.rc15-8

Yes you need to chroot your root partition when have booted the live CD. Then you make the changes to fstab and menu.lst and you rebuild the kernel with

mkinitcpio -p kernel26 (as root)

and reboot

let me know what happens after that.

Regards

André

Offline

#4 2009-08-06 11:07:40

toffyrn
Member
Registered: 2008-10-07
Posts: 221

Re: Problems with latest dmraid-1.0.0.rc15-8

let me know what happens after that.

Everything works just the way i hoped for big_smile

The computer boots just like any time before!

(However: i have not passed any fsck yet...)

Would it not be a good idea to mention this naming scheme changes on front page news?

Thank you very much.

Last edited by toffyrn (2009-08-06 11:08:36)

Offline

#5 2009-08-06 17:27:48

fantastico
Member
Registered: 2009-05-25
Posts: 7

Re: Problems with latest dmraid-1.0.0.rc15-8

I had the same problem after the update, I fixed it by chrooting into my install and editing fstab and menu.lst and reinstalling the kernel.
After that it worked again without any corrupt superblock issues.

Offline

#6 2009-08-06 18:17:32

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: Problems with latest dmraid-1.0.0.rc15-8

Damn it, I don't get it why I'm then having issues with it again...

Regards

André

Offline

#7 2009-08-06 18:27:01

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: Problems with latest dmraid-1.0.0.rc15-8

By the way is there a way to bypass the "checking filesystems" during boot completely?

Regards

André

Offline

#8 2009-08-07 21:00:30

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: Problems with latest dmraid-1.0.0.rc15-8

I figured out now that dmraid-1.0.0.rc15 isn't seeing my last partition for some reason. If I run

dmraid -tay (as root) I get

[root@andre ~]# dmraid -tay
isw_baaggideei_Volume0: 0 1953536000 striped 2 256 /dev/sda 0 /dev/sdb 0
ERROR: dos: partition address past end of RAID device
isw_baaggideei_Volume0p1: 0 199993122 linear /dev/mapper/isw_baaggideei_Volume0 63
isw_baaggideei_Volume0p2: 0 8000370 linear /dev/mapper/isw_baaggideei_Volume0 199993185

the dmraid-1.0.0.rc14 gives

[root@andre ~]# dmraid -tay
isw_baaggideei_Volume0: 0 1953536512 striped 2 256 /dev/sda 0 /dev/sdb 0
isw_baaggideei_Volume01: 0 199993122 linear /dev/mapper/isw_baaggideei_Volume0 63
isw_baaggideei_Volume02: 0 8000370 linear /dev/mapper/isw_baaggideei_Volume0 199993185
isw_baaggideei_Volume03: 0 1745542575 linear /dev/mapper/isw_baaggideei_Volume0 207993555

so something is up with dmraid but I can't figure out what???

Last edited by fettouhi (2009-08-09 06:41:57)

Offline

#9 2009-08-09 06:42:38

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: Problems with latest dmraid-1.0.0.rc15-8

Anybody? Is my partition table screwed, maybe?

Regards

André

Offline

#10 2009-08-16 06:01:00

zjintz
Member
Registered: 2009-08-16
Posts: 3

Re: Problems with latest dmraid-1.0.0.rc15-8

Andre:

I  had the same problem, I also have intel raid.

My solution: downgrade to rc14 with a live cd, first activate the partitions with dmraid rc14 (from the live cd of course), mount everything as  in the install guide for fakeraid , then chroot into the partitions,    downgrade dmraid to rc14 , and finally remake the kernel image.

For now I stopped pacman to upgrade dmraid. Maybe is just a bug with intel raid.

I hope this  help.

Offline

#11 2009-09-10 09:54:22

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: Problems with latest dmraid-1.0.0.rc15-8

Yeah I did the same thing and my raid works with rc14. So I blocked dmraid from upgrading for now. I will do a reinstall of my machine at some point.

Regards

André

Offline

Board footer

Powered by FluxBB