Re: [vserver] vrsetup and quota on webmin

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Wed 23 Apr 2008 - 08:03:59 BST
Message-ID: <20080423070359.GJ30605@MAIL.13thfloor.at>

On Tue, Apr 22, 2008 at 03:07:25PM +0200, ADNET Ghislain wrote:
> Hello,
>
> I try to make the quota work on a vserver. I use a vrsetup non shared
> partition. The setup run fine on the command line but not on webmin.
>
> I have trouble setting the quota with webmin. It shows:
>
> / UFS Quota disabled
>
>
> but from the guest:
>
> GUEST: :/%(root)> repquota -auvg
> *** Report for user quotas on device /dev/hdv1
> Block grace time: 7days; Inode grace time: 7days
> Block limits File limits
> User used soft hard grace used soft hard grace
> ----------------------------------------------------------------------
> root -- 654440 0 0 36191 0 0
> man -- 280 0 0 16 0 0
> www-data -- 32 0 0 8 0 0
> smmta -- 64 0 0 13 0 0
> smmsp -- 12 0 0 3 0 0
> mysql -- 21236 0 0 63 0 0
> bind -- 8 0 0 2 0 0
>
> Statistics:
> Total blocks: 7
> Data blocks: 1
> Entries: 11
> Used average: 11.000000
>
> *** Report for group quotas on device /dev/hdv1
> Block grace time: 7days; Inode grace time: 7days
> Block limits File limits
> Group used soft hard grace used soft hard grace
> ----------------------------------------------------------------------
> root -- 645320 0 0 35393 0 0
> bin -- 868 0 0 224 0 0
> adm -- 1372 0 0 19 0 0
> tty -- 20 0 0 2 0 0
> disk -- 0 0 0 1 0 0
> mail -- 108 0 0 4 0 0
> voice -- 4 0 0 1 0 0
> www-data -- 5880 0 0 460 0 0
> src -- 4 0 0 1 0 0
> shadow -- 76 0 0 6 0 0
> utmp -- 20 0 0 3 0 0
> sasl -- 12 0 0 1 0 0
> staff -- 516 0 0 89 0 0
> nogroup -- 4 0 0 1 0 0
> crontab -- 40 0 0 4 0 0
> smmta -- 4 0 0 1 0 0
> smmsp -- 1108 0 0 42 0 0
> dovecot -- 12 0 0 4 0 0
> mysql -- 20676 0 0 33 0 0
> bind -- 32 0 0 8 0 0
>
> Statistics:
> Total blocks: 8
> Data blocks: 1
> Entries: 21
> Used average: 21.000000
>
>
> perhaps this is because webmin use the mount point:
>
> GUEST::/%(root)> repquota -uvg /
> repquota: Mountpoint (or device) / not found.
> repquota: Not all specified mountpoints are using quota.
>
> i do not know why this is not also working on the mountpoint ?

probably because the tools are trying to be smart again
and cannot handly specific mtab/fstab entries properly

> Any ideas ?

check fstab/mtab and strace -fF the repquota to see
where and maybe why it fails ...

HTH,
Herbert

> --
> Cordialement,
> Ghislain
Received on Wed Apr 23 15:21:30 2008

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 23 Apr 2008 - 15:21:31 BST by hypermail 2.1.8