<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: data disk unmounted in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/data-disk-unmounted/m-p/228272#M190132</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/14451/pjalleda.html" nodeid="14451"&gt;@PJ&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;See &lt;A href="https://issues.apache.org/jira/browse/HDFS-4239" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-4239&lt;/A&gt; for a good relevant discussion.&lt;/P&gt;&lt;P&gt;So shut down the datanode, clean the disk, remount and restart the datanode.  Because of the data replication factor of 3 from HDFS that shouldn't be a problem. Make sure the new mount is in the dfs.data.dir  config.&lt;/P&gt;&lt;P&gt;Additionally you can also decomission the node and recommission following the steps here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/3131/replacing-disk-on-datanode-hosts.html" target="_blank"&gt;https://community.hortonworks.com/articles/3131/replacing-disk-on-datanode-hosts.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 12 May 2017 02:41:39 GMT</pubDate>
    <dc:creator>wbekker</dc:creator>
    <dc:date>2017-05-12T02:41:39Z</dc:date>
    <item>
      <title>data disk unmounted</title>
      <link>https://community.cloudera.com/t5/Support-Questions/data-disk-unmounted/m-p/228271#M190131</link>
      <description>&lt;P&gt;Hi, Somehow or somebody unmounted a data disk from one of the data nodes and mounted it back again, so the data is still in there . So when such thing happens, will the data residing in that disk is corrupted and i have to clean that disk and mount it back ? or what do i do?&lt;/P&gt;&lt;P&gt;What exactly is the procuedure I follow to get this disk back into the datanode considering this a production cluster.&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 02:07:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/data-disk-unmounted/m-p/228271#M190131</guid>
      <dc:creator>pmj</dc:creator>
      <dc:date>2017-05-12T02:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: data disk unmounted</title>
      <link>https://community.cloudera.com/t5/Support-Questions/data-disk-unmounted/m-p/228272#M190132</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/14451/pjalleda.html" nodeid="14451"&gt;@PJ&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;See &lt;A href="https://issues.apache.org/jira/browse/HDFS-4239" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-4239&lt;/A&gt; for a good relevant discussion.&lt;/P&gt;&lt;P&gt;So shut down the datanode, clean the disk, remount and restart the datanode.  Because of the data replication factor of 3 from HDFS that shouldn't be a problem. Make sure the new mount is in the dfs.data.dir  config.&lt;/P&gt;&lt;P&gt;Additionally you can also decomission the node and recommission following the steps here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/3131/replacing-disk-on-datanode-hosts.html" target="_blank"&gt;https://community.hortonworks.com/articles/3131/replacing-disk-on-datanode-hosts.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 02:41:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/data-disk-unmounted/m-p/228272#M190132</guid>
      <dc:creator>wbekker</dc:creator>
      <dc:date>2017-05-12T02:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: data disk unmounted</title>
      <link>https://community.cloudera.com/t5/Support-Questions/data-disk-unmounted/m-p/228273#M190133</link>
      <description>&lt;P&gt;1. Run this command as hdfs user.&lt;/P&gt;&lt;P&gt; hdfs fsck /&lt;/P&gt;&lt;P&gt;2. If you return CORRUPT files, then try it below command.&lt;/P&gt;&lt;P&gt;hdfs fsck -list-corruptfileblocks&lt;/P&gt;&lt;P&gt;hdfs fsck $hdfsfilepath -location -blocks -files &lt;/P&gt;&lt;P&gt;
hdfs fsck -delete $corrupt_files_path &lt;/P&gt;&lt;P&gt;3. Complete above procedure, and re-run 1. command.&lt;/P&gt;&lt;P&gt;hdfs fsck /&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 06:44:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/data-disk-unmounted/m-p/228273#M190133</guid>
      <dc:creator>MindGlass</dc:creator>
      <dc:date>2017-05-12T06:44:59Z</dc:date>
    </item>
  </channel>
</rss>

