I'm running CentOS 5.4 and my / is full. I wanted to install gparted but in order to do that I must install Priorities and it's when I get an error saying / is full so I can't go forward.
Here's some output:
fdisk -l
Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2611 20972826 83 Linux
/dev/sda2 2612 3251 5140800 82 Linux swap / Solaris
/dev/sda3 3252 30394 218026147+ 83 Linux
df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 20315812 19365152 0 100% /
/dev/sda3 211196248 49228164 151066780 25% /home
tmpfs 1552844 0 1552844 0% /dev/shm
I'm not using LVM. Please advise. Thanks
Can you use a bootable disc like RIP (rescue is possible) Linux and use gParted on that?
Make sure you have a decent backup of your data first. Never play with partition information on production systems with important data without known good backups unless you're ready to possibly lose data (although RIP linux discs also have testdisk to try retrieving data from damaged partitions if something does go wrong...)
move some database files /var/lib/mysql to your home partition. First stop the mysql service before doing that. Then enlarge the disk, and place the files back. That should work perfect. Done that many times.