kris1351 said:/scripts/initquotas should turn it on.
!! No Filesystems are mounted with quota support !! Under freebsd you must edit /etc/fstab and turn on quotas. Note: make sure your kernel supports quotas before doing this. After you have remounted your file systems with quota support, re-run this script.
Quick and Dirty How to compile 'QUOTA' support for your FreeBSD server. Please see: http://www.freebsd.org/doc/en_US.ISO...ok/quotas.html for more detailed instructions. To complete the following you will need to have to ssh access to your host server along with full root access. Login to the remote host via SSH and become root with 'su -' then backup your current kernel and '/etc' directory. cp -Rp /boot/kernel /boot/kernel.good cp -Rp /etc /etc.good Now verify you have the correct source code for your server installed in '/usr/src' cd /usr/src ee UPDATING Make sure the first displayed date matches your current 'uname -a' output. Once you have confirmed you have the correct source code installed you can then create your custom kernel configuration file. cd /usr/src/sys/i386/conf cp GENERIC MYKERNELCONF ee MYKERNELCONF Add the line below to your kernel configuration file and then save the file. ## Example Entry for your Kernel Conf ## options QUOTA # Provide Quota Support ## Next you will need to build and install your custom kernel.( This step could take a few mins ) cd /usr/src/ make buildkernel KERNCONF=MYKERNCONF make installkernel KERNCONF=MYKERNCONF Now before you reboot you need to edit 2 files to enable QOUTA support for you file system. The first is the '/etc/rc.conf' which will we will edit to enable QUOTA support and to also check them on boot. grep /etc/defaults/quota >> /etc/rc.conf ee /etc/rc.conf You will see the following entries at the bottom of the '/etc/rc.conf' file. enable_quotas="NO" # turn on quotas on startup (or NO). check_quotas="YES" # Check quotas on startup (or NO). Change both of the entries to "YES" and then save the file. enable_quotas="YES" # turn on quotas on startup (or NO). check_quotas="YES" # Check quotas on startup (or NO). Now you need to modify your '/etc/fstab' file to select which slices should have QUOTAS turned on. Typical '/etc/fstab' file with NO quota support enabled. # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1f /home ufs rw 2 2 /dev/ad0s1e /usr ufs rw 2 2 /dev/ad0s1d /var ufs rw 2 2 Typical '/etc/fstab' with quota support enabled. # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1f /home ufs rw,userquota,groupquota 2 2 /dev/ad0s1e /usr ufs rw,userquota,groupquota 2 2 /dev/ad0s1d /var ufs rw 2 2 Now save the '/etc/fstab' file and reboot the host to load the new kernel and remount your drives with full quota support enabled for your server. reboot If for some reason your server does not come back up after 2-10 mins from the reboot please contact our support team and let them know you just compiled a custom kernel and may need to have the server booted with the old backup kernel you made earlier. If the server reboots with no problems you should be all set and ready to go with full quota support for your control panel of choice.
no but im trying to do that, but first i need to confirme thiseasyhoster1 said:Did you compile your kernal with quotas enabled?
Now verify you have the correct source code for your server installed in '/usr/src' cd /usr/src ee UPDATING Make sure the first displayed date matches your current 'uname -a' output.
|Thread starter||Similar threads||Forum||Replies||Date|
|T||Why not quotas on backup disk? is there a way to enable quotas?||Backups||7|
|N||NOTE: Filesystem quotas are enabled||Backups||15|
|S||Backup configuration warning: NOTE: Filesystem quotas are enabled.||Backups||2|
|F||remote backup stopped because Filesystem quotas are enable?||Backups||11|
|G||cPanel VPS: Disk Quotas are not working. Please help||Backups||6|