{"id":1702,"date":"2011-11-20T02:23:53","date_gmt":"2011-11-20T08:23:53","guid":{"rendered":"http:\/\/bucktownbell.com\/?p=1702"},"modified":"2012-09-12T23:48:47","modified_gmt":"2012-09-13T04:48:47","slug":"re-scan-the-scsi-bus-in-linux-after-hot-swapping-a-drive-racker-hacker","status":"publish","type":"post","link":"http:\/\/bucktownbell.com\/?p=1702","title":{"rendered":"Re-scan the SCSI bus in Linux after hot-swapping a drive"},"content":{"rendered":"<blockquote><p>A better way to find out the correct host controller:<\/p>\n<p># <strong>udevadm info -a -p \/sys\/class\/scsi_generic\/sg0<\/strong><\/p>\n<p>where sg0 is the device node of which you&#8217;d like to know the corresponding SCSI controller &#8211; down that tree you will find hostX mentioned as part of the device path.<\/p>\n<p>And thanks for the rescanning tip, it saved my day.<\/p><\/blockquote>\n<p>via <a href=\"http:\/\/rackerhacker.com\/2009\/04\/23\/re-scan-the-scsi-bus-in-linux-after-hot-swapping-a-drive\/\">Re-scan the SCSI bus in Linux after hot-swapping a drive | Racker Hacker<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A better way to find out the correct host controller: # udevadm info -a -p \/sys\/class\/scsi_generic\/sg0 where sg0 is the device node of which you&#8217;d like to know the corresponding SCSI controller &#8211; down that tree you will find hostX &hellip; <a href=\"http:\/\/bucktownbell.com\/?p=1702\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[197,28],"class_list":["post-1702","post","type-post","status-publish","format-standard","hentry","category-operating-systems","tag-hot-swap","tag-linux-command"],"_links":{"self":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/1702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1702"}],"version-history":[{"count":2,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/1702\/revisions"}],"predecessor-version":[{"id":6308,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/1702\/revisions\/6308"}],"wp:attachment":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1702"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}