OpenVZ Forum


Home » Mailing lists » Users » Guest disk quota
Guest disk quota [message #44148] Mon, 21 November 2011 21:21 Go to next message
foxb is currently offline  foxb
Messages: 12
Registered: December 2009
Junior Member
Hi,

sorry if my question was already asked, but I'm trying to find if(and how) is possible to allow disk quotas in the guest container?

I know how to set per container quota, but how to enable/set disk quota inside container?

Thanks in advance...


------------------------------------------------------------ -----
Участвай в онлайн играта “Избери мечтания подарък”и спечели. Регистрирай се сега!
http://www.easycredit.bg/game?utm_source=abvbg&utm_mediu m=email&utm_campaign=game
Re: Guest disk quota [message #44149 is a reply to message #44148] Mon, 21 November 2011 22:25 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

vzctl set $ctid --quotaugidlimit 300 --setmode restart --save
(Here 300 is a number exceeding the total number of users and groups inside
a CT; say if you have 40 groups and 35 users then 100 should be fine)

Then, use edquota/repquota etc. inside the CT.
On Nov 22, 2011 1:54 AM, "Hristo Benev" <foxb@abv.bg> wrote:

> Hi,
>
> sorry if my question was already asked, but I'm trying to find if(and how)
> is possible to allow disk quotas in the guest container?
>
> I know how to set per container quota, but how to enable/set disk quota
> inside container?
>
> Thanks in advance...
>
>
> ------------------------------------------------------------ -----
> Участвай в онлайн играта “Избери мечтания подарък”и спечели. Регистрирай
> се сега!
>
> http://www.easycredit.bg/game?utm_source=abvbg&utm_mediu m=email&utm_campaign=game
>


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: Network question
Next Topic: Connection Tracking inside a VPS
Goto Forum:
  


Current Time: Tue Mar 19 05:00:28 GMT 2024

Total time taken to generate the page: 0.02443 seconds