var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
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?
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
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.
: 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
From disk usage your root partition is /dev/sda2
You need to resize the partition and run resize2fs.
Some info maybe: http://askubuntu.com/questions/11531...ext4-partition
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.
By maxihost in forum Hosting Security and Technology
Last Post: 06-28-2010, 09:22 AM
By HostYourIdea in forum Reseller Hosting
Last Post: 11-11-2009, 03:43 AM
By lightningbit in forum Domain Names
Last Post: 08-06-2006, 10:55 AM
By myself1982 in forum Web Hosting Lounge
Last Post: 12-28-2005, 03:00 PM
By rjohnson in forum Domain Names
Last Post: 04-26-2003, 10:51 PM
Tags for this Thread