{"id":779,"date":"2011-09-30T02:26:00","date_gmt":"2011-09-30T07:26:00","guid":{"rendered":"http:\/\/bucktownbell.com\/?p=779"},"modified":"2012-07-25T21:55:41","modified_gmt":"2012-07-26T02:55:41","slug":"how-to-hot-swap-sata-drives-in-linux-tuxradar-linux","status":"publish","type":"post","link":"http:\/\/bucktownbell.com\/?p=779","title":{"rendered":"How to hot-swap SATA drives in Linux"},"content":{"rendered":"<blockquote><p>If you want the drives to be automounted and your automount system uses pmount to do the mounting (pmount allows mounting by a normal user without an entry in \/etc\/fstab) you may need to edit \/etc\/pmount.allow. If the drives are seen as non-removable, which SATA hard disks usually are, pmount will refuse to mount them unless you add the device name to \/etc\/pmount.allow, for example.<\/p>\n<p>echo &#8216;\/dev\/sdb1&#8217; &gt;&gt;\/etc\/pmount.allow<\/p>\n<p>echo &#8216;\/dev\/sdc[123]&#8217; &gt;&gt;\/etc\/pmount.allow<\/p>\n<p>echo &#8216;\/dev\/sdd*&#8217; &gt;&gt;\/etc\/pmount.allow<\/p>\n<p>The first allows one particular partition to be mounted by pmount, the second example permits three specific partitions on a drive, while the third lets through every partition on a drive. Note the use of single quotes to stop the shell interpreting the wildcards.<\/p><\/blockquote>\n<p>via <a href=\"http:\/\/tuxradar.com\/answers\/570\">How to hot-swap SATA drives in Linux | TuxRadar Linux<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want the drives to be automounted and your automount system uses pmount to do the mounting (pmount allows mounting by a normal user without an entry in \/etc\/fstab) you may need to edit \/etc\/pmount.allow. If the drives are &hellip; <a href=\"http:\/\/bucktownbell.com\/?p=779\">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":[286],"tags":[62,197,80],"class_list":["post-779","post","type-post","status-publish","format-standard","hentry","category-storage","tag-high-availability","tag-hot-swap","tag-nas"],"_links":{"self":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/779","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=779"}],"version-history":[{"count":4,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/779\/revisions"}],"predecessor-version":[{"id":5177,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/779\/revisions\/5177"}],"wp:attachment":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=779"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}