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

    Attempting to increase the size of a Linux LVM Disk

    Scheduled Pinned Locked Moved IT Discussion
    40 Posts 5 Posters 2.3k Views
    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.
    • wirestyle22W
      wirestyle22 @scottalanmiller
      last edited by

      @scottalanmiller said in Attempting to increase the size of a Linux LVM Disk:

      I edited while you were typing. I read the wrong field. But it is still too small. The FS must be smaller than the container holding it.

      How much smaller? even 3.86 kicks back the same error

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

        @wirestyle22 said in Attempting to increase the size of a Linux LVM Disk:

        @scottalanmiller said in Attempting to increase the size of a Linux LVM Disk:

        I edited while you were typing. I read the wrong field. But it is still too small. The FS must be smaller than the container holding it.

        How much smaller? even 3.86 kicks back the same error

        Try something like 3.4TB. Remember FS overhead.

        wirestyle22W 1 Reply Last reply Reply Quote 0
        • wirestyle22W
          wirestyle22 @scottalanmiller
          last edited by

          @scottalanmiller said in Attempting to increase the size of a Linux LVM Disk:

          @wirestyle22 said in Attempting to increase the size of a Linux LVM Disk:

          @scottalanmiller said in Attempting to increase the size of a Linux LVM Disk:

          I edited while you were typing. I read the wrong field. But it is still too small. The FS must be smaller than the container holding it.

          How much smaller? even 3.86 kicks back the same error

          Try something like 3.4TB. Remember FS overhead.

          0_1490315027487_etc.JPG

          1 Reply Last reply Reply Quote 0
          • wirestyle22W
            wirestyle22
            last edited by

            Does the + reflect the entire size or just the amount of growth?

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

              -D goes to total. Do the command instead with the -d option and no number...

              xfs_growfs /dev/mapper/centos-root -d
              
              wirestyle22W 1 Reply Last reply Reply Quote 2
              • wirestyle22W
                wirestyle22 @scottalanmiller
                last edited by

                @scottalanmiller said in Attempting to increase the size of a Linux LVM Disk:

                -D goes to total. Do the command instead with the -d option and no number...

                xfs_growfs /dev/mapper/centos-root -d
                

                I can't believe a capital D caused all of this

                /wrists

                Thanks Scott

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

                  @wirestyle22 said in Attempting to increase the size of a Linux LVM Disk:

                  @scottalanmiller said in Attempting to increase the size of a Linux LVM Disk:

                  -D goes to total. Do the command instead with the -d option and no number...

                  xfs_growfs /dev/mapper/centos-root -d
                  

                  I can't believe a capital D caused all of this

                  /wrists

                  Thanks Scott

                  Well, the capital D made us have to know the size. The lower case d calculated it for us. The upper case one would have been fine had the number we gave been the right one. But that's just a pain.

                  wirestyle22W 1 Reply Last reply Reply Quote 1
                  • wirestyle22W
                    wirestyle22 @scottalanmiller
                    last edited by wirestyle22

                    @scottalanmiller said in Attempting to increase the size of a Linux LVM Disk:

                    @wirestyle22 said in Attempting to increase the size of a Linux LVM Disk:

                    @scottalanmiller said in Attempting to increase the size of a Linux LVM Disk:

                    -D goes to total. Do the command instead with the -d option and no number...

                    xfs_growfs /dev/mapper/centos-root -d
                    

                    I can't believe a capital D caused all of this

                    /wrists

                    Thanks Scott

                    Well, the capital D made us have to know the size. The lower case d calculated it for us. The upper case one would have been fine had the number we gave been the right one. But that's just a pain.

                    I'm unsure why it was considered wrong. I tried a much much smaller size and it didnt work either

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

                      @wirestyle22 said in Attempting to increase the size of a Linux LVM Disk:

                      @scottalanmiller said in Attempting to increase the size of a Linux LVM Disk:

                      @wirestyle22 said in Attempting to increase the size of a Linux LVM Disk:

                      @scottalanmiller said in Attempting to increase the size of a Linux LVM Disk:

                      -D goes to total. Do the command instead with the -d option and no number...

                      xfs_growfs /dev/mapper/centos-root -d
                      

                      I can't believe a capital D caused all of this

                      /wrists

                      Thanks Scott

                      Well, the capital D made us have to know the size. The lower case d calculated it for us. The upper case one would have been fine had the number we gave been the right one. But that's just a pain.

                      I'm unsure why it was considered wrong. I tried a much much smaller size and it didnt work either

                      How small did you try it?

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

                        How big did it make in the end?

                        1 Reply Last reply Reply Quote 0
                        • wirestyle22W
                          wirestyle22
                          last edited by

                          3.9TB

                          1 Reply Last reply Reply Quote 0
                          • stacksofplatesS
                            stacksofplates
                            last edited by

                            Oh I thought you were specifying a size on purpose. You can just use the -r flag with lvextend to automatically grow the file system.

                            1 Reply Last reply Reply Quote 0
                            • wirestyle22W
                              wirestyle22
                              last edited by

                              Nah, I'm doing this just as a learning experience. I used my Plex server as a test dummy. Thanks for the help everybody

                              1 Reply Last reply Reply Quote 1
                              • wirestyle22W
                                wirestyle22
                                last edited by

                                The funny thing is most of the servers I've created never go over the 2TB cap so I've never had to do this

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