Make more Space.
Hi all,
I have a red hat 5 and the partition "/" is going out of space this is an ext3. how can i add more space to it? thanks all |
Is it a logical volume? Post the output of df -h
|
No is an ext3.
Thanks |
If there is one particular directory that is large and growing, then copy that to a new disk, change the names as appropriate, mount the disk, and remove the old directory that you renamed.
Code:
fdisk /dev/sdc1 |
The partition is "/"
Regards |
This are my partitions
Filesystem Size Used Avail Use% Mounted on /dev/sda2 965M 844M 72M 93% / --------->i need to make this one bigger /dev/sda7 965M 624M 293M 69% /home /dev/sda5 4.8G 1.2G 3.4G 25% /var /dev/sda3 9.5G 2.6G 6.5G 29% /usr /dev/sda1 190M 16M 165M 9% /boot tmpfs 2.0G 0 2.0G 0% /dev/shm |
that IS a problem " 965M" should be about 9 gig
back up your data to dvd or a different drive and reformat that one my cent 5.2 is /boot 78 meg / 10 gig /home 5 gig /usr/opt ( data share with fedora 160 gig ) --- you DO NOT need a separate partition for " /var " and "/usr" |
Given the size of the hard drive, I'd put everything in "/"; i.e. only one partition.
|
if you have a space left you can make that your second / partition. . (i think) just copy all the files of your current / partition to the new one
|
You can only add more space to it by doing a reinstall of the system.
|
Quote:
|
but a reinstall and repartitioning is SO much faster and easier than trying to resize the existing partitions ON A RUNNING and working system .
and with resizing the partitions there is NO guaranty that the system will even be bootable afterwords . the reinstall and reformatting is by far the safest , once all the data is backed up to dvd or diff. hdd |
I was referring to moving "/" into "/usr" but keeping the other partitions. But, yes, the system is so misconfigured that a reinstall would be best.
|
Thanks all i will make a full reinstall.
Regards |
All times are GMT -5. The time now is 02:32 PM. |