Import/export file system quotas

Latest response

Hello.

I wanted to know if it's posible to import filesystem quotas. And if so, how can I do it?

I recently migrated a server, and presently the users don't have any quota limitations.

Thanks.

Regards,
Vilhena

Responses

If you just have one or two classes of quotas for your users, just enable quotas on the new filesystem(s), and then edit and apply a quota to a single user. Once this is done, use edquota -p
to apply the prototyped quota to a list of users. It should be fairly straightforward to write a shell script to do this, if the list of users is very long.

Hello.

 

Thanks for your reply.

 

Well it's a lot of users :/ In my head just makes sense to copy the quota configurations from one machine to another.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.