<?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: I have assigned 800 gb on all my instance when create. however, I only can see root / have 10gb, but df -h never see it. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-have-assigned-800-gb-on-all-my-instance-when-create/m-p/202134#M62567</link>
    <description>&lt;P&gt;I guess you are using some type of cloud instance? Normally the images used for provision of these instances are based on small partitions for root even if you specifically requested a 800G disk.&lt;/P&gt;&lt;P&gt;Fortunately these are using LVM disk partitions.&lt;/P&gt;&lt;P&gt;The command lsblk will show you what "physical" disks you have:&lt;/P&gt;&lt;PRE&gt; lsblk
NAME            MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda               8:0    0 931.5G  0 disk
├─sda1            8:1    0     4G  0 part
│ └─md1           9:1    0     4G  0 raid1 /
├─sda2            8:2    0     2G  0 part  [SWAP]
└─sda3            8:3    0 925.5G  0 part
  └─md3           9:3    0 925.5G  0 raid1
    ├─vg00-usr  252:0    0     5G  0 lvm   /usr
    ├─vg00-var  252:1    0   105G  0 lvm   /var
    └─vg00-home 252:2    0   165G  0 lvm   /home
sdb               8:16   0 931.5G  0 disk
├─sdb1            8:17   0     4G  0 part
│ └─md1           9:1    0     4G  0 raid1 /
├─sdb2            8:18   0     2G  0 part  [SWAP]
└─sdb3            8:19   0 925.5G  0 part
  └─md3           9:3    0 925.5G  0 raid1
    ├─vg00-usr  252:0    0     5G  0 lvm   /usr
    ├─vg00-var  252:1    0   105G  0 lvm   /var
    └─vg00-home 252:2    0   165G  0 lvm   /home
&lt;/PRE&gt;&lt;P&gt;lvscan will show logical volumes and the sizes they are.&lt;/P&gt;&lt;PRE&gt;# lvscan 
ACTIVE '/dev/vg00/usr' [5.00 GiB] inherit 
ACTIVE '/dev/vg00/var' [105.00 GiB] inherit 
ACTIVE '/dev/vg00/home' [165.00 GiB] inherit
&lt;/PRE&gt;&lt;P&gt;In HDP the two directories you should assign space to are /usr and /var and if they are already defined as an LVM partition you can resize with the resize2fs command.&lt;/P&gt;&lt;PRE&gt;sudo resize2fs /dev/vg00/usr&lt;/PRE&gt;</description>
    <pubDate>Thu, 08 Jun 2017 22:01:23 GMT</pubDate>
    <dc:creator>cdraper</dc:creator>
    <dc:date>2017-06-08T22:01:23Z</dc:date>
    <item>
      <title>I have assigned 800 gb on all my instance when create. however, I only can see root / have 10gb, but df -h never see it.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-have-assigned-800-gb-on-all-my-instance-when-create/m-p/202133#M62566</link>
      <description>&lt;P&gt;Please refer to my attached snapshot for df -h. there is nothing 800gb. do I need to mkfs /dev/xvdb and mkdir /mydir and mount /dev/xvdb to /mydir and may have to change fstab at end.&lt;/P&gt;&lt;P&gt;any easy way to deal with ambari-server disk issues?&lt;/P&gt;&lt;P&gt;Please help. thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 12:00:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-have-assigned-800-gb-on-all-my-instance-when-create/m-p/202133#M62566</guid>
      <dc:creator>robi</dc:creator>
      <dc:date>2017-06-08T12:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: I have assigned 800 gb on all my instance when create. however, I only can see root / have 10gb, but df -h never see it.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-have-assigned-800-gb-on-all-my-instance-when-create/m-p/202134#M62567</link>
      <description>&lt;P&gt;I guess you are using some type of cloud instance? Normally the images used for provision of these instances are based on small partitions for root even if you specifically requested a 800G disk.&lt;/P&gt;&lt;P&gt;Fortunately these are using LVM disk partitions.&lt;/P&gt;&lt;P&gt;The command lsblk will show you what "physical" disks you have:&lt;/P&gt;&lt;PRE&gt; lsblk
NAME            MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda               8:0    0 931.5G  0 disk
├─sda1            8:1    0     4G  0 part
│ └─md1           9:1    0     4G  0 raid1 /
├─sda2            8:2    0     2G  0 part  [SWAP]
└─sda3            8:3    0 925.5G  0 part
  └─md3           9:3    0 925.5G  0 raid1
    ├─vg00-usr  252:0    0     5G  0 lvm   /usr
    ├─vg00-var  252:1    0   105G  0 lvm   /var
    └─vg00-home 252:2    0   165G  0 lvm   /home
sdb               8:16   0 931.5G  0 disk
├─sdb1            8:17   0     4G  0 part
│ └─md1           9:1    0     4G  0 raid1 /
├─sdb2            8:18   0     2G  0 part  [SWAP]
└─sdb3            8:19   0 925.5G  0 part
  └─md3           9:3    0 925.5G  0 raid1
    ├─vg00-usr  252:0    0     5G  0 lvm   /usr
    ├─vg00-var  252:1    0   105G  0 lvm   /var
    └─vg00-home 252:2    0   165G  0 lvm   /home
&lt;/PRE&gt;&lt;P&gt;lvscan will show logical volumes and the sizes they are.&lt;/P&gt;&lt;PRE&gt;# lvscan 
ACTIVE '/dev/vg00/usr' [5.00 GiB] inherit 
ACTIVE '/dev/vg00/var' [105.00 GiB] inherit 
ACTIVE '/dev/vg00/home' [165.00 GiB] inherit
&lt;/PRE&gt;&lt;P&gt;In HDP the two directories you should assign space to are /usr and /var and if they are already defined as an LVM partition you can resize with the resize2fs command.&lt;/P&gt;&lt;PRE&gt;sudo resize2fs /dev/vg00/usr&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Jun 2017 22:01:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-have-assigned-800-gb-on-all-my-instance-when-create/m-p/202134#M62567</guid>
      <dc:creator>cdraper</dc:creator>
      <dc:date>2017-06-08T22:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: I have assigned 800 gb on all my instance when create. however, I only can see root / have 10gb, but df -h never see it.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-have-assigned-800-gb-on-all-my-instance-when-create/m-p/202135#M62568</link>
      <description>&lt;P&gt;thank you so much. even I need more time to digest it, I can tell this is what I need to know. thank you for spending time to help.&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 09:18:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-have-assigned-800-gb-on-all-my-instance-when-create/m-p/202135#M62568</guid>
      <dc:creator>robi</dc:creator>
      <dc:date>2017-06-09T09:18:24Z</dc:date>
    </item>
  </channel>
</rss>

