/dev/root 100% full - How can I resize disks?

hellomotow

Member
Nov 19, 2011
8
0
51
cPanel Access Level
Root Administrator
/http://img21.imageshack.us/img21/6899/78313250.gif

From the screenshot above you can see that /dev/sda2 is 1.8 TB and /dev/root is only 20GB and full.

How would I be able to reduce /dev/sda2 to say 1.7TB and add the extra 100GB to /dev/root ?

I have been trying to find guides online but have had no success

Thanks
 

JayFromEpic

Well-Known Member
Apr 2, 2011
218
8
68
Scottsdale
cPanel Access Level
Root Administrator
Twitter
Hello,

In order to fix this, you need KVM / IPMI access in order to boot the server from rescue mode to make these changes. Now from what we talked about yesterday on MinkNet, when it comes to resizing the boot partition, many things can happen such as data loss.

Its impossible to extend the root partition at runtime. This is why we asked if you had access to KVM / IPMI with your current dedicated server provider. If not, we will have to try and find out an alternate way to correct the issue.
 

SB-Nick

Well-Known Member
Aug 26, 2008
175
9
68
cPanel Access Level
Root Administrator
Something is wrong there, 20GB on /var/named is really uncommon.

Have you searched through the directory and see whats consuming that amount of space?
 

JayFromEpic

Well-Known Member
Apr 2, 2011
218
8
68
Scottsdale
cPanel Access Level
Root Administrator
Twitter
The way his server was setup by his provider, the partitions were all mix matched. When we even looked at the /var/named directory, everything is right where it should be. The main issue at this point is changing his setup around without causing any data loss.

But we have made our suggestions to him so we can go from there.