{"id":162,"date":"2009-03-18T23:30:27","date_gmt":"2009-03-19T04:30:27","guid":{"rendered":"http:\/\/muthii.com\/blog\/?p=162"},"modified":"2009-03-18T23:30:27","modified_gmt":"2009-03-19T04:30:27","slug":"unable-to-share-new-hd-or-partition","status":"publish","type":"post","link":"https:\/\/muthii.com\/blog\/?p=162","title":{"rendered":"unable to share new HD or Partition"},"content":{"rendered":"<p> If you have a new HD or a new partition and you are trying to add it as a samba share you might run into some problems. Check your log files if you see an error message like <\/p>\n<pre> SELinux is preventing smbd (smbd_t) \"search\" to  (file_t)<\/pre>\n<p>.\u00a0 Just log in as root and do <\/p>\n<pre>#\u00a0 restorecon -v \/mnt\/newdrive <\/pre>\n<p> the -v option tells it to give a verbose output of whatever its doing. You should be able to access your shares now. This puzzled me for a minute because I could still access other shares on the older partition\/drive and even new ones as long as they were on the older drive but any new shares on new drive\/partition were inaccessible.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have a new HD or a new partition and you are trying to add it as a samba share you might run into some problems. Check your log files if you see an error message like SELinux is preventing smbd (smbd_t) &#8220;search&#8221; to (file_t) .\u00a0 Just log in as root and do #\u00a0 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/muthii.com\/blog\/?p=162\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;unable to share new HD or Partition&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,46],"tags":[70,71,69],"_links":{"self":[{"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/162"}],"collection":[{"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=162"}],"version-history":[{"count":6,"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/162\/revisions"}],"predecessor-version":[{"id":168,"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/162\/revisions\/168"}],"wp:attachment":[{"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}