The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by nwilkins83, Dec 11, 2013.

  1. nwilkins83

    nwilkins83 Member

    Joined:
    Sep 20, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    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
     
  2. nwilkins83

    nwilkins83 Member

    Joined:
    Sep 20, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    I have been able to resolve this by rebooting the virtual machine.

    Many Thanks
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Thank you for updating this thread with the outcome.
     
  4. nwilkins83

    nwilkins83 Member

    Joined:
    Sep 20, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    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
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page