OpenVZ Forum


Home » Mailing lists » Users » OpenVZ quota problem
OpenVZ quota problem [message #8366] Fri, 17 November 2006 14:42 Go to next message
jbravo is currently offline  jbravo
Messages: 20
Registered: May 2006
Junior Member
Hi all,

Well I have this problem with two differents servers, my kernel is:
2.6.8-022stab078.14-smp

I have working the quotas but some day the quotas don't work. And I
can't create users using cPanel or DirectAdmin.

Sometimes I fixed it doing that:
vzctl stop VID
vzquota drop VID
vzctl start VID

But now does not work. I don't know what more to do.

Thanks
Re: OpenVZ quota problem [message #8367 is a reply to message #8366] Fri, 17 November 2006 14:53 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

José,

what exactly doesn't work in your case?
what commands? instructions?

Thanks
Kirill

> Hi all,
>
> Well I have this problem with two differents servers, my kernel is:
> 2.6.8-022stab078.14-smp
>
> I have working the quotas but some day the quotas don't work. And I
> can't create users using cPanel or DirectAdmin.
>
> Sometimes I fixed it doing that:
> vzctl stop VID
> vzquota drop VID
> vzctl start VID
>
> But now does not work. I don't know what more to do.
>
> Thanks
Re: OpenVZ quota problem [message #8368 is a reply to message #8366] Fri, 17 November 2006 14:52 Go to previous messageGo to next message
jbravo is currently offline  jbravo
Messages: 20
Registered: May 2006
Junior Member
This is the error that I have

edquota: Cannot set quota for user 32338 from kernel on /dev/simfs: No
such process
edquota: Can't write quota for 32338 on /dev/simfs: No such process


José David Bravo Álvarez escribió:
> Hi all,
>
> Well I have this problem with two differents servers, my kernel is:
> 2.6.8-022stab078.14-smp
>
> I have working the quotas but some day the quotas don't work. And I
> can't create users using cPanel or DirectAdmin.
>
> Sometimes I fixed it doing that:
> vzctl stop VID
> vzquota drop VID
> vzctl start VID
>
> But now does not work. I don't know what more to do.
>
> Thanks
--
José David Bravo Álvarez
Gerente General
Colombia Hosting
Tel. (2) 6832660 ext. 100
Cel. (315) 2599388
Av. 4 # 48n43 Of. 301
http://www.colombiahosting.com.co
Re: OpenVZ quota problem [message #8370 is a reply to message #8368] Fri, 17 November 2006 15:06 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

please strace edquota
what OS is used inside VE?

Kirill

> This is the error that I have
>
> edquota: Cannot set quota for user 32338 from kernel on /dev/simfs: No
> such process
> edquota: Can't write quota for 32338 on /dev/simfs: No such process
>
>
> José David Bravo Álvarez escribió:
>
>>Hi all,
>>
>>Well I have this problem with two differents servers, my kernel is:
>>2.6.8-022stab078.14-smp
>>
>>I have working the quotas but some day the quotas don't work. And I
>>can't create users using cPanel or DirectAdmin.
>>
>>Sometimes I fixed it doing that:
>>vzctl stop VID
>>vzquota drop VID
>>vzctl start VID
>>
>>But now does not work. I don't know what more to do.
>>
>>Thanks
Re: OpenVZ quota problem [message #8372 is a reply to message #8368] Thu, 16 November 2006 14:58 Go to previous messageGo to next message
weycresto is currently offline  weycresto
Messages: 17
Registered: September 2005
Location: London
Junior Member

José David Bravo Álvarez wrote:
> This is the error that I have
>
> edquota: Cannot set quota for user 32338 from kernel on /dev/simfs: No
> such process
> edquota: Can't write quota for 32338 on /dev/simfs: No such process
>
José

You need to get second level quota's running within VPS. Have you
followed the instructions here?

http://wiki.openvz.org/Cpanel_quotas

Sorry if I misunderstand you.

--
Best Regards


Paul Lee
Operations Manager
Weycrest Solutions Limited

url: www.weycrest.co.uk
email: admin@weycrest.com
Nominet Member: S06715
Re: OpenVZ quota problem [message #8375 is a reply to message #8370] Fri, 17 November 2006 15:30 Go to previous messageGo to next message
jbravo is currently offline  jbravo
Messages: 20
Registered: May 2006
Junior Member
Im using FC4 in all my VE,
when I type:
root@abraham [/scripts]# quotacheck -avug
quotacheck: Quota for users is enabled on mountpoint / so quotacheck
might damage the file.
Please turn quotas off or use -f to force checking.

And I tried quota (user) for all users and I get:
root@abraham [/home]# quota lealanga
Disk quotas for user lealanga (uid 32138): none
root@abraham [/home]# quota aposada
Disk quotas for user aposada (uid 32010): none


Kirill Korotaev escribió:
> please strace edquota
> what OS is used inside VE?
>
> Kirill
>
>> This is the error that I have
>>
>> edquota: Cannot set quota for user 32338 from kernel on /dev/simfs: No
>> such process
>> edquota: Can't write quota for 32338 on /dev/simfs: No such process
>>
>>
>> José David Bravo Álvarez escribió:
>>
>>> Hi all,
>>>
>>> Well I have this problem with two differents servers, my kernel is:
>>> 2.6.8-022stab078.14-smp
>>>
>>> I have working the quotas but some day the quotas don't work. And I
>>> can't create users using cPanel or DirectAdmin.
>>>
>>> Sometimes I fixed it doing that:
>>> vzctl stop VID
>>> vzquota drop VID
>>> vzctl start VID
>>>
>>> But now does not work. I don't know what more to do.
>>>
>>> Thanks
--
José David Bravo Álvarez
Gerente General
Colombia Hosting
Tel. (2) 6832660 ext. 100
Cel. (315) 2599388
Av. 4 # 48n43 Of. 301
http://www.colombiahosting.com.co
Re: OpenVZ quota problem [message #8376 is a reply to message #8375] Fri, 17 November 2006 15:41 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

can you dump the output of
# ls -la /
from inside VE?

Kirill

> Im using FC4 in all my VE,
> when I type:
> root@abraham [/scripts]# quotacheck -avug
> quotacheck: Quota for users is enabled on mountpoint / so quotacheck
> might damage the file.
> Please turn quotas off or use -f to force checking.
>
> And I tried quota (user) for all users and I get:
> root@abraham [/home]# quota lealanga
> Disk quotas for user lealanga (uid 32138): none
> root@abraham [/home]# quota aposada
> Disk quotas for user aposada (uid 32010): none
>
>
> Kirill Korotaev escribió:
>
>>please strace edquota
>>what OS is used inside VE?
>>
>>Kirill
>>
>>
>>>This is the error that I have
>>>
>>>edquota: Cannot set quota for user 32338 from kernel on /dev/simfs: No
>>>such process
>>>edquota: Can't write quota for 32338 on /dev/simfs: No such process
>>>
>>>
>>>José David Bravo Álvarez escribió:
>>>
>>>
>>>>Hi all,
>>>>
>>>>Well I have this problem with two differents servers, my kernel is:
>>>>2.6.8-022stab078.14-smp
>>>>
>>>>I have working the quotas but some day the quotas don't work. And I
>>>>can't create users using cPanel or DirectAdmin.
>>>>
>>>>Sometimes I fixed it doing that:
>>>>vzctl stop VID
>>>>vzquota drop VID
>>>>vzctl start VID
>>>>
>>>>But now does not work. I don't know what more to do.
>>>>
>>>>Thanks
Re: OpenVZ quota problem [message #8377 is a reply to message #8376] Fri, 17 November 2006 15:49 Go to previous messageGo to next message
jbravo is currently offline  jbravo
Messages: 20
Registered: May 2006
Junior Member
-bash-3.00# ls -l /
total 1136
lrwxr-xr-x 1 root root 39 Nov 17 10:41 aquota.group ->
/proc/vz/vzaquota/0000000f/aquota.group
lrwxr-xr-x 1 root root 38 Nov 17 10:41 aquota.user ->
/proc/vz/vzaquota/0000000f/aquota.user
drwx--x--x 3 root root 4096 Oct 2 09:00 backups
drwxr-xr-x 2 root root 4096 Oct 2 16:59 bin
drwxr-xr-x 2 root root 4096 May 22 2005 boot
-rwxr-xr-x 1 root root 969485 Sep 14 10:03 cpanel
drwxr-xr-x 4 root root 20480 Nov 17 10:41 dev
drwxr-xr-x 58 root root 12288 Nov 17 10:47 etc
drwx--x--x 219 root root 4096 Nov 17 09:28 home
drwxr-xr-x 8 root root 4096 Sep 27 14:14 installd
drwxr-xr-x 8 root root 4096 Sep 27 11:37 lib
drwxr-xr-x 2 root root 4096 May 22 2005 media
drwxr-xr-x 2 root root 4096 May 22 2005 mnt
drwxr-xr-x 2 root root 4096 Nov 3 12:32 myscripts
drwxr-xr-x 2 root root 4096 May 22 2005 opt
dr-xr-xr-x 437 root root 0 Nov 17 10:41 proc
drwxr-x--- 14 root root 4096 Nov 17 10:41 root
drwxr-xr-x 2 root root 4096 Sep 26 13:57 sbin
drwxr-xr-x 3 root root 20480 Nov 17 09:45 scripts
drwxr-xr-x 2 root root 4096 May 22 2005 selinux
drwxr-xr-x 3 root root 4096 Oct 3 19:55 software
drwxr-xr-x 2 root root 4096 May 22 2005 srv
drwxr-xr-x 2 root root 4096 May 22 2005 sys
drwxrwxrwt 6 root root 57344 Nov 17 10:47 tmp
drwxr-xr-x 16 root root 4096 Nov 17 10:42 usr
drwxr-xr-x 21 root root 4096 Oct 2 13:40 var

Kirill Korotaev escribió:
> can you dump the output of
> # ls -la /
> from inside VE?
>
> Kirill
>
>> Im using FC4 in all my VE,
>> when I type:
>> root@abraham [/scripts]# quotacheck -avug
>> quotacheck: Quota for users is enabled on mountpoint / so quotacheck
>> might damage the file.
>> Please turn quotas off or use -f to force checking.
>>
>> And I tried quota (user) for all users and I get:
>> root@abraham [/home]# quota lealanga
>> Disk quotas for user lealanga (uid 32138): none
>> root@abraham [/home]# quota aposada
>> Disk quotas for user aposada (uid 32010): none
>>
>>
>> Kirill Korotaev escribió:
>>
>>> please strace edquota
>>> what OS is used inside VE?
>>>
>>> Kirill
>>>
>>>
>>>> This is the error that I have
>>>>
>>>> edquota: Cannot set quota for user 32338 from kernel on /dev/simfs: No
>>>> such process
>>>> edquota: Can't write quota for 32338 on /dev/simfs: No such process
>>>>
>>>>
>>>> José David Bravo Álvarez escribió:
>>>>
>>>>
>>>>> Hi all,
>>>>>
>>>>> Well I have this problem with two differents servers, my kernel is:
>>>>> 2.6.8-022stab078.14-smp
>>>>>
>>>>> I have working the quotas but some day the quotas don't work. And I
>>>>> can't create users using cPanel or DirectAdmin.
>>>>>
>>>>> Sometimes I fixed it doing that:
>>>>> vzctl stop VID
>>>>> vzquota drop VID
>>>>> vzctl start VID
>>>>>
>>>>> But now does not work. I don't know what more to do.
>>>>>
>>>>> Thanks
--
José David Bravo Álvarez
Gerente General
Colombia Hosting
Tel. (2) 6832660 ext. 100
Cel. (315) 2599388
Av. 4 # 48n43 Of. 301
http://www.colombiahosting.com.co
Re: OpenVZ quota problem [message #8378 is a reply to message #8366] Fri, 17 November 2006 16:10 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
The very widespread reason of this problem is usual Linux quota runing
on the same partion (on HN), there private area of VE in question resides.
Please, check it.

Thanks.

José David Bravo Álvarez wrote:
> Hi all,
>
> Well I have this problem with two differents servers, my kernel is:
> 2.6.8-022stab078.14-smp
>
> I have working the quotas but some day the quotas don't work. And I
> can't create users using cPanel or DirectAdmin.
>
> Sometimes I fixed it doing that:
> vzctl stop VID
> vzquota drop VID
> vzctl start VID
>
> But now does not work. I don't know what more to do.
>
> Thanks
Re: OpenVZ quota problem [message #8379 is a reply to message #8372] Fri, 17 November 2006 16:24 Go to previous messageGo to next message
jbravo is currently offline  jbravo
Messages: 20
Registered: May 2006
Junior Member
I tried

rm -rf /aquota.user 2>/dev/null
rm -rf /aquota.group 2>/dev/null
unlink /aquota.user 2>/dev/null
unlink /aquota.group 2>/dev/null
for x in `find /proc/vz/vzaquota/ | tail -1 | xargs find | tail -2 `; do
ln -s $x /; done

And now:

-bash-3.00# ls -l /
total 1140
lrwxr-xr-x 1 root root 39 Nov 17 11:19 aquota.group ->
/proc/vz/vzaquota/0000000f/aquota.group
drwx--x--x 3 root root 4096 Oct 2 09:00 backups
drwxr-xr-x 2 root root 4096 Oct 2 16:59 bin
drwxr-xr-x 2 root root 4096 May 22 2005 boot
-rwxr-xr-x 1 root root 969485 Sep 14 10:03 cpanel
drwxr-xr-x 4 root root 20480 Nov 17 11:14 dev
drwxr-xr-x 58 root root 12288 Nov 17 11:19 etc
drwx--x--x 219 root root 4096 Nov 17 09:28 home
drwxr-xr-x 8 root root 4096 Sep 27 14:14 installd
drwxr-xr-x 8 root root 4096 Sep 27 11:37 lib
drwxr-xr-x 2 root root 4096 May 22 2005 media
drwxr-xr-x 2 root root 4096 May 22 2005 mnt
drwxr-xr-x 2 root root 4096 Nov 3 12:32 myscripts
drwxr-xr-x 2 root root 4096 May 22 2005 opt
dr-xr-xr-x 452 root root 0 Nov 17 11:14 proc
drwxr-x--- 14 root root 4096 Nov 17 11:14 root
drwxr-xr-x 2 root root 4096 Sep 26 13:57 sbin
drwxr-xr-x 3 root root 20480 Nov 17 09:45 scripts
drwxr-xr-x 2 root root 4096 May 22 2005 selinux
drwxr-xr-x 3 root root 4096 Oct 3 19:55 software
drwxr-xr-x 2 root root 4096 May 22 2005 srv
drwxr-xr-x 2 root root 4096 May 22 2005 sys
drwxrwxrwt 6 root root 61440 Nov 17 11:19 tmp
drwxr-xr-x 16 root root 4096 Nov 17 11:15 usr
drwxr-xr-x 21 root root 4096 Oct 2 13:40 var
-bash-3.00#

If I type: quota colhost I get:
Disk quotas for user colhost (uid 32003): none

Admin - Weycrest.Com escribió:
> José David Bravo Álvarez wrote:
>> This is the error that I have
>>
>> edquota: Cannot set quota for user 32338 from kernel on /dev/simfs: No
>> such process
>> edquota: Can't write quota for 32338 on /dev/simfs: No such process
>>
> José
>
> You need to get second level quota's running within VPS. Have you
> followed the instructions here?
>
> http://wiki.openvz.org/Cpanel_quotas
>
> Sorry if I misunderstand you.
>

--
José David Bravo Álvarez
Gerente General
Colombia Hosting
Tel. (2) 6832660 ext. 100
Cel. (315) 2599388
Av. 4 # 48n43 Of. 301
http://www.colombiahosting.com.co
swap usage [message #8406 is a reply to message #8379] Sun, 19 November 2006 10:44 Go to previous messageGo to next message
hiro is currently offline  hiro
Messages: 5
Registered: February 2006
Junior Member
Hello

I just wondering that are there any way to show swap for each VE?
I know you can set up memory stuff by using "--meminfo", but can't
figure out how to set up swap space. Is anyone help me out?

Thanks!

Hiro
Re: swap usage [message #8418 is a reply to message #8406] Mon, 20 November 2006 07:42 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

At the moment you can only set this value either to zero (while setting
--meminfo it happens),
or to real value of swap on HN --meminfo none, default behavior).

HTH,
Vasily.

Nomura Yukihiro wrote:
> Hello
>
> I just wondering that are there any way to show swap for each VE?
> I know you can set up memory stuff by using "--meminfo", but can't
> figure out how to set up swap space. Is anyone help me out?
>
> Thanks!
>
> Hiro
Re: swap usage [message #8490 is a reply to message #8418] Tue, 21 November 2006 01:55 Go to previous message
hiro is currently offline  hiro
Messages: 5
Registered: February 2006
Junior Member
Vasily

Thanks for the explanation, that case I might end up using default
behavior.

Hiro

On 2006/11/20, at 16:42, Vasily Tarasov wrote:

> Hello,
>
> At the moment you can only set this value either to zero (while
> setting
> --meminfo it happens),
> or to real value of swap on HN --meminfo none, default behavior).
>
> HTH,
> Vasily.
>
> Nomura Yukihiro wrote:
>> Hello
>>
>> I just wondering that are there any way to show swap for each VE?
>> I know you can set up memory stuff by using "--meminfo", but can't
>> figure out how to set up swap space. Is anyone help me out?
>>
>> Thanks!
>>
>> Hiro
Previous Topic: OpenVZ kernel RPM name
Next Topic: OpenVZ older 021stab028.16.* releases
Goto Forum:
  


Current Time: Thu May 09 19:49:59 GMT 2024

Total time taken to generate the page: 0.01724 seconds