[Bug 362768] [NEW] race condition leaves raid raw devices exposed

Tormod Volden bugpost.tormod at gmail.com
Fri Apr 17 07:56:46 UTC 2009


Public bug reported:

Binary package hint: dmraid

The -Z option in dmraid-activate is supposed the hide the raw devices
when the raid is activated. This works sometimes, sometimes not. My
mirror raid is on /dev/sda and /dev/sdb, yet today I see the sdbX
devices. Yesterday I saw the sdaX devices as well, after one reboot none
of them.

$ ls /dev/sd*
/dev/sda  /dev/sdb1  /dev/sdb3  /dev/sdb5  /dev/sdb7  /dev/sdd  /dev/sdf
/dev/sdb  /dev/sdb2  /dev/sdb4  /dev/sdb6  /dev/sdc   /dev/sde

If I run dmraid-activate manually, I see this message logged:
dmraid-activate: ERROR: Cannot retrieve RAID set information for isw_ececbiichd_osmoraid
which AFAICS means the dmraid -Z command is not run.

"dmraid -i -si isw_ececbiichd_osmoraid" returns nothing.

I suspect the occasional successful hiding happens in the initrd as
devices are initially discovered, and will not work later.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: dmraid 1.0.0.rc15-6ubuntu1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: dmraid
Uname: Linux 2.6.28-10-generic i686

** Affects: dmraid (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
race condition leaves raid raw devices exposed
https://bugs.launchpad.net/bugs/362768
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list