[opensuse] Way to limit directory size on SUSE 9.1?
I'm using SLES9 which is based on SUSE 9.1, and I was curious if there was a way I could limit the growth of a directory. I currently have a separate /var partition in case it grows too big, and I was thinking if I could just limit it's size, I could keep /var on the / partition. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 9/28/07, Xn Nooby <xnooby@gmail.com> wrote:
I'm using SLES9 which is based on SUSE 9.1, and I was curious if there was a way I could limit the growth of a directory. I currently have a separate /var partition in case it grows too big, and I was thinking if I could just limit it's size, I could keep /var on the / partition.
What I usually do is to create lvm volumes for such a partitions, leaving some free space on the volume group, so if I need to, I can easily extend it. It is much more flexible than creating partitions. Cheers -- Svetoslav Milenov (Sunny) Even the most advanced equipment in the hands of the ignorant is just a pile of scrap. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2007-09-28 at 11:28 -0400, Xn Nooby wrote:
I'm using SLES9 which is based on SUSE 9.1, and I was curious if there was a way I could limit the growth of a directory. I currently have a separate /var partition in case it grows too big, and I was thinking if I could just limit it's size, I could keep /var on the / partition.
There are quotas, but I'm unsure if the limit is per directory or per user. In any case, the system will not be happy if it can't write to /var because it is full or over quota. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFG/USCtTMYHG2NR9URAsFIAKCY0liYu8RayeMWxceMaRF5k4K0rwCfRSLg Nt8XpG/TvOglJPjainuIqAg= =1I3t -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sep 28 2007 20:14, Carlos E. R. wrote:
The Friday 2007-09-28 at 11:28 -0400, Xn Nooby wrote:
I'm using SLES9 which is based on SUSE 9.1, and I was curious if there was a way I could limit the growth of a directory. I currently have a separate /var partition in case it grows too big, and I was thinking if I could just limit it's size, I could keep /var on the / partition.
There are quotas, but I'm unsure if the limit is per directory or per user. In any case, the system will not be happy if it can't write to /var because it is full or over quota.
{per-partition,per-user} and {per-partition,per-group}. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Freitag, 28. September 2007 17:28:05 schrieb Xn Nooby:
I'm using SLES9 which is based on SUSE 9.1, and I was curious if there was a way I could limit the growth of a directory. I currently have a separate /var partition in case it grows too big, and I was thinking if I could just limit it's size, I could keep /var on the / partition.
you could write a script and run it with a cronjob, to delete files that are older than 90 days i.e.. I also think there are preconfigured parameter in Yast2-> Sysconf editor(why it's not enabled on default is a riddle for me), at least for me it wasn't set. So my /var/tmp kept growing. Greetings Michael
participants (5)
-
Carlos E. R.
-
Jan Engelhardt
-
Michael Skiba
-
Sunny
-
Xn Nooby