ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Expanding /root on CentOS7

    IT Discussion
    3
    6
    663
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Alex Sage
      last edited by

      How do I expand /root on CentOS7?

      Filesystem           Size  Used Avail Use% Mounted on
      /dev/mapper/cl-root   50G   44G  6.9G  87% /
      devtmpfs             3.9G     0  3.9G   0% /dev
      tmpfs                3.9G     0  3.9G   0% /dev/shm
      tmpfs                3.9G  8.5M  3.9G   1% /run
      tmpfs                3.9G     0  3.9G   0% /sys/fs/cgroup
      /dev/sda1           1014M  139M  876M  14% /boot
      /dev/mapper/cl-home  447G   33M  447G   1% /home
      tmpfs                783M     0  783M   0% /run/user/0
      
      1 Reply Last reply Reply Quote 1
      • DustinB3403D
        DustinB3403
        last edited by

        https://geekpeek.net/increase-root-partition-size-lvm-centos/

        A 1 Reply Last reply Reply Quote 0
        • A
          Alex Sage @DustinB3403
          last edited by

          @DustinB3403 Anyway to do this keeping it all on one drive? I can add space to the end of the drive very easily.

          1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403
            last edited by

            There may be a way to do so, that was the top google result for this query.

            Here is another topic marked as solved.. Which he backs up the partitions, removes them, adds them back and finally expands the partition.

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              There are multiple ways. You have to expand each piece. Start with growing the disk. Then grow the volume. Then grow the file system.

              1 Reply Last reply Reply Quote 0
              • A
                Alex Sage
                last edited by

                I ended up using this guide:

                https://www.rootusers.com/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk/

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post