Client quota vs. website quota

Discussion in 'General' started by splyffen, Jan 12, 2012.

  1. splyffen

    splyffen New Member

    Hi,

    I've looked around the forum for the answer to this:

    Does the Client quota overrule the website quota or visa versa?

    I would like to be able to make a Client-Template that state that they have 1000 mb space, and then by default set the website quota of the website to -1.
    Will the 1000 mb quota be enforced on the website?
    if the client then needs more space i can just change the master template to a larger one and the space will expand on the website also?

    Kind regards,
    Michael
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    This will not work as Linux does not support nested quotas. The client quota is a virtual limit for the website quotas, this means that it is a limit for the values that you enter in the ispconfig interface in the quota field and has no representation on the filesystem level.
     
  3. splyffen

    splyffen New Member

    thank you very much for your answer...

    is it possible to change values of the website directly in the ispdatabase or do you need to use the ispconfig ui, and then it will set the values using cron, or how does it work?
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    You will have to use the ISPConfig UI. Direct changes in the DB will not be written to the config files as they are not part of a valid configuration transaction. If you want to change values with a script, use the remote API.
     
  5. splyffen

    splyffen New Member

    thank you very much... your great :)
     

Share This Page