FS#12089 - [dmraid] dmraid -ay not longer recognizing array

Attached to Project: Arch Linux
Opened by - (zaggynl) - Tuesday, 11 November 2008, 16:34 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 10 May 2009, 06:33 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Updated kernel yesterday, booted today, no loner recognizes raid array:

sudo dmraid -ay
ERROR: isw: Could not find disk /dev/sdc in the metadata
ERROR: isw: Could not find disk /dev/sdb in the metadata
no raid disks
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Sunday, 10 May 2009, 06:33 GMT
Reason for closing:  Fixed
Comment by Cookie Monster (extcake) - Wednesday, 12 November 2008, 00:09 GMT
The problem is dmraid itself. After downgrade to dmraid-1.0.0.rc14-4 everything works with newest kernel(2.6.27.5-1).
New dmraid brake after first mkinitcpio witch occurs with upgrade of kernel.
Comment by Eric Gillingham (sysrq) - Monday, 01 December 2008, 21:47 GMT
What's going on with this? I cannnot use dmraid on my system at all anymore and there seems to be nothing going on resolving this bug.
Comment by - (zaggynl) - Thursday, 04 December 2008, 23:00 GMT
http://bbs.archlinux.org/viewtopic.php?pid=448032#p448032

extcake
"
i fix this issue with downgrade dmraid to dmraid-1.0.0.rc14-4. Here you can find corrected PKGBUILD (corrected url) with scripts and compiled package (Remember to do mkinitcpio after install).
It seems that problem ocures after first mkinitcpio afer upgrading to dmraid-1.0.0.rc15-5.
"
Comment by - (zaggynl) - Thursday, 04 December 2008, 23:03 GMT
For thsoe who haven't done arch in a while (like me)

wget http://ext.enetia.pl/dmraid/PKGBUILD
wget http://ext.enetia.pl/dmraid/dmraid_hook
wget http://ext.enetia.pl/dmraid/dmraid_install
makepkg PKGBUILD
sudo pacman -U dmraid-1.0.0.rc14-4-i686.pkg.tar.gz
Comment by Tobias Powalowski (tpowa) - Monday, 08 December 2008, 23:15 GMT
please try dmraid package from testing it downgrades it again.
Comment by Cookie Monster (extcake) - Wednesday, 10 December 2008, 23:38 GMT
dmraid from testing works for me
Comment by André Fettouhi (A.Fettouhi) - Thursday, 11 December 2008, 09:55 GMT
Someone on the forum wrote that:

"did you install from core CD or from FTP ?
there was a dmraid update few weeks ago that modified device names that dmraid creates :
it add "p" before the number of the partition (your iws...Volume0 don't change, but your iws...Volume0# change to iws...Volume0p#)
if you installed from core CD, you will only need to add this "p" when you will upgrade dmraid (or the full system)
(you will then need to edit both /boot/grub/menu.lst and /etc/fstab)
if you installed from FTP, you need to add this "p" now, as you installed last version of dmraid"

Is this true? Does the latest version of dmraid for extra 1.0.0.rc15-5 if one just changes the the entries in fstab and menu.lst?

Regards

André
Comment by Cookie Monster (extcake) - Thursday, 11 December 2008, 10:13 GMT
for some the 1.0.0rc15-5 didn't work at all (at least for me on both ich9r and ich10r), imo the safest option is using dmraid from testing for now (no need of addin 'p' to fstab or menu.lst).
If you still wanna use dmraid from extra, just run dmraid -ay after upgrade and check if there is new nameing schema (and if is, then you only have to edit fstab and menu.lst according)
Comment by André Fettouhi (A.Fettouhi) - Thursday, 11 December 2008, 10:17 GMT
OK, thanks for the heads up. I'll remember to do that when I continue installation Arch on my new DELL Studio PC. I just got RAID 0 runinng on it and got the basic Arch core installed. Now I need to do "pacman -Syu".

Regards

André
Comment by André Fettouhi (A.Fettouhi) - Wednesday, 11 February 2009, 20:09 GMT
I did a new fresh install on my new pc using fakeraid and when I run pacman -Syu for the first time dmaraid gets updated to 1.0.0.rc14-2 but when I then restart the init file is missing. I get a kernel panic right after grub saying "not syncing: No init found. Try passing init= option to kernel". What is this init= option?
Comment by Tobias Powalowski (tpowa) - Wednesday, 11 February 2009, 20:26 GMT
the question is with which cd you installed?
and did you need the p additions during install or not.
dmraid is really horrible when it comes to support that fits to all :(
Comment by André Fettouhi (A.Fettouhi) - Wednesday, 11 February 2009, 21:02 GMT
I installed from the core cd 2008.06. No, I did not need to add the p during installation.

Regards

André
Comment by Tobias Powalowski (tpowa) - Sunday, 10 May 2009, 06:18 GMT
status on latest dmraid and update?
Comment by André Fettouhi (A.Fettouhi) - Sunday, 10 May 2009, 06:27 GMT
The latest dmraid in [core] is working for me fine.

Regards

André

Loading...