<?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 Releasing storage space from host in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Releasing-storage-space-from-host/m-p/137913#M27672</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working with a 3 node cluster with t2.large machines on AWS.&lt;/P&gt;&lt;P&gt;One of those hosts has reached 100% storage capacity. &lt;/P&gt;&lt;P&gt;Capacity Used: [100.00%, 10.7 GB], Capacity Total: [10.7 GB], path=/usr/hdp&lt;/P&gt;&lt;P&gt;What are the best practices to release some storage space from this hots? Deleting unnecessary services? &lt;/P&gt;&lt;P&gt;Thanks-&lt;/P&gt;&lt;P&gt;Wellington&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:17:59 GMT</pubDate>
    <dc:creator>junnnninho</dc:creator>
    <dc:date>2022-09-16T10:17:59Z</dc:date>
    <item>
      <title>Releasing storage space from host</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Releasing-storage-space-from-host/m-p/137913#M27672</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working with a 3 node cluster with t2.large machines on AWS.&lt;/P&gt;&lt;P&gt;One of those hosts has reached 100% storage capacity. &lt;/P&gt;&lt;P&gt;Capacity Used: [100.00%, 10.7 GB], Capacity Total: [10.7 GB], path=/usr/hdp&lt;/P&gt;&lt;P&gt;What are the best practices to release some storage space from this hots? Deleting unnecessary services? &lt;/P&gt;&lt;P&gt;Thanks-&lt;/P&gt;&lt;P&gt;Wellington&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:17:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Releasing-storage-space-from-host/m-p/137913#M27672</guid>
      <dc:creator>junnnninho</dc:creator>
      <dc:date>2022-09-16T10:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Releasing storage space from host</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Releasing-storage-space-from-host/m-p/137914#M27673</link>
      <description>&lt;P style="margin-left: 20px;"&gt;&lt;A rel="user" href="https://community.cloudera.com/users/4380/junnnninho.html" nodeid="4380"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/4380/junnnninho.html" nodeid="4380"&gt;@Wellington  De Oliveira&lt;/A&gt; in this case, standard linux practices apply, first of all find out what is consuming all the space, I'm guessing that you mean the OS root partition is full?&lt;/P&gt;&lt;P&gt;In which case it's probably logs that have filled up /var/log&lt;/P&gt;&lt;P&gt;Use a combination of:&lt;/P&gt;&lt;PRE&gt;df -h&lt;/PRE&gt;&lt;P&gt;and&lt;/P&gt;&lt;PRE&gt;du -h --max-depth=1 /path/of/interest&lt;/PRE&gt;&lt;P&gt;(where /path/of/interest is where you're investigating the space consumption.&lt;/P&gt;&lt;P&gt;Of course if you are talking about HDFS being full on one node, that's something else, let me know if that's the case.&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 04:20:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Releasing-storage-space-from-host/m-p/137914#M27673</guid>
      <dc:creator>drussell</dc:creator>
      <dc:date>2016-05-09T04:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Releasing storage space from host</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Releasing-storage-space-from-host/m-p/137915#M27674</link>
      <description>&lt;P&gt;Thanks. &lt;/P&gt;&lt;P&gt;I did some investigation and here below is what I found out. &lt;/P&gt;&lt;P&gt;Is there some standard practices for releasing space like removing content that might be no so relevant? In the last command below I noticed that var/logs and var/cache sums up to almost 1GB. Are these folder that I could empty without affecting services?&lt;/P&gt;&lt;P&gt;[root@ip-172-31-34-25 /]# df -h&lt;/P&gt;&lt;P&gt;Sist. Arq.      Tam. Usado Disp. Uso% Montado em&lt;/P&gt;&lt;P&gt;/dev/xvda2       10G   10G  9,2M 100% /&lt;/P&gt;&lt;P&gt;devtmpfs        3,9G     0  3,9G   0% /dev&lt;/P&gt;&lt;P&gt;tmpfs           3,7G     0  3,7G   0% /dev/shm&lt;/P&gt;&lt;P&gt;tmpfs           3,7G   17M  3,7G   1% /run&lt;/P&gt;&lt;P&gt;tmpfs           3,7G     0  3,7G   0% /sys/fs/cgroup&lt;/P&gt;&lt;P&gt;tmpfs           757M     0  757M   0% /run/user/1000&lt;/P&gt;&lt;P&gt;Then :&lt;/P&gt;&lt;P&gt;[root@ip-172-31-34-25 /]# du -h --max-depth=1 /&lt;/P&gt;&lt;P&gt;0/dev&lt;/P&gt;&lt;P&gt;du: não é possível acessar “/proc/2284/task/2284/fd/4”: Arquivo ou diretório não encontrado&lt;/P&gt;&lt;P&gt;du: não é possível acessar “/proc/2284/task/2284/fdinfo/4”: Arquivo ou diretório não encontrado&lt;/P&gt;&lt;P&gt;du: não é possível acessar “/proc/2284/fd/4”: Arquivo ou diretório não encontrado&lt;/P&gt;&lt;P&gt;du: não é possível acessar “/proc/2284/fdinfo/4”: Arquivo ou diretório não encontrado&lt;/P&gt;&lt;P&gt;0/proc&lt;/P&gt;&lt;P&gt;17M/run&lt;/P&gt;&lt;P&gt;0/sys&lt;/P&gt;&lt;P&gt;24M/etc&lt;/P&gt;&lt;P&gt;199M/root&lt;/P&gt;&lt;P&gt;2,4M/tmp&lt;/P&gt;&lt;P&gt;2,8G/var&lt;/P&gt;&lt;P&gt;4,9G/usr&lt;/P&gt;&lt;P&gt;115M/boot&lt;/P&gt;&lt;P&gt;75M/home&lt;/P&gt;&lt;P&gt;0/media&lt;/P&gt;&lt;P&gt;0/mnt&lt;/P&gt;&lt;P&gt;9,8M/opt&lt;/P&gt;&lt;P&gt;0/srv&lt;/P&gt;&lt;P&gt;0/data&lt;/P&gt;&lt;P&gt;0/cgroups_test&lt;/P&gt;&lt;P&gt;1,9G/hadoop&lt;/P&gt;&lt;P&gt;10G/&lt;/P&gt;&lt;P&gt;and going into more detail into var:&lt;/P&gt;&lt;P&gt;[root@ip-172-31-34-25 /]# du -h --max-depth=1 /var/&lt;/P&gt;&lt;P&gt;1,6G/var/lib&lt;/P&gt;&lt;P&gt;1009M/var/log&lt;/P&gt;&lt;P&gt;0/var/adm&lt;/P&gt;&lt;P&gt;246M/var/cache&lt;/P&gt;&lt;P&gt;8,0K/var/db&lt;/P&gt;&lt;P&gt;0/var/empty&lt;/P&gt;&lt;P&gt;0/var/games&lt;/P&gt;&lt;P&gt;0/var/gopher&lt;/P&gt;&lt;P&gt;0/var/local&lt;/P&gt;&lt;P&gt;0/var/nis&lt;/P&gt;&lt;P&gt;0/var/opt&lt;/P&gt;&lt;P&gt;0/var/preserve&lt;/P&gt;&lt;P&gt;28K/var/spool&lt;/P&gt;&lt;P&gt;48K/var/tmp&lt;/P&gt;&lt;P&gt;0/var/yp&lt;/P&gt;&lt;P&gt;0/var/kerberos&lt;/P&gt;&lt;P&gt;0/var/crash&lt;/P&gt;&lt;P&gt;2,8G/var/&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Wellington &lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 05:34:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Releasing-storage-space-from-host/m-p/137915#M27674</guid>
      <dc:creator>junnnninho</dc:creator>
      <dc:date>2016-05-09T05:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Releasing storage space from host</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Releasing-storage-space-from-host/m-p/137916#M27675</link>
      <description>&lt;P&gt;So I'd start looking at what log files are consuming space in /var/log remove some of the older ones that have rolled over etc should be pretty safe.&lt;/P&gt;&lt;P&gt;4.9GB in /usr seems a bit large too, maybe investigate what's consuming such a large percentage of your space in there too.&lt;/P&gt;&lt;P&gt;As usual, remove any unneeded packages at the O/S level of course.&lt;/P&gt;&lt;P&gt;10GB is honestly a bit small for a root partition, might want to bump that up a bit, or at least spinning up some extra storage to mount as /var and /usr to give yourself a bit more space.&lt;/P&gt;&lt;P&gt;Hadoop is very good at generating logs, so it's very easy to fill up a root partition if you're not careful and don't have it split off elsewhere.&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 01:21:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Releasing-storage-space-from-host/m-p/137916#M27675</guid>
      <dc:creator>drussell</dc:creator>
      <dc:date>2016-05-10T01:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Releasing storage space from host</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Releasing-storage-space-from-host/m-p/137917#M27676</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Do you happen to know a easy way to add additional storage to those partition (its is hosted on the AWS) without compromising my current installation (3 node cluster running on t2. large).&lt;/P&gt;&lt;P&gt;Thanks-&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 09:46:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Releasing-storage-space-from-host/m-p/137917#M27676</guid>
      <dc:creator>junnnninho</dc:creator>
      <dc:date>2016-05-11T09:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Releasing storage space from host</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Releasing-storage-space-from-host/m-p/137918#M27677</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In order to find the adequate space in any directory during installation or upgrade procedures, for example while doing HDP upgrade you should verify about the availability of adequate space on /usr/hdp for the target HDP version.&lt;/P&gt;&lt;P&gt;For that use below format: &lt;/P&gt;&lt;P&gt;df -h &amp;lt;Path_of_interest&amp;gt;&lt;/P&gt;&lt;P&gt;Example : &lt;/P&gt;&lt;P&gt;[alex@machine1]# df -h /usr/hdp/&lt;BR /&gt;Filesystem                         Size   Used  Avail   Use%   Mounted on&lt;BR /&gt;/dev/mapper/system-root  528G   22G    506G     5%             /&lt;BR /&gt;[alex@machine1]# &lt;/P&gt;&lt;P&gt;You can all parameters like Size of disk, used space, available spave and percentage of usage.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 18:01:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Releasing-storage-space-from-host/m-p/137918#M27677</guid>
      <dc:creator>prashanthshetty</dc:creator>
      <dc:date>2019-01-22T18:01:12Z</dc:date>
    </item>
  </channel>
</rss>

