Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2012
    United States

    Question How to Reclaim Drive Space?


    I just recently had a hard drive crash on a very small cPanel server. The hard drive was only 250gigs and upon replacement, it was replaced with a 1TB drive. Initially, the space was there. It wasn't until a BMR was run to restore the server that the free space reverted to what it was with the original drive.

    My question is, how do I get cPanel to see the new free space on the new drive so that it can be used by clients?

    Physical Disks
    sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
    sd 0:0:0:0: [sda] 4096-byte physical blocks
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    sd 0:0:0:0: [sda] Attached SCSI disk
    sd 0:0:0:0: Attached scsi generic sg0 type 0

    Current Memory Usage
    total used free shared buffers cached
    Mem: 8060492 7866256 194236 0 431512 5779736
    -/+ buffers/cache: 1655008 6405484
    Swap: 8217236 58128 8159108
    Total: 16277728 7924384 8353344

    Current Disk Usage
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda2 221G 78G 133G 37% /
    tmpfs 3.9G 0 3.9G 0% /dev/shm
    /dev/sda1 510M 98M 386M 21% /boot
    /usr/tmpDSK 2.1G 68M 1.9G 4% /tmp

  2. #2
    Join Date
    May 2006
    NJ, USA
    depending on how it was partitioned..

    you can do fdisk -l /dev/sda and see what kind of partitioning it has. if sda2 is the last partition, you can use fdisk to extend it, then run resize2fs to do an online grow of it.

    i would have a server admin do this for you though.
    simplywww: directadmin and cpanel hosting that will rock your socks
    Need some work done in a datacenter in the NYC area? NYC Remote Hands can do it.

    Follow my "deals" Twitter for hardware specials.. @dougysdeals

  3. #3
    Join Date
    Apr 2009
    From disk usage your root partition is /dev/sda2
    You need to resize the partition and run resize2fs.

    Some info maybe:

    Safest way of doing this is with a rescue disk.
    If you have a KVM over IP you can do it by yourself. - Managed dedicated servers, cloud servers and software development.

Similar Threads

  1. Reclaim unused space from thin provisioned VM of VMWare
    By maxihost in forum Hosting Security and Technology
    Replies: 0
    Last Post: 06-28-2010, 09:22 AM
  2. Are hosts too busy to reclaim server space?
    By HostYourIdea in forum Reseller Hosting
    Replies: 18
    Last Post: 11-11-2009, 03:43 AM
  3. Reclaim domainnames which are in redemption
    By lightningbit in forum Domain Names
    Replies: 12
    Last Post: 08-06-2006, 10:55 AM
  4. How do I reclaim a payment on Paypal?
    By myself1982 in forum Web Hosting Lounge
    Replies: 0
    Last Post: 12-28-2005, 03:00 PM
  5. How do I reclaim my domain from a speculator?
    By rjohnson in forum Domain Names
    Replies: 15
    Last Post: 04-26-2003, 10:51 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