Increasing hard disk space on a Linux server within a Hyper-V enviroment.

nwilkins83

Member
Sep 20, 2013
13
0
1
cPanel Access Level
Root Administrator
Hello All,

I have a Windows 2008 Datacenter edition server which is running a Linux Centos Virtual machine on which I have cPanel installed.

I had originally set this to have 91GB of space... I am now looking to import some customers so I have added another 100GB of space.

I have gone into 'cfdisk' and created a Logical volume changinge its type to 'Linux LVM' it has been given the name 'sda5' which I
have also written the partion table to disk.

Now when I go to increase the LVM logical volume size using 'pvcreate /dev/sda5' I get the following error: Device /dev/sda5 not found (or ignored by filtering).

Can you advise what could be causing that please...

Many Thanks
 

nwilkins83

Member
Sep 20, 2013
13
0
1
cPanel Access Level
Root Administrator
Hello,

Not a problem. I do have another query around this...

Linux.jpg

Please see attached my current file system (after adding more space and assigning it to /home).

As mentioned above this is a Linux virtual machine where I have cPanel installed... I notice the root has 41G available can I take 30G of this and add it to my /home easily enough? If so what are the steps I need to take and the commands?
As you may have guessed I am a windows user but keen to learn Linux.

any help gratefully received.

Many Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
The method to rearrange space between partitions depends on the specific Virtualization software you are using. I recommend consulting with their documentation or their support team to determine the best way to make this change. It's not an action that can be performed through cPanel.

Thank you.