We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Quota OpenVZ
-
- Posts: 88
- Joined: Thu Mar 06, 2014 7:52 pm
- Contact:
Quota OpenVZ
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:
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!
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)
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)
-
- Posts: 88
- Joined: Thu Mar 06, 2014 7:52 pm
- Contact:
Re: Quota OpenVZ
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, 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.
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
What's going wrong? Would really like to have disk quotas as I know this should be possible.
Re: Quota OpenVZ
Hi, drMacFaulty
now quota don't working, this function will be in release with bug-fixes
now quota don't working, this function will be in release with bug-fixes
-
- Posts: 88
- Joined: Thu Mar 06, 2014 7:52 pm
- Contact:
Re: Quota OpenVZ
Thanks for getting back to me Imperio :) Any idea when that release will be scheduled? Or is this still on the drawing table?imperio wrote:Hi, drMacFaulty
now quota don't working, this function will be in release with bug-fixes
Re: Quota OpenVZ
I think that release will be in the next few days
-
- Posts: 88
- Joined: Thu Mar 06, 2014 7:52 pm
- Contact:
Re: Quota OpenVZ
That'll be great :D Will wait it out then before trying it again on a fresh server.imperio wrote:I think that release will be in the next few days
Thanks :)
-
- Posts: 88
- Joined: Thu Mar 06, 2014 7:52 pm
- Contact:
Re: Quota OpenVZ
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.
Or is it not implemented, because time window wasn't large enough? :)
edit: package version is 0.9.8-9.
Re: Quota OpenVZ
drMacFaulty
the release has not yet been
the release has not yet been
-
- Posts: 88
- Joined: Thu Mar 06, 2014 7:52 pm
- Contact:
Re: Quota OpenVZ
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.imperio wrote:drMacFaulty
the release has not yet been