Quote:
Originally posted by Trijicon
Running slack 10.2 on hda and slack 10.2 on hdb (using hdb as storage space) hdb holds up to 90 GB. I was transfering files earlier and i ran out of space so I deleted about 4 or 5 gigs worth and df still says its 100% full but theres still 5 gigs free on the drive. It looks like this
Filesystem Size Used Avail Use%
/dev/hdb2 90G 85G 0 100%
Anyone know how to adjust this? just seems a bit weird to me never noticed this in all my time using linux. I can still use the space so its not a major problem but its kind of annoying. Even my gkrellm monitor says i have 0.00M free on it when theres 5 gigs free. Also something else I just noticed Gkrellm says that the HD is 96 gigs big and df says its only 90. When partitioning I did use up all the space so I am kinda confused.
Edit: cfdisk says that the drive is 96GB. So does gkrellm but DF says its only 90.
|
Unless you tell it not to, when you make a new filesystem 5% of space gets reserved. This is done so that even if the space
is filled processes that log data (apache,ftp,etc) can function properly. 5% of 90GB is 4.5GB so this could be the case.
That is why df reports 100% filled.
If you can write as root but not as user, then this is it.
It is a normal thing. Don't mind the 100% indication you still have 5GB free.
You can run tune2fs to change it if you want but generally it is a good thing to have (e.g on / , /usr, etc)