Results 1 to 4 of 4

Thread: HDD Partition

  1. #1
    Join Date
    Aug 2007
    Location
    Oakham England
    Posts
    503

    HDD Partition

    Hi,

    One of my VPS server was running low on space so I upgraded the HDD via the hosting control panel and the VPS restarted however its still now showing the extra HDD space I added...

    This is what I get if I run: df -h

    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
    77G 71G 2.0G 98% /
    /dev/hda1 251M 86M 153M 36% /boot
    tmpfs 500M 0 500M 0% /dev/shm
    /usr/tmpDSK 549M 21M 501M 4% /tmp
    /dev/mapper/VolGroup00-LogVol00 is what needs making bigger I added another 80GB so should be 157GB... but its now..

    I am using WHM/cPanel and Cent OS6

    According to the hosting company I need to run a command to make the server find the new space?

    PS: Server is in use and has websites on it

    Dan
    Streama - Your WordPress Friend
    http://www.streama.co.uk

  2. #2
    Join Date
    May 2013
    Location
    India
    Posts
    747
    provide us the output of the following commands as well. probably your server requires lvsxtend / resize2fs

    fdisk -l
    pvs
    vgs
    lvs

  3. #3
    Join Date
    Aug 2007
    Location
    Oakham England
    Posts
    503
    fdisk -l
    Disk /dev/hda: 85.8 GB, 85899345920 bytes
    255 heads, 63 sectors/track, 10443 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 33 265041 83 Linux
    /dev/hda2 34 164 1052257+ 82 Linux swap / Solaris
    /dev/hda3 165 5221 40620352+ 8e Linux LVM

    Disk /dev/sda: 85.8 GB, 85899345920 bytes
    16 heads, 63 sectors/track, 166440 cylinders
    Units = cylinders of 1008 * 512 = 516096 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 1 83220 41942272+ 8e Linux LVM


    pvs
    PV VG Fmt Attr PSize PFree
    /dev/hda3 VolGroup00 lvm2 a-- 38.72G 0
    /dev/sda1 VolGroup00 lvm2 a-- 39.97G 0


    vgs
    VG #PV #LV #SN Attr VSize VFree
    VolGroup00 2 1 0 wz--n- 78.69G 0



    lvs
    LV VG Attr LSize Origin Snap% Move Log Copy% Convert
    LogVol00 VolGroup00 -wi-ao 78.69G


    Thanks
    Streama - Your WordPress Friend
    http://www.streama.co.uk

  4. #4
    Join Date
    Aug 2007
    Location
    Oakham England
    Posts
    503
    Can I run...

    lvresize -L +80GB /dev/mapper/VolGroup00-LogVol00


    And it will add the remaining 80GB and NOT format the drive?

    Dan
    Streama - Your WordPress Friend
    http://www.streama.co.uk

Similar Threads

  1. creating partition in already used hdd?
    By Maikon in forum Hosting Security and Technology
    Replies: 4
    Last Post: 07-08-2013, 05:03 AM
  2. partition HDD
    By Sanyh in forum Game Servers
    Replies: 1
    Last Post: 03-07-2013, 01:39 PM
  3. hdd partition
    By RealiX in forum Computers and Peripherals
    Replies: 4
    Last Post: 06-25-2012, 03:15 AM
  4. CentOS5 - HDD Partition
    By loveweb in forum Dedicated Server
    Replies: 10
    Last Post: 05-17-2008, 01:43 PM
  5. HDD Partition
    By sarkar in forum Hosting Software and Control Panels
    Replies: 0
    Last Post: 03-24-2007, 07:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •