Forum Home
Press F1
 
Thread ID: 55910 2005-03-22 10:12:00 Disk quotas on Linux johnd (85) Press F1
Post ID Timestamp Content User
336865 2005-03-22 10:12:00 I have been fiddling around trying to get disk quotas work on FC3 and RH9. As I find the situation often, there is good documentation but you have to read several before you get the entire picture ... anyway, I have it working.

My question is about the amount of disk space currently used. I intend to implement this on a working SAMBA system once I get this sorted so I want to get it right!

On my trial system, I get these conflicting amounts of disk space used:
1. Using repquota -a my example says 51512 blocks (51512*1024 = 53MB approx).
2. Using du -h I get 209MB (or using properties in GNOME = 199MB).

I am not sure why this is so different??

Has anyone used disk quotas with SAMBA - I am yet to test what messages you get on the Windows PC when the quota is exceeded.
johnd (85)
336866 2005-03-23 04:00:00 All the different ways of reporting disk usage have different ways of being told what to report.

The only one I regularly use is df. That says what's available, what's used, on all disks. du is more directed... I think it takes the current 'PWD" as the base, unless you specify one. As for repquota you're the one who has done man repquota :)
Graham L (2)
336867 2005-03-23 09:59:00 Looks like SAMBA has to be compiled with a disk quota option before it will work. johnd (85)
1