quotas and block size
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Thu Oct 19 15:12:02 UTC 2006
On Wed, Oct 18, 2006 at 03:53:06PM -0400, Neil Watson wrote:
> I have a Redhat AS3 system. The / file system has a block size of
> 4096k:
> # tune2fs -l /dev/sda1|grep "Block size"
> Block size: 4096
Those are bytes. No one would want a 4MB block size.
> I want to set a quota of 300MB. I calculate that that is 75 blocks. I
> set this using edquota:
> Disk quotas for user nhwatson (uid 502):
> Filesystem blocks soft hard inodes soft hard
> /dev/sda1 36 60 75 10 0 0
>
> This is a new system. I cannot be using 148MB (4096k x 36). However I
> am using 36k:
> # du -sh /home/nhwatson
> 36K /home/nhwatson
>
> Are the blocks in quotas bytes of blocks?
block size is always in bytes. You want 75000 blocks quota.
--
Len Sorensen
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list