Hello, I have Connections - Files and profiles environment in Linux - RHEL 7.8. The default quota size for a user is 500 MB in Files.
Is it feasible to increase it from 500 MB to 3 GB for a user? or user-specific quota size example assign quota size 1 GB for user1 and 3 GB for user2?
Thanks in advance.
Regards,
Elango
You can increase default quotas, or create and assign separate quotas to user1 and user2. This is completely your decision. You should take into account total number of users, available disk space and projected usage. I personally prefer to leave default quotas in place and create a set of separate special policies.
Here is a document about working with policies.
Hello Elango,
I would recommend to create a files policy with size limit 3GB and then assign it to required users.
1. To create a new Files policy:
FilesPolicyService.add("3GB Community Policy", 3221225472L)
You will see a message like this:
"A policy was added with the new id efdb09b6-6f01-4dbb-8dbc-221f90ec68d3 ."
Then assign it to a specify Community:
2.To assign policy to user or community.
FilesLibraryService.assignPolicy(string libraryId, string policyId)
Assigns a policy to a library. A library is a set of files owned by a person or community. It includes all versions of the files, but does not include metadata such as comments. A policy sets a maximum size for a library.
No message is printed if the task succeeds.
Parameters:
- libraryId
- The library ID in the following standard Universally Unique Identifier (UUID) format: 00000000-0000-0000-0000-000000000000.
- policyId
- The policy ID in the following standard Universally Unique Identifier (UUID) format: 00000000-0000-0000-0000-000000000000.
For example:
FilesLibraryService.assignPolicy("f0d01111-9b21-4dd8-b8be-8825631cb84b", "2d93497d-065a-4022ae25-a4b52598d11a")
Thanks,
Venkat
Hello, there is also the following KB Article available.
Please see:
KB0020708 - How to Increase the Connections Files Application total Library Size and Individual File Attachment Upload Size
https://support.hcltechsw.com/csm?id=kb_article&sysparm_article=KB0020708
Thanks all for your responses.