From 8cf952a61ebb8078c4d9be4c5347acab61524eb7 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 14 Apr 2013 21:38:57 +0200 Subject: [PATCH] new ID for milanollo-srv --- modules/multipath/files/bm-multipath.conf | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/modules/multipath/files/bm-multipath.conf b/modules/multipath/files/bm-multipath.conf index 62b5982e..70826dd4 100644 --- a/modules/multipath/files/bm-multipath.conf +++ b/modules/multipath/files/bm-multipath.conf @@ -3,6 +3,25 @@ ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git ## +# cut -b 2- +# convert_sn() { +# local sn a b c d +# sn="$1" +# a="${sn%??????????????????????????}"; sn="${sn#??????}" +# b="${sn%????????????????????}"; sn="${sn#??????}" +# c="${sn%??????????????}"; sn="${sn#??????}" +# d="$sn" +# +# if [ "${c#0000}" = "$c" ]; then +# echo >&2 "sn has unexpected value ($1: $a - $b - $c - $d)" +# return 1 +# fi +# +# echo "36${a}000${b}${c#0000}${d}" +# return 0 +# } + + blacklist_exceptions { devnode "cciss!c[0-9]d[0-9]*" } @@ -18,7 +37,7 @@ multipaths { alias milanollo } multipath { - wwid 3600c0ff000d75b584e9f695101000000 + wwid 3600c0ff000d75b585d026b5101000000 alias milanollo-srv } } -- 2.39.2