How to set disk quota for multiple users within a single disk partition

5,717

Answered by @Flint:

Take a look at Using 'quota' for disk limits

Basically you need edquota util from quota package (apt-get install quota) to set up disk quote for users.

Please mark as answered.

Share:
5,717

Related videos on Youtube

Lunar Mushrooms
Author by

Lunar Mushrooms

Updated on September 18, 2022

Comments

  • Lunar Mushrooms
    Lunar Mushrooms over 1 year

    I have a single disk partition (say /shared) shared by multiple users. It has a single file system (ext3). I want to put home directories for each of the user here and set their disk limit to 5 GB. Thus /share/home/user1 could have up to 5 GB and /share/home/user2 have could have up to 5 GB.

    What is the command line way (not GUI) to do this?

  • Masroor
    Masroor over 10 years
    An answer should not be a simple link to another solution. Kindly rehash the original solution, put your insights and helpful hints, and thus produce a good answer which further enriches this sight.