|
From: Jamie C. <jca...@we...> - 2006-12-19 17:58:16
|
On 18/Dec/2006 22:11 Murray Trainer wrote .. > On Mon, 2006-12-18 at 21:58 -0800, Jamie Cameron wrote: > > On 18/Dec/2006 19:59 Murray Trainer wrote .. > > > Hi Jamie, > > > > > > I am using webmin 1.300. I have a user call "x" and noticed that the > > > quota was displaying an unlimited hard inode quota in the webmin disk > > > quotas module. I created another user myself called "y" with a disk > > > quota and got a similar result. I manually changed the quota using > the > > > command: > > > > > > setquota -u y 100000 100090 250000 250090 /home > > > > > > That looks like it worked correctly: > > > > > > # quota y > > > Disk quotas for user y (uid 2223): > > > Filesystem blocks quota limit grace files quota limit > > > grace > > > /dev/sda4 1212 100000 100090 216 250000 250090 > > > > > > But in the webmin disk quota module it appears strange - see below > > > (apologies for the formatting): > > > > > > User Hard % Used Soft Limit Hard Limit Grace Used Soft Limit Hard Limit > > > Grace > > > > > > y 1% 1212 kB 98 MB 98 MB 216 25000 Unlimited 90 > > > > My guess is that Webmin is having trouble parsing the output from the > > repquota command on your system, due to the short username. If you > > run repquota -v /filesystem what does it output? > > > > > I was also wondering if the problem with totally numeric userid's in > > > this module I reported earlier is fixed in a new version of Webmin > yet? > > > > That should be fixed in the 1.310 release of Webmin. > > > > - Jamie > > I did a repquota -v /home > > The lines with the single character usernames look the same as other > ones as below ... > > x1234 -- 4500 102400 107520 430 250000 250000 > xrtf -- 6472 102400 107520 524 250000 250000 > x -- 5332 102400 107520 492 250000 250000 Could you sent me that as an attachment, created by running repquota -v /home >/tmp/quotas.txt I suspect that there are some tabs in the output which are confusing Webmin .. - Jamie |