<html><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000">I couldn't figure out how 
to allow user/group quotas inside the container and I couldn't find many
 resources other than failed attempts or unresolved reports.<br>
<br>
I received the same error as you and tried making a fake device using 
mknod to no avail.   The problem is that the rootfs (/) is always only 
mounted as (rw).  So then it tries to fall back to the other / in 
/proc/mounts which is the block device which isn't available in the 
container (for good reason probably).<br>
<br>
I think the only possible way I had seen that quotas had worked was 
using a bind mount from the container to a host mount with usrquota 
enabled.  However, in my case, this did not seem appealing because I 
would have to maintain two filesystems for each container (rootfs and 
the usrquota) and from what I remember, the users/groups had to coexist 
on the host and the container so it would only be viable on one 
container.<br>
<br>
<blockquote style="border: 0px none;" 
cite="mid:BLU437-SMTP72B0E63DC63526A9443978F3100@phx.gbl" type="cite">
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="display:table;width:100%;border-top:1px solid 
#EDEEF0;padding-top:5px">       <div 
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
 photoaddress="ff240@msn.com" photoname="PONCET Anthony" 
src="cid:part1.00080804.08020501@virtualcomplete.com" 
name="compose-unknown-contact.jpg" height="25px" width="25px"></div>   <div
 
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
        <a moz-do-not-send="true" href="mailto:ff240@msn.com" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">PONCET Anthony</a></div>   <div 
style="display:table-cell;white-space:nowrap;vertical-align:middle;">   
  <font color="#9FA2A5"><span style="padding-left:6px">Monday, March 2, 
2015 12:13 PM</span></font></div></div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody">Hi,
<br>I know lxc doesn't manage or use quota, but how to used it in one 
container?
<br>I created one lv for my container, and I mounted with usrquota and 
grpquota options.
<br>But when I try to used quotacheck or quotaon (in my container), I 
have 
an error : "impossible to use stat() on /dev/mapper/vg_name-lv_name, 
file doesn't exist ".
<br>Do you have an idea?
<br>
<br>
<br>
<br>_______________________________________________
<br>lxc-users mailing list
<br><a class="moz-txt-link-abbreviated" href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<br><a class="moz-txt-link-freetext" href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br></div>
</blockquote>
</body></html>