[Lancaster] how big are my blocks? using quota
max*
max at tofubandits.org.uk
Thu Jul 13 16:00:54 BST 2006
Lovely
thanks for the quick reply. That's saved me a lot of working out on back of
envelopes!
On Thursday 13 Jul 2006 14:47, Andy Smith wrote:
> On Thu, Jul 13, 2006 at 02:27:25PM +0100, max* wrote:
> > using quota to set the amount of space on the hard-drive that each user
> > can have on a filesystem. But edquota measures this size in blocks. How
> > can I tell how big my blocks are, in order to work out how blocks to set
> > a quota on? (Obviously I'm thinking in terms of MB, GB etc)
>
> Assuming ext2/ext3:
>
> $ sudo tune2fs -l /dev/sda1 | grep "^Block size"
> Block size: 4096
>
> (bytes)
More information about the Lancaster
mailing list