Operating System - HP-UX
1838695 Members
7303 Online
110128 Solutions
New Discussion

Setting Disk Quota Question

 
Emil Henry
Regular Advisor

Setting Disk Quota Question

Hello!

We have 17 filesystems (don't ask why 17 instead of 1) with disk quotas turned on for users home directories. The NFS servers are running on T600's running HP-UX 11i. Now to my question. Each user has files only on one of the filesystems. But, when I use "edquota username" I get all 17 listed. We normally use "edquota -p" to set the new accounts quotas to the same quotas of a predefined account.

Is there a way to set the quota for a user for only the filesystem that the user has his/her home directory, without setting it on all 17? Other option is to have 17 usernames predefined for each filesystem, and then set it that way.

Thanks in advance.

Regards,

Emil
1 REPLY 1
Massimo Bianchi
Honored Contributor

Re: Setting Disk Quota Question

Hi,
quotating from man 5 quota:

" Quota limits and utilization statistics are maintained by the
operating system for each file system for which quotas have been
enabled (see mount(1M) and quotaon(1M)).

Disk quotas are established independently for each user and each file
system via the edquota command (see edquota(1M)). This command is
also used to establish the limit for the amount of time users are
permitted to exceed their soft limit. The default time limit is 1
week.
"

So i think that the only option is to have 17 proto user, one for each fs, like your idea.

Massimo