As it’s stated from title, I have virtuozzo based VPS. I have also ticket opened, but I want that also others, who comes to Interworx and maybe have same problem, see solution for it.
So, where is the problem, let me start from beginning:
I thought that I don’t have second-level quotas on. Even my provider told me it can not be done. They pointed me to complete specification of my VPS, where I saw “QUOTAUGIDLIMIT 1000”
All fine, second-level quota is enabled for 1000 users - more than enough for my VPS.
I need to point usrquota and grpquota in /etc/fstab, but how?
My /etc/fstab is like this:
cat /etc/fstab:
none /dev/pts devpts rw 0 0
df -h:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/ploop19895p1 103079200 1749728 97030692 2% /
none 1048576 4 1048572 1% /dev
Now, I would like to add usrquota and grpqouta to /.
I saw a lot of guides on how to do, but nothing is good enough to make it works. I tried few different options and also when it comes to mount -o remount / I get message permission denied.
I hope we together figure out (with much of your help community) and set this vps to run interworx panel. I must say that there are no errors durring installation, I can login to panel and everything, but thats all I can do. No creation or import accounts because od that. Also in healt system it says I don’t have user and group quota on /.
So I did try this from rebuilding quotas and here are results:
# mount |quotacheck -cugvmf -F vfsv0 /quotacheck: Mountpoint (or device) / not found or has no quota enabled.
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
I also tried mount |quotacheck -cugvmf -F vfsv0 /dev/ploop19895p1 and results are:
# mount |quotacheck -cugvmf -F vfsv0 /dev/ploop19895p1
quotacheck: Cannot find mountpoint for device /dev/ploop19895p1
quotacheck: No correct mountpoint specified.
quotacheck: Cannot initialize mountpoint scan.
quotacheck -cug /
# quotacheck -cug /
quotacheck: Mountpoint (or device) / not found or has no quota enabled.
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
all this was done with root access. Thats why I reboot my vps (I forgot to mention that), but everything same. Nathan helps me at the moment to solve this, so lets keep fingers crossed.
Thats why I said before, this is not standard /etc/fstab problem, as far as I noticed. I will report later, what was wrong or what I made worng, who knows…
Sorry, I thought your last post said Nathan was looking into your issue. IW guys rock.
Appreciate an update after it’s been resolved.
I always thought quotaugidlimit was the second level quotas, although I suppose it may not have been fully applied. If so, you can always run the command again to be sure.
Also, given what you have posted, if it is not second level quotas issue, what do you have shown in iWorx.ini for partition=
He did, but he said my VPS is ultra limited with commands. Now, he tried to use command vzctl (as far as I understand, this command can use only container admins right?), but command doesn’t work. So basically I am where I was. I wrote ticket to my provider now to check if quotaugidlimit is enabled for real. It is much frustrated situation at the moment :/.
Edit:
I forgot to mention, PARTITON=/
With all of my tickets I prepare them to give me in ticket directly with one of system engineers, so now I am waiting on his answer. I hope someone who rented Openvz/virtuozzo vps answer here and give me/us some information about setting up quotas as person who have access only to VPS and not to container.
When I run usrquota and grpquota on server, where Plesk is preinstalled, quotas works. After that I do fresh install of CentOS and do same things to run quotas, but nothing appears.
I will update with final solution what I did. Until now I tried to manage this problem with Nathan (Interworx support center). As soon as I have some updates, I will report here. Also if someone other have some idea, I will be more than happy to try something else.
And thank you John for your time with trying to help me.
Sorry, it’s very late here, but a quick thought which I’m sure has been checked, but it’s not a simple case of permission on quota files stopping it is it.
I’m thinking if plesk can use quota files, perhaps it assigned to a particular user or group, which iWorx may not be assigned.
As I said, it’s very late and I’m very tired, so apologies in advance if I’m wrong
I opened another ticket with my hosting provider, so I will see what they will answer me. I made few more tests now, as it’s late here also (1:41 am atm).
Snapshot was created for backup of my websites on Plesk. Here user and group quotas works.
I tried as I told you before, clean install of CentOS and it does not work.
Also tried to install centos with plesk, same results as on point 2, does not work.
I am thinking, second level quota is restarted to its original after reinstalling OS? Anyway, it is late and we all need to sleep a bit :).