May 04, 2024, 02:23:52 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: How to change quota for /var  (Read 3204 times)

Offline izmir

  • New Member
  • Posts: 1
How to change quota for /var
« 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

Offline sunny_kotaru

  • Linux Noob !
  • *
  • Posts: 14
How to change quota for /var
« Reply #1 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