O'Reilly logo

Solaris™ Operating Environment Boot Camp by Dominic Butler, David Rhodes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Enabling Quotas

The first thing we need to do is ensure that the filesystem that contains the users is configured to run quotas. This is a simple task and is achieved by mounting the required filesystem with the “quota” option enabled. We also need to create a file, named quotas, in the top level (mount point) of each filesystem. This file provides a location for the system to store quota information for that particular filesystem.

All our users are located on one filesystem—/export/home—therefore, we only need to configure this for quotas. To do this, we modify the “mount” options in the /etc/vfstab file. Ours is shown below after modification. Although we have used the “rq” option, we could just have easily used “rw,quota.”

 hydrogen# cat /etc/vfstab ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required