find instances with slaves stuck in WFConnection
[gnt-info] / doc / megaraid-to-md.txt
index b5aa29c..3535644 100644 (file)
@@ -152,10 +152,13 @@ offset               type
                      UUID:  08a9ea8e-0a25-4efd-9075-8966c0d1fb00
 
 
+If there are partition tables on disks, they should be wiped with wipefs -a /dev/drive
+
 It's probably a good idea to reboot here so that linux kernel can re-numerate disks.
 
 
 
+
 root@lib28:~# lsblk --scsi -m
 NAME HCTL       TYPE VENDOR   MODEL             REV TRAN NAME   SIZE OWNER GROUP MODE
 sda  0:0:7:0    disk ATA      INTEL SSDSC2BW24 DC32      sda  223.6G root  disk  brw-rw----
@@ -276,6 +279,12 @@ cset.uuid               4a61e966-f18d-4fab-836a-3ff027963781
 root@lib28:~# echo 4a61e966-f18d-4fab-836a-3ff027963781 > /sys/block/bcache0/bcache/attach 
 [Thu Sep 20 14:18:08 2018] bcache: bch_cached_dev_attach() Caching md127 as bcache0 on set 4a61e966-f18d-4fab-836a-3ff027963781
 
+Same as one-liner for easier copy/paste:
+
+root@lib30:/srv/gnt-info# bcache-super-show /dev/sdh3 | grep cset.uuid | awk '{ print $2 }' > /sys/block/bcache0/bcache/attach
+[Mon Sep 24 09:38:35 2018] bcache: bch_cached_dev_attach() Caching md0 as bcache0 on set b8b500d6-b933-428b-a040-5fb0b2cbef49
+
+
 
 Verify that bcache is active (values should NOT be all zeros if it's working):