X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fmultipath%2Ffiles%2Fbm-multipath.conf;h=70826dd43d76da07c0b11e8070b9ba3cccd439ec;hb=8cf952a61ebb8078c4d9be4c5347acab61524eb7;hp=62b5982e74e8fd3a24babc83054ccf5c764d0e34;hpb=ab2ed88279650106f252798cf1c6ba9b5ddc005b;p=mirror%2Fdsa-puppet.git diff --git a/modules/multipath/files/bm-multipath.conf b/modules/multipath/files/bm-multipath.conf index 62b5982e7..70826dd43 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 } }