Resize the /var directory in redhat enterprise edition 4
Posted
by Sri
on Stack Overflow
See other posts from Stack Overflow
or by Sri
Published on 2010-05-04T10:29:47Z
Indexed on
2010/05/04
10:48 UTC
Read the original article
Hit count: 258
I am running NDB mysql. the log files fills up the /var directory. therefore i cant start the ndbd service now. as a temporary fix, i have deleted the log files and again working fine. but again the log files fill up the /var directory.
i got plenty of space in other partition. therefore i would like to swap the partition from one directory to /var.
here if my input from df -h
Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 ext3 54G 2.9G 49G 6% / /dev/cciss/c0d0p1 ext3 99M 14M 81M 14% /boot none tmpfs 1013M 0 1013M 0% /dev/shm /dev/cciss/c0d0p2 ext3 9.7G 9.7G 0 100% /var
there are plenty of space in /dev/mapper/VolGroup00-LogVol00. Therefore i will like to swap 10 G space from this directory to /var.
could you please help me out to solve this problem?
© Stack Overflow or respective owner