Im sorry, but I dont understand. I want to set a soft limit of 8 GB and hard limit of 10 GB for users.
According to your explanation I get this:
the block size of 4096
therefore (8 x 1024 x 1024) / 4096 = 2048 (2048000) is the soft limit????
therefore (10 x 1024 x 1024) / 4096 = 2560 (2560000) is the hard limit????
Is it that correct???
Why do I have to convert 2048 again to kb? I mean, I did it (8 x 1024 x 1024) here.
I will appreciate any answer.
Originally Posted by kennyghh
I am needed to set a soft limit of 200MB and hard limit of 205MB for users.
How do I calculate that for a harddisk with ext2, ext3 and reiserfs ?
Correct me if i am wrong. For ext2 i need to determine the block size with the command
from here i get the block size of 4096
therefore (200 x 1024) / 4096 = 50MB (50000) is the soft limit
therefore (205 x 1024) / 4096 = 51.25MB (51250) is the hard limit