[Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
** Branch linked: lp:ubuntu/dmraid -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
This bug was fixed in the package dmraid - 1.0.0.rc15-1~exp6ubuntu1 --- dmraid (1.0.0.rc15-1~exp6ubuntu1) jaunty; urgency=low * Sync with Debian, introducing a few changes, which will be in Debian's next revision: * debian/initramfs/dmraid.initramfs-hook/dmraid: create udev rules dir before copying each udev rule * debian/dmraid-activate: Refactor code to allow for special casing of raid groups and subsets * debian/patches/05_kernel-event-handling.patch: Drop, as this was breaking RAID0 activation for all metadata types, and the kernel event handling setup is present in rc15 anyway (LP: #310928) * debian/libdmraid-dev.links: Symlink libdmraid.so since pointing to a broken symbolic link in the install file causes the build to FTBFS dmraid (1.0.0.rc15-1~exp6) experimental; urgency=low * [51d68d1] debian/patches/07_isw_metadata_normal_state.patch: Fix Metadata is not put in the NORMAL state after dmraid rebuild is started manually * [8165a84] debian/patches/08_isw_rebuild.patch: Fix ISW Metadata is corrupted after rebuilding is started * [0f588f5] debian/control: Fix Vcs-Browser field to play nice with cl2vcs * [d832984] Added libdmraid1.0.0.rc15 symbols file * [f0e50b8] Added description in 07_isw_metadata_normal_state.patch and 08_isw_rebuild.patch * [492e108] debian/dmraid-activate: Activate unconditionally isw array (LP: #310928) dmraid (1.0.0.rc15-1~exp5) experimental; urgency=low * [f23f890] debian/patches: Deleted old patch 08_promise-metadata- fixes.dpatch * [db69b2c] Switch to quilt * [e40b076] debian/initramfs/dmraid.initramfs-hook/dmraid: New udev in Ubuntu has the default rules installed into /lib/udev/rules.d, so refer also to udev rules file in /lib/udev/rules.d * [fed9520] debian/dmraid-activate: Ignore case distinctions when grep for "No RAID disks" * [c85b78f] debian/dmraid.postinst: call udevadm with --action=change (Closes: #512771), (LP: #320482) * [8d88132] debian/control: Remove priority and section fields in the binary package, and fix duplicate-short-description lintian warning * [1fd2986] Fixed command-with-path-in-maintainer-script lintian warning * [36cd8e5] debian/control: Removed initramfs-tools depends * [b3eb93f] debian/control: Fixed duplicate-long-description lintian warning -- Luke YelavichFri, 13 Feb 2009 12:33:43 +1100 ** Changed in: dmraid (Ubuntu) Status: Confirmed => Fix Released -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
Committed fix doesn't fix anything. ** Changed in: dmraid (Debian) Status: Fix Committed => Confirmed ** Changed in: dmraid (Ubuntu) Status: Fix Committed => Confirmed -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
The problem still with latest dmraid_1.0.0.rc15-1~exp6_amd64.deb! I hold my dmraid_1.0.0.rc14! Fortunately was not installed on my main Ubuntu on the raid array (i've tried it on another Ubuntu on single/normal sata disk). -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
I would hold off, it looks as if a lot of isw issues are being hammered out still. -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
Fake upstream fix since Launchpad doesn't support Git yet ** Also affects: dmraid (Debian) Importance: Undecided Status: New ** Also affects: dmraid (Fedora) Importance: Undecided Status: New ** Changed in: dmraid (Debian) Status: New => Fix Committed -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
Last version, dmraid_1.0.0.rc15-1~exp6_amd64.deb, fix the problem? I don't want break my current installation, and my updates is blocked from the old dmraid_1.0.0.rc14. -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
Regression bug of dmraid :/ I don't know if i must open a new bug: I've installed today Jaunty alpha4 and work fine with Ext4 partition but have dmraid_rc15.xxx package that don't work with my Intel ICH10 Raid. I've typed this and others commands without success: $ sudo dmraid -ay Intel etcetc was not activated. ls /dev/mapper list only "control". After apt-get purge dmraid, apt-get clean and apt-get autoclean I've installed dmraid_1.0.0.rc14-7_amd64.deb (downloaded from http://www.debian.org/distrib/packages) and it works correctly. Plase fix it soon. My mainboard is P5Q Deluxe. -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
Hi Giuseppe, I concur that this is most likely unrelated. Unfortunately, after much fiddling around I was forced to abandon my array. None of the above commands worked to add a spare or to rebuild. Fortunately, this is only on a test box anyway. When I rebuild it for production use, I will have to carefully weigh my options between dmraid and mdadm. Thanks for all your work. John -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
John Ryan ha scritto: > The problem all seemed to stem from the fact that when I first re-added > a disk to the array last night (prior to the successful rebuild), the > name of the array was changed by the BIOS. After a reboot (or in my > case, powering off for a day), I then had two different array names and > neither could be started. I had to use "dmraid -x isw_daifjieafd_Array" > (from either a live CD or the busybox prompt) to delete the new array, whit dmraid rc15 you can try dmraid -R to add a new drive into the array, from man page: {-R| --rebuild} RAID-set [device-path] Rebuild raid array after a drive has failed and a new drive is added. For Intel chipset based systems, there are two methods in which a new drive is added to the system. 1. Using OROM to identify a new drive During system reboot, enter OROM and mark the new drive as the rebuild drive. After booting to the OS, use the dmraid command to rebuild. Example: dmraid -R raid_set 2. Using dmraid to identify a new drive Boot to the OS and use the dmraid command with the new drive as the second parameter. Example: dmraid -R raid_set /dev/sdc 3. Using hot spare drive Mark a drive as hot spare using the "dmraid -f isw -S" command. Then use the dmraid command to start the rebuild. Example: dmraid -R raid_set > then go into the BIOS and re-add the disk again. Unfortunately, this > resulted in a new name for the array being generated and so on and so > forth. This went on until I deleted the array on /dev/sda instead of > the one on /dev/sdb and as a result ended up stuck with the "Failed" > array. > Anyway I think this is a different issue, intel rebuild is a new features introduced in rc15 and it is quite experimental. Cheers, Giuseppe. -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
Well after a fair bit of mucking around, it looks like I have completely lost my array. The BIOS now reports the array status as "Failed", while /dev/sda is listed as a "Non-RAID Disk" and /dev/sdb is a "Member Disk(0)". However, I cannot seem to be able to add /dev/sda back into the array either in the BIOS or with "dmraid -R isw_bbiechciij_Array /dev/sda". Nor does adding /dev/sda as a hot spare work as it gets added to a new array instead of "isw_bbiechciij_Array" (it will not accept "isw_bbiechciij_Array" as a legal array name to add it to because it is greater than 15 chars long). The problem all seemed to stem from the fact that when I first re-added a disk to the array last night (prior to the successful rebuild), the name of the array was changed by the BIOS. After a reboot (or in my case, powering off for a day), I then had two different array names and neither could be started. I had to use "dmraid -x isw_daifjieafd_Array" (from either a live CD or the busybox prompt) to delete the new array, then go into the BIOS and re-add the disk again. Unfortunately, this resulted in a new name for the array being generated and so on and so forth. This went on until I deleted the array on /dev/sda instead of the one on /dev/sdb and as a result ended up stuck with the "Failed" array. -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
Hi Giuseppe, I might have spoken too soon! I just got home from work, turned on my PC and my array no longer exists. The BIOS reports no RAID volumes defined and both my physical disks are listed as offline members. I have no idea whether this problem was caused by dmraid or not. I will try to restore the array from a live CD and let you know how I get on. John -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
Great, committed in the git repository and uploaded to Debian experimental. ** Changed in: dmraid (Ubuntu) Status: Confirmed => Fix Committed -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
Hi Giuseppe, I can confirm that your new versions seems to work ok. I had an Intel raid array which the BIOS reported as degraded. In Intrepid 8.10 with rc14 installed, the array made no attempt to repair itself. Installing your version resulted in a clean boot and the array rebuilt itself overnight. The BIOS now report the array as clean. Thanks! John -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
Hi, I'm very sorry, I had to move this machine into production, so I went with Software Raid 1. Dan Giuseppe Iuculano wrote: > Hi, > > I've uploaded a snapshot dmraid version on my PPA. Could you try that > version please? > > For intrepid: > deb http://ppa.launchpad.net/giuseppe-iuculano/ppa/ubuntu intrepid main > deb-src http://ppa.launchpad.net/giuseppe-iuculano/ppa/ubuntu intrepid main > > For jaunty: > deb http://ppa.launchpad.net/giuseppe-iuculano/ppa/ubuntu jaunty main > deb-src http://ppa.launchpad.net/giuseppe-iuculano/ppa/ubuntu jaunty main > > @Dan: Make sure you have the original /etc/udev/rules.d/85-dmraid.rules > before upgrade > > Cheers, > Giuseppe. > -- --|Dan Eicher |--- mailto:d...@cise.ufl.edu|Senior System Programmer http://www.cise.ufl.edu/~dhe | University of Florida Work Phone : (352) 392-1499| CISE Department Work Fax : (352) 392-1220|CSE 314D | Gainesville, FL 32611-6120 -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
Hi, I've uploaded a snapshot dmraid version on my PPA. Could you try that version please? For intrepid: deb http://ppa.launchpad.net/giuseppe-iuculano/ppa/ubuntu intrepid main deb-src http://ppa.launchpad.net/giuseppe-iuculano/ppa/ubuntu intrepid main For jaunty: deb http://ppa.launchpad.net/giuseppe-iuculano/ppa/ubuntu jaunty main deb-src http://ppa.launchpad.net/giuseppe-iuculano/ppa/ubuntu jaunty main @Dan: Make sure you have the original /etc/udev/rules.d/85-dmraid.rules before upgrade Cheers, Giuseppe. -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
>From ataraid mailing list: The handling of group RAID sets has changed in rc15 in order to allow for eg. isw RAID volumes to be selected, hence this is intended. Wildcard support needs adding in order to allow for easier name selection. Patches welcome ;-) -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
FYI - Despite upgrading to this newer version - when I reboot, the machine still shows in the BIOS as RAID group is in a status of rebuild. -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 310928] Re: dmraid-activate is broken for isw arrays (dmraid rc15)
** Summary changed: - boot fails after a one drive failure in a mirror + dmraid-activate is broken for isw arrays (dmraid rc15) ** Description changed: - Dist: Ubuntu 8.10 Server Hardware: System Sunfire 2250 r...@lolly:~# dmraid -ay RAID set "isw_hgbhachhf_Mirror" already active RAID set "isw_hgbhachhf_Mirror1" already active RAID set "isw_hgbhachhf_Mirror5" already active r...@lolly:~# dpkg -l | grep dmraid ii dmraid1.0.0.rc14-2ubuntu12 Device-Mapper Software RAID support tool ii libdmraid1.0.0.rc14 1.0.0.rc14-2ubuntu12 Device-Mapper Software RAID support tool - s r...@lolly:~# dmraid -r /dev/sdb: isw, "isw_hgbhachhf", GROUP, ok, 1953525165 sectors, data@ 0 /dev/sda: isw, "isw_hgbhachhf", GROUP, ok, 1953525165 sectors, data@ 0 r...@lolly:~# dmraid -b /dev/sdb: 1953525168 total, "GTF000PAKD6J8F" /dev/sda: 1953525168 total, "GTF000PAKG99LF" r...@lolly:~# dmraid -V dmraid version: 1.0.0.rc14 (2006.11.08) shared dmraid library version: 1.0.0.rc14 (2006.11.08) device-mapper version:4.14.0 r...@lolly:~# dmraid -s *** Group superset isw_hgbhachhf --> Active Subset name : isw_hgbhachhf_Mirror size : 1953519616 stride : 128 type : mirror status : ok subsets: 0 devs : 2 spares : 0 r...@lolly:~# dmraid -rD -d -d -d -v -v -v WARN: locking /var/lock/dmraid/.lock NOTICE: /dev/sdb: asr discovering NOTICE: /dev/sdb: ddf1discovering NOTICE: /dev/sdb: hpt37x discovering NOTICE: /dev/sdb: hpt45x discovering NOTICE: /dev/sdb: isw discovering NOTICE: writing metadata file "sdb_isw.dat" NOTICE: writing offset to file "sdb_isw.offset" NOTICE: writing size to file "sdb_isw.size" NOTICE: /dev/sdb: isw metadata discovered NOTICE: /dev/sdb: jmicron discovering NOTICE: /dev/sdb: lsi discovering NOTICE: /dev/sdb: nvidia discovering NOTICE: /dev/sdb: pdc discovering NOTICE: /dev/sdb: sil discovering NOTICE: /dev/sdb: via discovering NOTICE: /dev/sda: asr discovering NOTICE: /dev/sda: ddf1discovering NOTICE: /dev/sda: hpt37x discovering NOTICE: /dev/sda: hpt45x discovering NOTICE: /dev/sda: isw discovering NOTICE: writing metadata file "sda_isw.dat" NOTICE: writing offset to file "sda_isw.offset" NOTICE: writing size to file "sda_isw.size" NOTICE: /dev/sda: isw metadata discovered NOTICE: /dev/sda: jmicron discovering NOTICE: /dev/sda: lsi discovering NOTICE: /dev/sda: nvidia discovering NOTICE: /dev/sda: pdc discovering NOTICE: /dev/sda: sil discovering NOTICE: /dev/sda: via discovering INFO: RAID devices discovered: /dev/sdb: isw, "isw_hgbhachhf", GROUP, ok, 1953525165 sectors, data@ 0 /dev/sda: isw, "isw_hgbhachhf", GROUP, ok, 1953525165 sectors, data@ 0 WARN: unlocking /var/lock/dmraid/.lock Everything looks as it should. Pull One Drive from the mirror and you get: Giving up waiting for root device. Common Problems: - Boot args (cat /proc/cmdline) - Check rootdelay= (did the system wait long enough?) - Check root= (did the system wait for the right device?) - Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/mapper/isw.hgbhachhf_Mirror1 does not exist. Dropping to shell! BusyBox v1.10.2 .. (initramfs) dmraid -ay ctrl-d ERROR: isw: unsupported map state 0x2 on /dev/sda for Mirror ERROR: adding /dev/sda to RAID set "isw_hgbhachhf" ERROR: removing RAID set "isw_hgbhachhf" ** Changed in: dmraid (Ubuntu) Status: New => Confirmed -- dmraid-activate is broken for isw arrays (dmraid rc15) https://bugs.launchpad.net/bugs/310928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs