Page 1 of 1

reset Quota via command line

Posted: Sat Sep 26, 2015 4:04 am
by harsini
Is there a way to reset quota usages manually via command line?
I found no way in one hour of googling.Isn't it store in ram?I see nothing related in/tmp directory.

Re: reset Quota via command line

Posted: Sat Sep 26, 2015 4:17 am
by harsini
below command reset quotas:

Code: Select all

 restore_quotas -w eth1 -d 0x8000 -m 0 -s 192.168.3.0/24
But I don't know what are -d (death mark) and -m (death mask) parameters.
If someone now about that it's appreciated to explain.