<?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 &amp;quot;Configured Capacity&amp;quot; shows less size than the original disk capacity as per dfsadmin command in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Configured-Capacity-quot-shows-less-size-than-the/m-p/40841#M28360</link>
    <description>&lt;P&gt;I have implemented 2 node cluster using Cloudera Manager 5.4.1 in VMWare workstation and this includes components like Hbase, Impala, Hive, Sqoop2, Oozie, Zookeeper, NameNode, SecondaryName and YARN.&lt;/P&gt;&lt;P&gt;I have simulated 3 disk drives per node which includes sda for OS , sdb &amp;amp; sdc for Hadoop storage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;As I had allocated sdb1 having 16GB and sdc1 having&amp;nbsp;16GB &amp;nbsp;dedicated for Hadoop storage on each of&amp;nbsp;the nodes. Hence I assume that my&amp;nbsp;total capacity for HDFS storage including both nodes should be 64GB. But when checked the output using dfsadmin command and also using NameNode UI, I see that the "Configured Capacity is lesser than my original disk size allocated for HDFS".&lt;/P&gt;&lt;P&gt;I have shown the output of dfsadmin command below and also output of df -h is shown. Kindly help me understand why the Configured capacity is showing lesser than my original disk size ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[hduser@node1 ~]$ df -h
Filesystem                     Size  Used Avail Use% Mounted on
/dev/mapper/vg_node1-LogVol00   40G   15G   23G  39% /
tmpfs                          3.9G   76K  3.9G   1% /dev/shm
/dev/sda1                      388M   39M  329M  11% /boot
/dev/sdb1                       16G  283M   15G   2% /disks/disk1/hdfsstorage/dfs
/dev/sdc1                       16G  428M   15G   3% /disks/disk2/hdfsstorage/dfs
/dev/sdb2                      8.1G  147M  7.9G   2% /disks/disk1/nonhdfsstorage
/dev/sdc2                      8.1G  147M  7.9G   2% /disks/disk2/nonhdfsstorage
cm_processes                   3.9G  5.8M  3.9G   1% /var/run/cloudera-scm-agent/process
[hduser@node1 ~]$&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[hduser@node1 zookeeper]$ sudo -u hdfs hdfs dfsadmin -report
[sudo] password for hduser:
Configured Capacity: 47518140008 (44.25 GB)
Present Capacity: 47518140008 (44.25 GB)
DFS Remaining: 46728742571 (43.52 GB)
DFS Used: 789397437 (752.83 MB)
DFS Used%: 1.66%
Under replicated blocks: 385
Blocks with corrupt replicas: 0
Missing blocks: 0
Missing blocks (with replication factor 1): 0

-------------------------------------------------
Live datanodes (2):

Name: 192.168.52.111:50010 (node1.example.com)
Hostname: node1.example.com
Rack: /default
Decommission Status : Normal
Configured Capacity: 23759070004 (22.13 GB)
DFS Used: 394702781 (376.42 MB)
Non DFS Used: 0 (0 B)
DFS Remaining: 23364367223 (21.76 GB)
DFS Used%: 1.66%
DFS Remaining%: 98.34%
Configured Cache Capacity: 121634816 (116 MB)
Cache Used: 0 (0 B)
Cache Remaining: 121634816 (116 MB)
Cache Used%: 0.00%
Cache Remaining%: 100.00%
Xceivers: 2
Last contact: Sun May 15 18:15:33 IST 2016


