Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: izmir on July 03, 2004, 09:45:07 PM

Title: How to change quota for /var
Post by: izmir on July 03, 2004, 09:45:07 PM
I have Fedora installed on my dedicated server. /var partition has run out of space, because the amount of disk space assigned to it is very little. How can I increase the disk quota for "/var" ?

The result of df;

-------------------------------------------------------------------
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1               497829    113112    359015  24% /
/dev/hda6            114191268    879100 107511500   1% /data
none                    451592         0    451592   0% /dev/shm
/dev/hda2              2522076   1515876    878084  64% /usr
/dev/hda3              1004052    898880     54168  95% /var
-------------------------------------------------------------------

Thank you
Title: How to change quota for /var
Post by: sunny_kotaru on July 05, 2004, 11:06:36 AM
you are having a couple of options

1) delete the unnecessary log files form var partation ( var is the partation, which holds the log messages generated my most of the system services)

2) if you want to automate the process of deleting the old log files, use the logrotate tool, which is availabel under linux.

3) if you want to add space to existing var partation, check the following options first

a) if you partationed teh var as a separate partation, then you can use the LVM ( Logical Volume Manager). it is similar to volume mamagment softwares available under windows 2000. it is like adding multipul volumes to make a chian. but you need to add extra hard disk or use any existign empty volumes.

Cheers