Author Topic: Removing Quotas  (Read 4477 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Removing Quotas
« on: April 21, 2021, 12:33:42 AM »
Hi,

I have configured quota before for disk /dev/vda1.

Now, I have added a new partition for /home in /dev/vdb because the users are growing.

I have setup the quota as before and configured it as /home this time.

but the problem here is that the quotas in the UI did not change and it is still reading the quota from /dev/vda1



Upon checking User Quota via repquota -a, I have 2 quotas.

The old one from /dev/vda1 and the new one at /dev/vdb


*** Report for user quotas on device /dev/vda1
Block grace time: 7days; Inode grace time: 7days
                        Space limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------


** Report for user quotas on device /dev/vdb
Block grace time: 7days; Inode grace time: 7days
                        Space limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace



Question is how do totally delete the configuration from /dev/vda1
« Last Edit: April 21, 2021, 12:36:53 AM by pipoy »

Offline
*
Re: Removing Quotas
« Reply #1 on: April 21, 2021, 01:10:35 AM »
Update.
Turned out I did this before
https://www.interworx.com/support/faq/enabling-quotas-centos7/

Just had to revert /etc/default/grub back to original.

Now, I still dont understand why the lower left hand portion of the interface does not update.


Offline
*****
Re: Removing Quotas
« Reply #2 on: April 21, 2021, 06:19:20 AM »
You must configure the quotas manually, via SSH if the disk has changed. The config depends on your filesystem
I would recommend you asking a compitent system administrator to check the issue.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Removing Quotas
« Reply #3 on: April 21, 2021, 09:56:54 AM »
You must configure the quotas manually, via SSH if the disk has changed. The config depends on your filesystem
I would recommend you asking a compitent system administrator to check the issue.

Hi,

Some accounts are ok. And I believe the quota is configured correctly.


*** Report for user quotas on device /dev/vdb
Block grace time: 7days; Inode grace time: 7days
                        Space limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
root      --   2507M      0K      0K           7241     0     0       
xxxx     --     76K  10000M  10000M             37     0     0       
xxxx  --    193M   5000M   5000M           7446     0     0       
xxxx    --  12852K  10000M  10000M            743     0     0       
xxxx    --  14288M  35840M  35840M           226k     0     0       
xxxx    --   1024M  10000M  10000M          72774     0     0     

  This is the account in question
xxxx    --   7673M  10000M  10000M          88781     0     0

       
xxxx   --    237M  10000M  10000M          14598     0     0       
xxxx    --    425M  10000M  10000M          14347     0     0       
xxxx --     24K      0K      0K              7     0     0       
xxxx    --    512M  10000M  10000M          23738     0     0       
xxxx  --     48K  10000M  10000M             15     0     0       
xxxx     --    640M  10000M  10000M          11961     0     0       
xxxx   --     20K      0K      0K              7     0     0       
#1000     --     24K      0K      0K              8     0     0       

Offline
*
Re: Removing Quotas
« Reply #4 on: June 27, 2021, 02:02:55 PM »
edit file /usr/local/cwp/.conf/quota_part.conf
and set there partition which needs to have quota, probably /home

after that, you can run API quota

Set quota based on the package for all users
/scripts/cwp_api account update_diskquota_all

info:
http://wiki.centos-webpanel.com/cwp-admin-api
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.