Name: 192.168.52.112:50010 (node2.example.com)
Hostname: node2.example.com
Rack: /default
Decommission Status : Normal
Configured Capacity: 23759070004 (22.13 GB)
DFS Used: 394694656 (376.41 MB)
Non DFS Used: 0 (0 B)
DFS Remaining: 23364375348 (21.76 GB)
DFS Used%: 1.66%
DFS Remaining%: 98.34%
Configured Cache Capacity: 523239424 (499 MB)
Cache Used: 0 (0 B)
Cache Remaining: 523239424 (499 MB)
Cache Used%: 0.00%
Cache Remaining%: 100.00%
Xceivers: 2
Last contact: Sun May 15 18:15:32 IST 2016&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:19:35 GMT</pubDate>
    <dc:creator>clouderazone</dc:creator>
    <dc:date>2022-09-16T10:19:35Z</dc:date>
    <item>
      <title>"Configured Capacity" shows less size than the original disk capacity as per dfsadmin command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Configured-Capacity-quot-shows-less-size-than-the/m-p/40841#M28360</link>
      <description>&lt;P&gt;I have implemented 2 node cluster using Cloudera Manager 5.4.1 in VMWare workstation and this includes components like Hbase, Impala, Hive, Sqoop2, Oozie, Zookeeper, NameNode, SecondaryName and YARN.&lt;/P&gt;&lt;P&gt;I have simulated 3 disk drives per node which includes sda for OS , sdb &amp;amp; sdc for Hadoop storage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;As I had allocated sdb1 having 16GB and sdc1 having&amp;nbsp;16GB &amp;nbsp;dedicated for Hadoop storage on each of&amp;nbsp;the nodes. Hence I assume that my&amp;nbsp;total capacity for HDFS storage including both nodes should be 64GB. But when checked the output using dfsadmin command and also using NameNode UI, I see that the "Configured Capacity is lesser than my original disk size allocated for HDFS".&lt;/P&gt;&lt;P&gt;I have shown the output of dfsadmin command below and also output of df -h is shown. Kindly help me understand why the Configured capacity is showing lesser than my original disk size ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[hduser@node1 ~]$ df -h
Filesystem                     Size  Used Avail Use% Mounted on
/dev/mapper/vg_node1-LogVol00   40G   15G   23G  39% /
tmpfs                          3.9G   76K  3.9G   1% /dev/shm
/dev/sda1                      388M   39M  329M  11% /boot
/dev/sdb1                       16G  283M   15G   2% /disks/disk1/hdfsstorage/dfs
/dev/sdc1                       16G  428M   15G   3% /disks/disk2/hdfsstorage/dfs
/dev/sdb2                      8.1G  147M  7.9G   2% /disks/disk1/nonhdfsstorage
/dev/sdc2                      8.1G  147M  7.9G   2% /disks/disk2/nonhdfsstorage
cm_processes                   3.9G  5.8M  3.9G   1% /var/run/cloudera-scm-agent/process
[hduser@node1 ~]$&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[hduser@node1 zookeeper]$ sudo -u hdfs hdfs dfsadmin -report
[sudo] password for hduser:
Configured Capacity: 47518140008 (44.25 GB)
Present Capacity: 47518140008 (44.25 GB)
DFS Remaining: 46728742571 (43.52 GB)
DFS Used: 789397437 (752.83 MB)
DFS Used%: 1.66%
Under replicated blocks: 385
Blocks with corrupt replicas: 0
Missing blocks: 0
Missing blocks (with replication factor 1): 0

-------------------------------------------------
Live datanodes (2):

Name: 192.168.52.111:50010 (node1.example.com)
Hostname: node1.example.com
Rack: /default
Decommission Status : Normal
Configured Capacity: 23759070004 (22.13 GB)
DFS Used: 394702781 (376.42 MB)
Non DFS Used: 0 (0 B)
DFS Remaining: 23364367223 (21.76 GB)
DFS Used%: 1.66%
DFS Remaining%: 98.34%
Configured Cache Capacity: 121634816 (116 MB)
Cache Used: 0 (0 B)
Cache Remaining: 121634816 (116 MB)
Cache Used%: 0.00%
Cache Remaining%: 100.00%
Xceivers: 2
Last contact: Sun May 15 18:15:33 IST 2016


