Red Hat Linux 7 Unleashed

Red Hat Linux 7 Unleashed

By William Ball

Setting Disk Quotas with linuxconf

Most UNIX systems allow administrators to set up disk space limits for users so certain people don't hog all the space on the filesystem. This limit is known as a disk quota.

In order to set disk quotas you must first enable your filesystem for quotas. You can do this relatively easily with linuxconf.

To enable a filesystem for quotas:

  1. Start linuxconf.
  2. Click the Config tab.
  3. Expand the tree browser under File Systems, Access Local Drive.
  4. Click on Access Local Drive.

    You should now see a panel that looks like Figure 21.4.

    21fig04.gif

    Figure 21.4 The linuxconf Access Local Drive panel.

  5. Now double-click on the filesystem for which you would like to enable disk quotas.
  6. Select the Options tab.

    You should see a panel that looks like Figure 21.5.

  7. Choose User Quota Enabled and click Accept.

After you activate the changes, if you go back to User Accounts you will notice when you modify one of your users you can now set a disk space quota for them. You can also specify a default quota for all your users under File Systems, Set Quota Defaults (see Figure 21.6).

21fig05.gif

Figure 21.5 linuxconf Access Local Drive options.

21fig06.gif

Figure 21.6 linuxconf User Accounts Disk Quota options.

Share ThisShare This

Informit Network