|
Adam Williamson |
3d3710 |
From 96dd416ac2ea8ea0f5bbbdce2abafbbce84f0ad6 Mon Sep 17 00:00:00 2001
|
|
Adam Williamson |
3d3710 |
From: Adam Williamson <awilliam@redhat.com>
|
|
Adam Williamson |
3d3710 |
Date: Wed, 22 May 2013 13:56:58 -0700
|
|
Adam Williamson |
3d3710 |
Subject: [PATCH 45/45] don't specify "p" as a separator for dmraid arrays
|
|
Adam Williamson |
3d3710 |
(RHBZ #966162)
|
|
Adam Williamson |
3d3710 |
|
|
Adam Williamson |
3d3710 |
As per RHBZ #966162, parted stopped unconditionally using "p" as a
|
|
Adam Williamson |
3d3710 |
separator for dmraid device names in version 3.1, so other things need
|
|
Adam Williamson |
3d3710 |
to fall in line with that convention now.
|
|
Adam Williamson |
3d3710 |
---
|
|
Adam Williamson |
3d3710 |
modules.d/90dmraid/dmraid.sh | 4 ++--
|
|
Adam Williamson |
3d3710 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
Adam Williamson |
3d3710 |
|
|
Adam Williamson |
3d3710 |
diff --git a/modules.d/90dmraid/dmraid.sh b/modules.d/90dmraid/dmraid.sh
|
|
Adam Williamson |
3d3710 |
index 68e0515..3753ddd 100755
|
|
Adam Williamson |
3d3710 |
--- a/modules.d/90dmraid/dmraid.sh
|
|
Adam Williamson |
3d3710 |
+++ b/modules.d/90dmraid/dmraid.sh
|
|
Adam Williamson |
3d3710 |
@@ -28,7 +28,7 @@ if [ -n "$DM_RAIDS" ] || getargbool 0 rd.auto; then
|
|
Adam Williamson |
3d3710 |
if [ "${s##$r}" != "$s" ]; then
|
|
Adam Williamson |
3d3710 |
info "Activating $s"
|
|
Adam Williamson |
3d3710 |
dmraid -ay -i -p --rm_partitions "$s" 2>&1 | vinfo
|
|
Adam Williamson |
3d3710 |
- [ -e "/dev/mapper/$s" ] && kpartx -a -p p "/dev/mapper/$s" 2>&1 | vinfo
|
|
Adam Williamson |
3d3710 |
+ [ -e "/dev/mapper/$s" ] && kpartx -a "/dev/mapper/$s" 2>&1 | vinfo
|
|
Adam Williamson |
3d3710 |
udevsettle
|
|
Adam Williamson |
3d3710 |
fi
|
|
Adam Williamson |
3d3710 |
done
|
|
Adam Williamson |
3d3710 |
@@ -38,7 +38,7 @@ if [ -n "$DM_RAIDS" ] || getargbool 0 rd.auto; then
|
|
Adam Williamson |
3d3710 |
for s in $SETS; do
|
|
Adam Williamson |
3d3710 |
info "Activating $s"
|
|
Adam Williamson |
3d3710 |
dmraid -ay -i -p --rm_partitions "$s" 2>&1 | vinfo
|
|
Adam Williamson |
3d3710 |
- [ -e "/dev/mapper/$s" ] && kpartx -a -p p "/dev/mapper/$s" 2>&1 | vinfo
|
|
Adam Williamson |
3d3710 |
+ [ -e "/dev/mapper/$s" ] && kpartx -a "/dev/mapper/$s" 2>&1 | vinfo
|
|
Adam Williamson |
3d3710 |
done
|
|
Adam Williamson |
3d3710 |
fi
|
|
Adam Williamson |
3d3710 |
|
|
Adam Williamson |
3d3710 |
--
|
|
Adam Williamson |
3d3710 |
1.8.2.1
|
|
Adam Williamson |
3d3710 |
|