Name: 192.168.52.112:50010 (node2.example.com)
Hostname: node2.example.com
Rack: /default
Decommission Status : Normal
Configured Capacity: 23759070004 (22.13 GB)
DFS Used: 394694656 (376.41 MB)
Non DFS Used: 0 (0 B)
DFS Remaining: 23364375348 (21.76 GB)
DFS Used%: 1.66%
DFS Remaining%: 98.34%
Configured Cache Capacity: 523239424 (499 MB)
Cache Used: 0 (0 B)
Cache Remaining: 523239424 (499 MB)
Cache Used%: 0.00%
Cache Remaining%: 100.00%
Xceivers: 2
Last contact: Sun May 15 18:15:32 IST 2016&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:19:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Configured-Capacity-quot-shows-less-size-than-the/m-p/40841#M28360</guid>
      <dc:creator>clouderazone</dc:creator>
      <dc:date>2022-09-16T10:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: "Configured Capacity" shows less size than the original disk capacity as per dfsadmin</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Configured-Capacity-quot-shows-less-size-than-the/m-p/40852#M28361</link>
      <description>&lt;P&gt;As per your df -h output, the sdb2 and sdc2 has size of 8GB each not 16G:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/dev/sdb2                      8.1G  147M  7.9G   2% /disks/disk1/nonhdfsstorage
/dev/sdc2                      8.1G  147M  7.9G   2% /disks/disk2/nonhdfsstorage&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2016 05:10:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Configured-Capacity-quot-shows-less-size-than-the/m-p/40852#M28361</guid>
      <dc:creator>vina</dc:creator>
      <dc:date>2016-05-16T05:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: "Configured Capacity" shows less size than the original disk capacity as per dfsadmin</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Configured-Capacity-quot-shows-less-size-than-the/m-p/40860#M28362</link>
      <description>&lt;P&gt;Hi Vina,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see from the output, sdb2 and sdc2 are allocated for nonhdfsstorgae (ex: intermediate data). sdb1 and sdc1 are the partition drives which are mounted for hdfs storage and they are of 16GB each as you can see in "df -h" output.&lt;/P&gt;&lt;PRE&gt;[hduser@node1 ~]$ df -h
Filesystem                     Size  Used Avail Use% Mounted on
/dev/sdb1                       16G  283M   15G   2% /disks/disk1/hdfsstorage/dfs
/dev/sdc1                       16G  428M   15G   3% /disks/disk2/hdfsstorage/dfs&lt;/PRE&gt;&lt;P&gt;Can you please help.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2016 09:45:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Configured-Capacity-quot-shows-less-size-than-the/m-p/40860#M28362</guid>
      <dc:creator>clouderazone</dc:creator>
      <dc:date>2016-05-16T09:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: "Configured Capacity" shows less size than the original disk capacity as per dfsadmin</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Configured-Capacity-quot-shows-less-size-than-the/m-p/40865#M28363</link>
      <description>&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/18477983/what-exactly-non-dfs-used-means" target="_blank"&gt;http://stackoverflow.com/questions/18477983/what-exactly-non-dfs-used-means&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2016 10:48:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Configured-Capacity-quot-shows-less-size-than-the/m-p/40865#M28363</guid>
      <dc:creator>vina</dc:creator>
      <dc:date>2016-05-16T10:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: "Configured Capacity" shows less size than the original disk capacity as per dfsadmin</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Configured-Capacity-quot-shows-less-size-than-the/m-p/41179#M28364</link>
      <description>&lt;P&gt;Yes the link was helpful.&amp;nbsp;&lt;BR /&gt;&lt;SPAN class="comment-copy"&gt;As per the property "dfs.datanode.du.reserved", it was configured to use 4.25 GB and hence I consider now that 4.25 GB is allocated for each data directory in a given node. Since I had two data directory partitions, the reserved space combined would be 8.5 GB per node and which brings the configured capacity on each node to be 23.5 GB (32GB - 8.5GB).&lt;BR /&gt;I arrived at the following formula === &amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="comment-copy"&gt;Configured Capacity = Total Disk Space allocated for Data Directories (dfs.data.dir) - Reserved Space for Non DFS Use (dfs.datanode.du.reserved)&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2016 14:47:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-Configured-Capacity-quot-shows-less-size-than-the/m-p/41179#M28364</guid>
      <dc:creator>clouderazone</dc:creator>
      <dc:date>2016-05-23T14:47:01Z</dc:date>
    </item>
  </channel>
</rss>

