RESOLVED I am having a problem with the quote package and have been browsing google articles and only found articles telling me to insert the usrquota,grpquota which I have already inserted as seen below: www:/# cat etc/fstab # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/sda6 / ext3 defaults,errors=remount-ro,usrquota,grpquota 0 1 /dev/sda1 /boot ext3 defaults 0 2 /dev/sda5 none swap sw 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0 www:/# ls backup.tgz dev initrd lib mnt quota.group sbin sys var bin etc initrd.img lost+found opt quota.user selinux tmp vmlinuz boot home initrd.img.old media proc root srv usr vmlinuz.old www:/# chmod 600 /quota.* www:/# mount -o remount / www:/# quotacheck -avugm quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option. www:/# Any help would be greatly appreciated. Deleted entire line: /dev/sda6 / ext3 defaults,errors=remount-ro,usrquota,grpquota 0 1 and retyped it, saved, remounted, and all worked fine....
Hi, I'm having the same problem (and others) and retyping the file, remounting, as you did the problem is still there. Any help? Thanks, Nino PS OS: Fedora 8 on a VPS
Hi Falko, I installed ISPConfig following this guide: http://www.howtoforge.com/fedora-8-server-lamp-email-dns-ftp-ispconfig-p4 So I installed quota. Then I changed my /etc/fstab into: Code: /dev/sda1 / ext3 defaults,usrquota,grpquota 1 1 /dev/sda2 swap swap defaults 0 0 LABEL=/boot /boot ext3 defaults 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 Then I ran quota by: Code: touch /aquota.user /aquota.group chmod 600 /aquota.* mount -o remount / quotacheck -avugm quotaon -avug But the quotacheck didn't work: "Cannot find filesystem to check or filesystem not mounted with quota option.". Thank you very much for your attention and for the program! Nino
quotacheck prob I am having the same exact problem. I am running Ubuntu. Getting the same error: quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option. I have indeed tried rebooting the system. Any other ideas? Thanks in advance
@vermax Make sure that you enabled quota in /etc/fstab for at least one file system as described in the perfect setup guide.
Ok, then your problem is that the vps either does not support quota or that quota is already applied by the master server and so can not be installed in the vm's again.
Quota wasn't already installed, because I asked the master server and he said I had to install it myself. What can I do if my vps doen't support quota? Thanks, Nino
You can not do anything as a vps is not a full server. ISPConfig will work without quota, but the limitation for webspaces and mailboxes will not work then.
Ok... well somehow overnight, I had a visit from the unix god and he blessed off on me having quotas because I wake up this morning and right after replying to the post I go in and just have a look and whalla, they are enabled and working. I have no idea what happened but hey, who am I to question the all mighty unix god. Anyways... onto my next question (thanks for the help above, greatly appreciated though) I once had an account with a hosting server that had disk quotas, ram quotas, and cpu usage quotas enabled. Every time you logged in, it performed an output to your motd that showed you how much you were using and how much you were authorized to use, and if you were over, it told you. Any ideas if there is a way to alter and use quota for this, or how, or if there is some decent documentation on it? (you could also type quota and see the same thing when logged into the shell) Thanks again in advance
Does that mean that I can't set resellers/clients or only that each reseller/client will have unlimited webspace and mailbox? Thank you very much for you kind help! Nino
Well since the VPS is not allowing you to install/configure Quotas... You have no way of automatically regulating the disk space etc. of the users/clients you set up. You can manually watch the accounts, or create a cron job to every so often run a check on the disk space used by each directory and e-mail you, but anything past that, its going to be somewhat manual as far as enforcing it. However, I would check with your vps provider and double check on the quota thing as I have been with MANY vps providers that do indeed allow you to set up quota programs, however, it has to be done a specific way and the admin has to be involved in the setup. Hope this helps and does not hurt =P
I did two things when I encountered the problem others have experienced (error message when typing quotacheck -avugm) -- 1. I retyped my whole /etc/fstab by hand. 2. I added "c" to the command: Code: quotacheck -acvugm and it worked. Just an FYI for others that may be experiencing this. BTW, quotacheck took a looooooong time to complete, but my drive is 1TB so that may have had something to do with it.