Harald Hoyer
5d8d0ac814
dmraid/61-dmraid-imsm.rules: add nowatch option for udev
...
udev rereads partitions, if watch is set for disks
2015-11-26 17:46:03 +01:00
Harald Hoyer
eb242ada05
dmraid/61-dmraid-imsm.rules: remove double ","
2015-11-25 14:21:33 +01:00
Harald Hoyer
a283636b83
dmraid: only scan once because of one device
...
(cherry picked from commit 80153acc0f )
2015-11-11 16:15:22 +01:00
Harald Hoyer
c0cae7f702
dmraid,mdraid,lvm,udev: don't process DM_MULTIPATH_DEVICE_PATH devs
2012-07-30 20:41:16 +02:00
Michal Soltys
cf5891424e
90(md|dm)raid: recognize ddf container
...
This patch adds ddf support, consistently with imsm/isw options.
Signed-off-by: Michal Soltys <soltys@ziu.info>
2011-09-22 15:37:26 +02:00
Peter Rajnoha
c2c3108882
*.rules: honor DM_UDEV_DISABLE_OTHER_RULES_FLAG
...
honour the DM_UDEV_DISABLE_OTHER_RULES_FLAG which is set by
libdevmapper/LVM directly for devices that should be skipped.
2010-11-10 18:14:59 +01:00
Harald Hoyer
094097fab3
lvm/dm/md: switch from lockfiles to $sys/$devpath/holders/*
...
This is a more sane solution, than ignoring subsequent "change" events.
The only danger is that we could loop, if a lvm scan triggers a broken
md partition, which triggers a broken PV and so on.
Better fix the scanning tools, not to emit change events for devices,
if no action was taken.
2009-09-16 15:34:13 +02:00
Harald Hoyer
33ff830c1b
90dmraid: switch rd_NO_DM to udev ENV
2009-09-15 11:17:27 +02:00
Harald Hoyer
273b197d75
added initqueue-settled and refactored code
2009-09-07 19:12:01 +02:00
Harald Hoyer
0e77eb3782
dmraid/mdraid: only try to delete partition 1-1024
...
add "--nr 1-1024" to partx, otherwise partx will try to delete
partitions 1-INT_MAX, which takes a long time.
2009-07-23 11:58:24 +02:00
Harald Hoyer
7045d15460
dmraid/mdraid: use ENV{DEVTYPE} instead of ATTR{partition}
2009-07-21 15:01:41 +02:00
Harald Hoyer
e0fd2e2f74
dmraid: handle isw_raid_member if rd_NO_MDIMSM is set in udev ENV
2009-07-17 16:00:19 +02:00
Harald Hoyer
20cfd14f41
dmraid.rules: cleanup
2009-07-17 10:16:16 +02:00
Harald Hoyer
584e55654c
remove partitions from raid devices before they are used for something
...
else
2009-07-15 18:27:20 +02:00
Harald Hoyer
dd1f72b3dd
dmraid.rules changed comment in header
2009-07-15 18:27:20 +02:00
Hans de Goede
3564cb7c2c
Make Intel BIOS raid use mdraid instead of dmraid when mdadm 3.0 is available
...
Intel BIOS raid is being shifted from dmraid to mdraid because mdraid offers
more features. So if an imsm metadata capable mdadm is present use mdraid
instead of dmraid for isw_raid_member's
This patch also adds code to mdraid_start.sh so that the raidsets
inside the imsm containers get started once udev is done probing
(doing this earlier leads to potentially degraded use of the sets and
an unwanted resync).
2009-07-15 18:27:20 +02:00