On Tue, 29 Feb 2000 bhaskar.g@philips.com wrote:
We have set the quotas for all the users in the /vol/vol0/home.
If any user from the unix system gives the command quota -v. he gets lists of all the users who are owning the files in the home directory. But the disk usage is of my home directory. Please let me know is there any solution for this.
First off all, IT IS NOT A BUG. (I'm not underscoring this with anyone particular in mind.) It is precisely the expected behavior under UNIX. The quota command checks aevery mounted filesystem. If the filesystem happens to be mounted twice, three times, or a thousand, it will check it the number of times it is mounted.
Now, how to solve it. We wrote a custom quota command in Perl using the Perl quota module to only query the current filesystem. This may break (it did in our case) other people's scripts, so exercise some caution.
Tom