LXC + Ceph Quota

starnetwork

Renowned Member
Dec 8, 2009
430
10
83
Hi,
I have LXC Containers working over Ceph Shared storage with Quota = 1 option for the Disk
now, I try to Run:
Code:
# quotacheck -vguma
quotacheck: Scanning /dev/rbd1 [/] quotacheck: error (1) while opening /dev/rbd1
how can I add quota support?
LXC Container OS: CentOS 7.x
/etc/fstab:
Code:
none    /dev/pts        devpts  rw,usrquota,grpquota,gid=5,mode=620       0       0
none    /tmp            tmpfs   noexec,nosuid           0       0
none    /var/tmp        tmpfs   noexec,nosuid           0       0
none    /dev/shm        tmpfs   noexec,nosuid           0       0
 
The quota option is for inside the container.
 
It's set on fstab and it's work for me in local-lvm
just for Ceph storage it's not working, any Idea / suggestions?
 
Is Ceph storage maybe CentOS 7?

I notice the exact same issue with CentOS 7 all of a sudden on our containers.
Yes, CentOS 7.x, I have some suspicion it's can be related to containers that was converted from Proxmox 3.x and OpenVZ to LXC

please let me know if you have any suggestion
 
We setup new containers with centos7 template but same issue exists.

CentOS 6 template seems to work perfectly. So weird
 
Last edited: