OpenVZ Forum


Home » General » Support » Bind Mount + User Quotas: Is it possible?
Re: Bind Mount + User Quotas: Is it possible? [message #33388 is a reply to message #33366] Fri, 10 October 2008 18:47 Go to previous messageGo to previous message
jimp is currently offline  jimp
Messages: 3
Registered: October 2008
Junior Member
I figured it out.

My partitions were XFS, which OpenVZ does not support for disk quotas. My mistake was thinking that "disk quotas" meant OpenVZ could not limit the container size, but user/group quotas would still work. Wrong. They do not work at all within the CT.

Switched to ext3 partitions

Quotas over the bind mount do not work under any configurations I tried: bind mount to folder on another partion or bind mount to a folder on the same partition. The end result was quota tracking within the bind mount never worked.

Questions

We wanted to use a bind mount to keep customer "homes" out of the way of destructive commands such as "vzctl destroy ###". But customers need quotas. Is there any way to achieve this?

In a dedicated server setup, we would normally do a partitioning scheme like this:

/
/boot
/root
/var
/home <-- quotas enabled

We would like a CT scheme like this:

/
/home <-- quotas enabled, not as a mounted partition but as a bind mounted folder on a common HN partition

Feature request, maybe? Smile
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Moving Container/Ploop to New Drive
Next Topic: OpenVZ on Ubuntu 14.04.1 Kernel 3.13.11.6
Goto Forum:
  


Current Time: Sun Jul 06 23:58:01 GMT 2025

Total time taken to generate the page: 0.03824 seconds