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

Checking the Limits

At this point, everything is configured. Now, let's run some tests to check that it all works as expected. At the moment, testuser only has a small number of files, such as profiles and so on. So, checking testuser's quotas now will simply return without showing anything, unless we use the “verbose” option:

hydrogen# quota testuser
hydrogen# quota -v testuser
Disk quotas for testuser (uid 500):
Filesystem   usage  quota  limit  timeleft  files  quota  limit  timeleft
/export/home     6 300000 500000                5    400    500
hydrogen#

Testuser should be allowed to create files below its limit without any problems. Let's use testuser's account to create a file and check this:

 hydrogen# su - testuser hydrogen$ mkfile 100m file1 hydrogen$ ls –l file1 ...

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