RE: [SLUG] I'm 100% on a data drive but its not full ??

From: Mikes work account (mrock@stewartsigns.com)
Date: Fri Dec 20 2002 - 08:45:42 EST


Thanks to all of you who offered advice on my problem. I was able to
use tune2fs to clear up the disparities. IN the future I will us the -m
flag on data drives to create partitions. I still need to move
available space from one partition to another to give me more room in
that particular partition. I do need new drives, but that is on a raid
5 system and would require replacing 4 drives. Too costly for the
moment.

Michael C. Rock
Systems Analyst
Registered Linux User # 287973

"The time has come the walrus said to speak of many things,,,"
"Christians give up what they cannot keep to gain what they cannot lose"

-----Original Message-----
From: slug@lists.nks.net [mailto:slug@lists.nks.net] On Behalf Of Ian C.
Blenke
Sent: Thursday, December 19, 2002 2:38 PM
To: slug@nks.net; Jim Wildman
Subject: Re: [SLUG] I'm 100% on a data drive but its not full ??

On Thursday 19 December 2002 11:24, Jim Wildman wrote:
> Unix reserves 10% of a filesystem as a safety valve that only root
> can write to. So a 10G filesystem will show full with 9G, users will
be
> prevented from writing but root (and root owned processes) will still
be
> able to write.

This is why it's best to use the "-m" flag while mkfs'ing your
filesystem.
With ext2, the default root reserved is 5%. You can change it to 1%
with:

        $ mke2fs -m 1 /dev/hda4

You can also change this on a running ext2 filesystem with tune2fs:

        $ tune2fs -m 1 /dev/hda4

If the partition is not critical for root system operation (unlike /tmp
or
/var), you can set it to 0% and really not worry about the limit.

Enjoy.

- Ian

-- 
- Ian C. Blenke <icblenke@nks.net>

(This message bound by the following: http://www.nks.net/email_disclaimer.html)



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:43:43 EDT