<div dir="ltr">Vamsi,<div><br></div><div>I have run into this same issue and have a brief (and rough) guide if you wish to try it out.</div><div><br></div><div>First, run "df -h" and see what your current "/" partition size is. I think with the default image, it's somewhere around 1.8GB.</div><div><br></div><div>Next, you should be able to run "growpart /dev/mmcblkx n" where x likely refers to mmcblk0 and n is the partition number, it should be 3. This will grow your 3rd partition to the maximum available size, but I believe you should be able to specify your 6GB size.</div><div><br></div><div>Once that is complete, run "e2fsck /dev/mmcblk0p3" to verify filesystem integrity and then "resize2fs /dev/mmcblk0p3" to expand the ext4 partition. </div><div><br></div><div>If you run "df -h" after this, you should be able to see your now larger "/" partition.</div><div><br></div><div>Let me know if you have any issues with this. I've been looking for a reason to organize my thoughts on this.</div><div><br></div><div>Thanks!</div><div><br></div><div>Chris</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 31, 2018 at 10:10 AM, Pablo Sebastián Greco <span dir="ltr"><<a href="mailto:pablo@fliagreco.com.ar" target="_blank">pablo@fliagreco.com.ar</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p><font size="-1"><font face="Courier New, Courier, monospace">There
          is a script called rootfs-expand which should do exactly that.<br>
          Please let us know who it went.<br>
          <br>
          Pablo.<br>
        </font></font><br>
    </p>
    <div class="m_6599610164970319072moz-cite-prefix">El 31/7/18 a las 10:55, vamsi krishna
      escribió:<br>
    </div>
    <blockquote type="cite"><div><div class="h5">
      
      <div dir="ltr">Hi Team,
        <div><br>
        </div>
        <div>Being new to the Linux world, I have installed Centos for R
          Pi3 on a 16gb microSD card, and partitions are done by
          default, leaving less space for root file system. Here is what
          I get.</div>
        <div><br>
        </div>
        <div>This is the second time I am running into this issue.</div>
        <div><br>
        </div>
        <div>Can anyone help me with the steps to increase the size for
          /dev/root to 6G please.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>
          <div>Operating System: CentOS Linux 7 (Core)</div>
          <div>       CPE OS Name: cpe:/o:centos:centos:7</div>
          <div>            Kernel: Linux 4.14.27-v7.1.el7</div>
          <div>      Architecture: arm</div>
        </div>
        <div><br>
        </div>
        <div>[root@rpi ~]# df -h<br>
        </div>
        <div>
          <div>Filesystem      Size  Used Avail Use% Mounted on</div>
          <div>/dev/root       1.4G  999M  347M  75% /</div>
          <div>devtmpfs        460M     0  460M   0% /dev</div>
          <div>tmpfs           464M     0  464M   0% /dev/shm</div>
          <div>tmpfs           464M   12M  452M   3% /run</div>
          <div>tmpfs           464M     0  464M   0% /sys/fs/cgroup</div>
          <div>/dev/mmcblk0p1  667M   43M  625M   7% /boot</div>
          <div>tmpfs            93M     0   93M   0% /run/user/0</div>
        </div>
        <div><br>
        </div>
        <div>
          <div>Any help is highly appreciated.</div>
          -- <br>
          <div class="m_6599610164970319072gmail_signature">
            <div><font face="verdana,sans-serif">Have a nice day.<br>
                <br>
                Thanks and regards,<br>
              </font><font size="4" face="comic sans ms,sans-serif">Vamsi,</font></div>
            <div><font face="verdana,sans-serif">Skype @ kvamsi.k143<br>
                +91-9704433304.</font></div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="m_6599610164970319072mimeAttachmentHeader"></fieldset>
      </div></div><pre class="m_6599610164970319072moz-quote-pre">______________________________<wbr>_________________
Arm-dev mailing list
<a class="m_6599610164970319072moz-txt-link-abbreviated" href="mailto:Arm-dev@centos.org" target="_blank">Arm-dev@centos.org</a>
<a class="m_6599610164970319072moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/arm-dev" target="_blank">https://lists.centos.org/<wbr>mailman/listinfo/arm-dev</a>
</pre>
    </blockquote>
  </div>

<br>______________________________<wbr>_________________<br>
Arm-dev mailing list<br>
<a href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a><br>
<a href="https://lists.centos.org/mailman/listinfo/arm-dev" rel="noreferrer" target="_blank">https://lists.centos.org/<wbr>mailman/listinfo/arm-dev</a><br>
<br></blockquote></div><br></div>