Hi, You can adjust the amount of space reserved for root with tune2fs (provided it's an ext2 partition, obviously). The default is 5%, use the -m option to set a different percentage or -r for the number of blocks. I'd recommend reserving 2 or 3 meg just in case. See "man tune2fs" for more details. Tim
-----Original Message----- From: MMTS System Administrator [SMTP:sle@mmts.nsys.by] Sent: Tuesday, March 28, 2000 8:06 AM
Hello, Warrl!
The space is finished on "/dev/sdb1" partition, which is "/storage", but not "/", thus I don`t need linux to reserve something there.
Is there another way? Or I should go Linux Kernel sources and patch them myself?
P.S. I am logged not as root.
Thanks, George.
On Mon, 27 Mar 2000, Warrl wrote:
On Mon, 27 Mar 2000, MMTS System Administrator wrote:
My disk is 6.2Gb, midnight commander shows 307Mb free other programs, such as df, smbserver, etc. reports 0 free space
But the very thing is, that the disk has REALLY 307 MEG FREE, and files go ok there.
How to make the system report normal freespace? (Some of programs, such as Netscape/Win on Workstations, fail to perform things, when seen Samba Server report 0 bytes free).
Linux normally reserves a bit of disk space - 300 meg out of 6 gig sounds about right - that can only be used by root.
The idea is that if you "run out" of disk space, you can go in as root and clean things up - and still have enough room to work with.
Now I note that you are tagged "MMTS System Administrator". This makes me think that perhaps you are routinely logging in as root. Which is a bad idea for many reasons, one of them being that you lose this recovery workspace. Another being that a clumsily typed rm -rf / is a lot less destructive when someone other than root does it... (Although, when done as root, it *will* fix your shortage of disk space... guaranteed...)
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hello, Tim! Thanks, "tune2fs -m 0" worked OK. Someone was talking about reiserfs. Could anyone please give me FAQ and links to? Thanks, George. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Tue, Mar 28, 2000 at 06:11:31PM +0300, MMTS System Administrator wrote:
Thanks, "tune2fs -m 0" worked OK.
You are aware of the dangers? I beleave you have been warned, this realy is a bad idea. It is much better to clean out your disks.
Someone was talking about reiserfs. Could anyone please give me FAQ and links to?
Look at 'http://www.freshmeat.net/'. Almost always you can find everything for Linux there.
Thanks, George.
Regards, CvdG. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hello, Cees!
You are aware of the dangers? I believe you have been warned, this realy is a bad idea. It is much better to clean out your disks. Those are not mine. ;)
I have used tune2fs NOT with "/" partition, but with "/storage" /dev/sdb1. I believe, nothing wrong will happen, when user is unable to write the sequential file, when space is off. I don`t boot from that one partition, so kernel should be OK. Anyway, thanks for warning. I will warn the one asked me to solve the "problem". Thanks, George. On Tue, 28 Mar 2000, Cees van de Griend wrote:
On Tue, Mar 28, 2000 at 06:11:31PM +0300, MMTS System Administrator wrote:
Thanks, "tune2fs -m 0" worked OK.
You are aware of the dangers? I beleave you have been warned, this realy is a bad idea.
It is much better to clean out your disks.
Someone was talking about reiserfs. Could anyone please give me FAQ and links to?
Look at 'http://www.freshmeat.net/'. Almost always you can find everything for Linux there.
Thanks, George.
Regards, CvdG.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hello George, On Wed, Mar 29, 2000 at 02:47:55PM +0300, MMTS System Administrator wrote:
Hello, Cees!
You are aware of the dangers? I believe you have been warned, this realy is a bad idea. It is much better to clean out your disks.
Those are not mine. ;)
<grin>
I have used tune2fs NOT with "/" partition, but with "/storage" /dev/sdb1. I believe, nothing wrong will happen, when user is unable to write the sequential file, when space is off. I don`t boot from that one partition, so kernel should be OK.
Not quite. *If* you do this on a boot-disk, it is a realy bad idea. *If* you do this on a data-disk, it just is a bad idea. As explained earlier, the filesystem needs free space, even on a data-disk.
Anyway, thanks for warning. I will warn the one asked me to solve the "problem".
Confince him/her that cleaning out the disk is the only real good answer, or installing bigger disks. By now you should know enough to explain why...
Thanks, George.
You're welcome, CvdG -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
cees-list@griend.xs4all.nl
-
sle@mmts.nsys.by
-
tduggan@dekaresearch.com