QUOTAUGIDLIMIT Second-Level Quotas

miriosal

New Member
Jun 26, 2013
2
0
1
Good morning,
use Proxmox 2.3 I activated the quota Second-Level Quotas by assigning the QUOTAUGIDLIMIT = 400 I have a CT with 111 users and 126 groups I also tried to set different values ​​to QUOTAUGIDLIMIT but the problem is that now I try to explain persists.
A few users can not assign the quota, but do not depend on the number of users and groups, because if I create a new user can be assigned quota.

CT:
Centos 5 32bit
in coda al post ct config
example:


Code:
[B]#repquota -av[/B]
*** Report for user quotas on device /dev/simfs
Block grace time: 00:00; Inode grace time: 00:00
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
root      -- 3228912       0       0         134478     0     0 [B]OK[/B]
......
XXXXXX293 --     120  524288  524288             31     0     0 [B]OK[/B]
[B]XXXXXX101 [/B]--     124       0       0             32     0     0 [B]ERROR[/B] [B](1)[/B]
......
proxmoxquota --     120 10240000 10240000             31     0     0 [B]OK ([/B] last user created)
.........
(all users as [B]XXXXXX101 [/B] have different uid with a # in front of repquota):
#[B][COLOR=#ff0000]94483800 [/COLOR][/B]--       0  524288  524288              0     0     0 [B](1)[/B]
..........
< end repquota

[B](1) :[/B]
#quota [B]XXXXXX101[/B]
Disk quotas for user #[COLOR=#ff0000][U][B]94482534[/B][/U][/COLOR](uid [COLOR=#ff0000][U][B]94482534[/B][/U][/COLOR]): none

id [B]XXXXXX101[/B]
uid=[COLOR=#ff0000][U][B]578[/B][/U][/COLOR]([B]XXXXXX101[/B]) gid=[COLOR=#ff0000][U][B]578[/B][/U][/COLOR]([B]XXXXXX101[/B]) groups=[COLOR=#ff0000][U][B]578[/B][/U][/COLOR]([B]XXXXXX101[/B])


#quota XXXXXX293 (OK)
Disk quotas for user 0586405425 (uid [B]580[/B]):
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
     /dev/simfs   22092  [COLOR=#ff0000]524288  524288             [/COLOR]357       0       0
id XXXXXX293
uid=[B]580[/B](XXXXXX293) gid=[B]580[/B](XXXXXX293) groups=[B]580[/B](XXXXXX293)

#edquota [B]XXXXXX101
[/B]Disk quotas for user [B]XXXXXX101[/B](uid [B][COLOR=#ff0000]94482534[/COLOR][/B]): (real id [COLOR=#ff0000][U][B]578)[/B][/U][/COLOR]
  Filesystem                   blocks       soft       hard     inodes     soft     hard
  /dev/simfs                        [COLOR=#ff0000][B]0[/B][/COLOR]     524288     524288          [COLOR=#ff0000][B]0[/B][/COLOR]        0        0

#edquota XXXXXX293 (OK)
Disk quotas for user XXXXXX293(uid 580):
  Filesystem                   blocks       soft       hard     inodes     soft     hard
  /dev/simfs                    [B][COLOR=#ff0000]22092     [/COLOR][/B]524288     524288        [B][COLOR=#ff0000]357        [/COLOR][/B]0        0

Thank you.

P.S. sorry but I do not know how to write English and use google translator.


Code:
# PVE default config for 256MB RAM

ONBOOT="yes"

# Primary parameters
NUMPROC="1024:1024"
NUMTCPSOCK="9223372036854775807:9223372036854775807"
NUMOTHERSOCK="9223372036854775807:9223372036854775807"
VMGUARPAGES="0:unlimited"

# Secondary parameters
KMEMSIZE="487587840:536870912"
OOMGUARPAGES="0:unlimited"
PRIVVMPAGES="unlimited"
TCPSNDBUF="9223372036854775807:9223372036854775807"
TCPRCVBUF="9223372036854775807:9223372036854775807"
OTHERSOCKBUF="9223372036854775807:9223372036854775807"
DGRAMRCVBUF="9223372036854775807:9223372036854775807"

# Auxiliary parameters
NUMFILE="9223372036854775807:9223372036854775807"
NUMFLOCK="9223372036854775807:9223372036854775807"
NUMPTY="255:255"
NUMSIGINFO="1024:1024"
DCACHESIZE="243269632:268435456"
LOCKEDPAGES="131072"
SHMPAGES="9223372036854775807:9223372036854775807"
NUMIPTENT="9223372036854775807:9223372036854775807"
PHYSPAGES="0:262144"

# Disk quota parameters
DISKSPACE="41943040:46137344"
DISKINODES="8000000:8800000"
QUOTATIME="0"
QUOTAUGIDLIMIT="400"

# CPU fair sheduler parameter
CPUUNITS="1000"
CPUS="2"
VE_ROOT="/var/lib/vz/root/$VEID"
VE_PRIVATE="/var/lib/vz/private/$VEID"
OSTEMPLATE="centos-5-standard_5.6-1_i386"
ORIGIN_SAMPLE="pve.auto"
HOSTNAME=xxxxxxxxxxxxxxx"
NAMESERVER="xxxxxxxxxxxxxxxxx"
SEARCHDOMAIN="xxxxxxxxxxxxxxxxxxx"
CAPABILITY="SYS_TIME:on "
NETIF="ifname=eth0,bridge=vmbr4,mac=xxxxxxxx,host_ifname=veth1601.0,host_mac=xxxxxxxx"
SWAPPAGES="0:65536"
 
Last edited:
Found the problem, I think is a bug ?!, the system quota tools, you have users numeric they all start to 055, I do not know why for some users when.
Solution:
<CODE>
edquota 0550330146 edit uid 94482534 and repquota real user uid 578 no quota set. (view top code)

edquota -x 0550330146 (only the first time, otherwise you must set to 0 with equota without -x and then re-edit with -x)
Disk quotas for user 0550330146 (uid 94482534):
Filesystem blocks soft hard inodes soft hard
/dev/simfs 2000 524288 524288 39 0 0

-x option : Always try to translate name to id, even if it is composed of only digits

repquota -av
0550330146 -- 2000 524288 524288 39 0 0 OK

</CODE>

try this username (0550330146) on your systems to see if the same problem.

Thank you, greetings
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!