LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-18-2014, 04:17 AM   #1
rich211a
LQ Newbie
 
Registered: Jan 2014
Posts: 6

Rep: Reputation: Disabled
enable quotas on new vps


hi does anyone know how to enable disk quotas on an open vz cent os? i was trying to enable disk quotas for my /home directory but do not know the procedure? here is what my vi area looks like in my ssh area >>
vi /etc/fstab - it has all 0's in there?
none /dev/pts devpts rw,gid=5,mode=620 0 0
 
Old 01-18-2014, 05:51 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531
See 'man mount', then do "/quota" and you'll find the "grpquota, noquota, quota, usrquota" mount options. 'apropos quota' for more nfo.
 
Old 01-18-2014, 12:14 PM   #3
gdr
Member
 
Registered: Jun 2013
Distribution: Mint KDE
Posts: 44

Rep: Reputation: Disabled
On openvz you need support from the hypervisor (parent operating system) so you need to contact your hosting company to enable it. They're so called second-level quotas.
 
Old 01-19-2014, 02:40 AM   #4
rich211a
LQ Newbie
 
Registered: Jan 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
openvz how to enable 2nd level quotas

hi gdr how are you? well i ran - yum install quota at root - it says "already installed - nothing to do" at the root - but when i looked in my control panel ( webmin ) it shows that disk quota has not been enabled on my system? here is what it shows below from my install logs - something about the /home directory? -

my hosting provider gave me a solusvm control panel where i can re-install my operating system - i am using centos 5.9 32 bit - - the hypervisor you mention? - is this a control panel which my host uses for openvz? or what shall i ask my hosting provider to do with this hypervisor?

also what are 2nd level quotas? or how will i enable 2nd level quotas on my openvz once i get the hypervisor working?

"Quotas are not enabled on the filesystem / which contains home directories under /home and email files under /home. Quota editing has been disabled."
 
Old 01-19-2014, 11:51 AM   #5
gdr
Member
 
Registered: Jun 2013
Distribution: Mint KDE
Posts: 44

Rep: Reputation: Disabled
You can't do it with the tools you have.

You installed the Quota package - these are just program to manage quotas, but they need backup from the underlying operating system. Webmin correctly detected that there is none.

You need to ask your vps provider to enable it for you.

http://wiki.openvz.org/User_Guide/Ma..._for_Container <- more about 2nd level quotas
 
Old 01-19-2014, 03:17 PM   #6
rich211a
LQ Newbie
 
Registered: Jan 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
openvz how to enable 2nd level quotas

hi gdr thanks i think it worked you were correct it has to be my hosting provider - do they go in their hypervm control panel area on their end to enable the 2nd level quotas?
 
Old 01-20-2014, 05:32 AM   #7
gdr
Member
 
Registered: Jun 2013
Distribution: Mint KDE
Posts: 44

Rep: Reputation: Disabled
I don't know - here at http://massivevps.net/ we do it by SSH, as described in OpenVZ wiki I linked above.
 
Old 01-20-2014, 05:56 PM   #8
rich211a
LQ Newbie
 
Registered: Jan 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
hi is there a way to setup 2nd level quotas from the ssh session instead of contacting my host? or is the starting ssh command this? >> # vzctl exec 101 rpm -q quota - or this without the # ? >> vzctl exec 101 rpm -q quota - at root? or is the host the only one who can do these ssh prompts on an openvz thru the hypervisor?

http://wiki.openvz.org/User_Guide/Ma..._for_Container
 
Old 01-20-2014, 05:58 PM   #9
gdr
Member
 
Registered: Jun 2013
Distribution: Mint KDE
Posts: 44

Rep: Reputation: Disabled
No, it's not possible from within the VPS.
 
Old 01-20-2014, 06:02 PM   #10
rich211a
LQ Newbie
 
Registered: Jan 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
openvz how to enable 2nd level quotas

so my host is the only one who can enable 2nd level quotas on an openvz then thru their hypervisor? correct? since i don't have access to the hypervisor? only solusvm? also what is solusvm ? i can re-install my os with this control panel though?
 
Old 01-21-2014, 03:58 AM   #11
gdr
Member
 
Registered: Jun 2013
Distribution: Mint KDE
Posts: 44

Rep: Reputation: Disabled
Yes, correct.

SolusVM is a web panel installed on the hypervisor but it only exposes limited features to VPS owners. If you don't find the option to enable quotas in there, then you can't do it yourself.
 
Old 01-21-2014, 10:49 PM   #12
rich211a
LQ Newbie
 
Registered: Jan 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
ok thanks gdr sounds good
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I enable a cleint to port forward through my VPS enc0de Linux - Networking 3 07-29-2011 04:42 PM
How to enable quotas for FTP users sushantchawla2005 Linux - Server 1 12-31-2009 04:55 AM
enable quotas with sendmail kiranbyk Linux - Server 2 01-04-2007 07:08 AM
Where can I download UML VPS or Xen VPS to make a virtual private server? abefroman Linux - Software 3 12-09-2005 11:00 AM
How to enable and set user quotas? gepesz Linux - Software 4 08-02-2004 04:16 PM


All times are GMT -5. The time now is 10:35 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration