I wrote a short script to set directory quotas for lots of directories. It uses the metamig utility and dynamically creates the needed xml file.
Simply add the basepath and the quotasize as parameters:
./setquota.sh /media/nss/DAT/user/homedirs 1024000
After listing all affected dirs, you have to confirm the job.
Now the quotas for all directories in the basepath (not in further subdirs) will be set.
After that you can optional save the xml file for executing the job later.
- the quota size is in KB
- you have to enable Directory Quotas for this volume in nssmu or iManager
Hope that helps somebody!
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.