Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Increase partition size?

Discussion in 'Workarounds and Optimization' started by hoseke, Nov 10, 2018.

  1. hoseke

    hoseke Member

    Joined:
    Jan 4, 2012
    Messages:
    13
    Likes Received:
    1
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm trying to free up some space for partition from /dev/md2 to /dev/md3
    Just to make sure i got it right, using: lvresize

    lvresize --size -80G /dev/md3
    lvresize --size +80G /dev/md2

    and i believe i should first Shrink A Logical Volume, its already has data:

    lvresize --resizefs --size 500G /dev/md2
    lvresize --resizefs --size -80GB /dev/md3

    What do you think ? is this the correct approach ?
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,716
    Likes Received:
    436
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @hoseke

    I would strongly urge you to take these questions to your provider who is best suited to answer them. This is an extremely sensitive subject primarily because it deals with your data and so many variables could lead to something going catastrophically wrong.

    The man page for lv4resize might be good lvresize(8): resize logical volume - Linux man page there are also a large number of guides that can be found doing a quick google search. Ultimately though if your provider is unable to assist you I would recommend enlisting the assistance of a qualified system administrator. If you don't have one you might find one here: System Administration Services | cPanel Forums


    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    hoseke likes this.
  3. hoseke

    hoseke Member

    Joined:
    Jan 4, 2012
    Messages:
    13
    Likes Received:
    1
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    cPanelLauren likes this.
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,716
    Likes Received:
    436
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @hoseke

    I'm really glad to hear that, let us know how it works out for you!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice