LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 01-15-2015, 09:09 PM   #1
pl3bs
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Rep: Reputation: Disabled
Quotas on OpenVZ VPS


It's pretty straight forward. I'm on an OpenVZ VPS with OVH. Trying to get quotas enabled for my first time. It's a project with a good purpose. Got 26 users, need to limit them to 300MB space on the VPS a piece within their home directory.

So I try to follow this guide:

https://www.digitalocean.com/communi...d-group-quotas

I can't get halfway through without running into an issue :/ Pretty sure it's just a simple limitation with OpenVZ, and I'll need to find some other way, but maybe not. Maybe I'm just ignorant, and someone can help me out here.

Quota was already installed, so I cd into /etc/fstab. I added this line:

LABEL=DOROOT / ext4 errors=remount-ro,usrquota 0 1

then went for:

mount -o remount /

however; permission denied was response. I'm guessing this is a hard limit... i'm root on the VPS, should have all access, except this is paravirtualization, openvz... so am I just scrooged here, or not going about this the correct way?

Other thought I had was to attempt to create 26 additional partitions, and only give access to 1 a pop each user, at 300MB per partition, but that seems kinda silly, and still not sure even possible on OpenVZ.

I need this done, ASAP. Got work to do on the web developing end, and start school next Tuesday. I got this coming weekend to slam this out. Any help would be GREAT!!LY Appreciated.

TY!

pl3
 
Old 01-16-2015, 03:57 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
2 Managing Disk Quotas
and other quota subjects
 
Old 01-16-2015, 11:08 PM   #3
pl3bs
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Yea that just doesn't help me in the slightest. Obviously 2nd level disk quotas are disabled. I'm using my kimsufi dedicated for this now. It won't have hdd redundancy, but this is a free community, and I'll be doing incremental backups to my local rig once a week just in case. I just need this to last until move to an area that offers verizon, and get on the 75/75 plan, then will host this myself. That's 9 months out.

At least this way I can greatly increase the quota's per user from 300MB to 5GB. These will be used for RSS/podcast feeds. I'm going to keep the VPS for raw bandwidth/traffic of OPUS streams. Free broadcasting community.

Setting it up this weekend, and onto my studies.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
switching from OpenVZ to....something VPS andrewm659 Linux - Server 0 09-25-2014 03:44 AM
enable quotas on new vps rich211a Linux - Newbie 11 01-21-2014 09:49 PM
Asking about OpenVPN and Squid 3.1 on OpenVZ VPS clear_water Linux - Networking 0 10-31-2012 11:12 AM
openvz node with only one vps rpereyra Linux - Virtualization and Cloud 3 06-06-2011 10:10 AM
OpenVZ and Slackware running on vps astanton Slackware 1 03-08-2011 02:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 07:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration