Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Quota OpenVZ

General questions about VestaCP
Post Reply
  • Print view
Advanced search
9 posts • Page 1 of 1
drMacFaulty
Posts: 88
Joined: Thu Mar 06, 2014 7:52 pm
Contact:
Contact drMacFaulty
Website

Quota OpenVZ
  • Quote

Post by drMacFaulty » Wed May 07, 2014 9:47 am

Hello all,

I already found another thread discussing a topic very related to this, will try to dig that up and add it here, but how can I check whether Quota has been enabled on my VPS? I tried the following:

Code: Select all

Command: mount -l
/vz/private/3701 on / type simfs (rw,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
none on /dev type devtmpfs (rw,nosuid,noexec,relatime,mode=755)
none on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
none on /run type tmpfs (rw,nosuid,noexec,relatime,size=104860k,mode=755)
none on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
none on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=419420k)
none on /run/user type tmpfs (rw,nosuid,nodev,noexec,relatime,size=102400k,mode=755)
I don't see quota anywhere. Is there another way to check this easily? At the moment, space is not limited (you can overwrite your max. package space.

If somebody can help me, that'll be great!

Thanks!

edit: What do I need to do to enable quota on my OpenVZ VPS container?
edit2: I contacted service provider and they enabled OpenVZ (see below code block for mount -l command). But now I can still upload a file which is larger than the max account space :confused: Can somebody walk me through the steps necessary to check what's where going wrong? Thanks!

Code: Select all

Command: mount -l
/vz/private/3701 on / type simfs (rw,relatime,usrquota,grpquota)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
none on /dev type devtmpfs (rw,nosuid,noexec,relatime,mode=755)
none on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
none on /run type tmpfs (rw,nosuid,noexec,relatime,size=104860k,mode=755)
none on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
none on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=419420k)
none on /run/user type tmpfs (rw,nosuid,nodev,noexec,relatime,size=102400k,mode=755)
Top

drMacFaulty
Posts: 88
Joined: Thu Mar 06, 2014 7:52 pm
Contact:
Contact drMacFaulty
Website

Re: Quota OpenVZ
  • Quote

Post by drMacFaulty » Sun May 11, 2014 11:01 am

As I already mentioned, the service provider enabled quota for me as you can see in my previous post. I re-installed Vesta and enabled the DISK_QUOTA variable in the /usr/local/vesta/conf/vesta.conf configuration file and after that I created a package with low resources and a user assigned to that package (say 50MB webspace).

I am still able to upload files, larger than the max space assigned (I uploaded a 100MB test file and it got through and stayed in the account web/public_html folder). If I run the command

Code: Select all

$ quota testUser
, I get the message that this user has no quota assigned (none).

What's going wrong? Would really like to have disk quotas as I know this should be possible.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Quota OpenVZ
  • Quote

Post by imperio » Sun May 11, 2014 4:06 pm

Hi, drMacFaulty
now quota don't working, this function will be in release with bug-fixes
Top

drMacFaulty
Posts: 88
Joined: Thu Mar 06, 2014 7:52 pm
Contact:
Contact drMacFaulty
Website

Re: Quota OpenVZ
  • Quote

Post by drMacFaulty » Fri May 16, 2014 4:55 pm

imperio wrote:Hi, drMacFaulty
now quota don't working, this function will be in release with bug-fixes
Thanks for getting back to me Imperio :) Any idea when that release will be scheduled? Or is this still on the drawing table?
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Quota OpenVZ
  • Quote

Post by imperio » Fri May 16, 2014 4:58 pm

I think that release will be in the next few days
Top

drMacFaulty
Posts: 88
Joined: Thu Mar 06, 2014 7:52 pm
Contact:
Contact drMacFaulty
Website

Re: Quota OpenVZ
  • Quote

Post by drMacFaulty » Fri May 16, 2014 5:04 pm

imperio wrote:I think that release will be in the next few days
That'll be great :D Will wait it out then before trying it again on a fresh server.

Thanks :)
Top

drMacFaulty
Posts: 88
Joined: Thu Mar 06, 2014 7:52 pm
Contact:
Contact drMacFaulty
Website

Re: Quota OpenVZ
  • Quote

Post by drMacFaulty » Wed May 21, 2014 1:52 pm

I updated Vesta now, but still when running quota, nobody has a limit. Do I need to run a special command from Vesta to update this and what do I need to set the DISK_QUOTA var to in vesta.conf? It was no and I changed it to yes, but to no avail. :(

Or is it not implemented, because time window wasn't large enough? :)

edit: package version is 0.9.8-9.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Quota OpenVZ
  • Quote

Post by imperio » Wed May 21, 2014 2:34 pm

drMacFaulty
the release has not yet been
Top

drMacFaulty
Posts: 88
Joined: Thu Mar 06, 2014 7:52 pm
Contact:
Contact drMacFaulty
Website

Re: Quota OpenVZ
  • Quote

Post by drMacFaulty » Wed May 21, 2014 5:01 pm

imperio wrote:drMacFaulty
the release has not yet been
Oh, do excuse me as I thought that this update (0.9.8-9) was a bugfix release with that support, but I couldn't find it yet by version history on the site, so I assumed it would be integrated.
Top


Post Reply
  • Print view

9 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password