Fix typos
[mirror/dsa-wiki.git] / input / howto / decomission.mdwn
index ce2da3c..5a3d75b 100644 (file)
     rabbitmqadmin -N rainier -V dsa delete queue name=$queue
     done
 
-Three months after decomissioning:
+ * Remove disks from the MSA 
+   * run multipath -ll on the KVM host and find all disks on that multipath
+
+```
+    dm=$(sudo multipath -ll | grep "finzi-srv " | awk '{print $3}')
+    blockdev --flushbufs /dev/$dm &&
+    cd /sys/devices/virtual/block/$dm/slaves &&
+    for device in $(ls -1); do blockdev --flushbufs /dev/$device; echo 1 > "/sys/block/$device/device/delete"; done
+    multipath -f finzi-srv
 
+```
+   * remove the paths in the MSA
+
+Three months after decomissioning:
  * Remove backups