hoseke

Member
Jan 4, 2012
17
2
53
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 ?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
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!
 
  • Like
Reactions: hoseke