You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] Quota calculation configuration option for ext storage #7589
In past versions of code (5.0.13 and earlier), it seems that external storage was taken into consideration for quota calculation.
In 5.0.14a and oC6, external storage is taken out of quota calculation.
There are some installs which would like to have the external storage considered in quota calculation.
Feature request to add a configuration parameter to allow the user to determine whether they desire to have external storage count toward quota calculation or not.
@karlitschek I don't remember having this on the roadmap. There was another discussion about quota settings but it wasn't related to external storage.
Please double check.
@karlitschek@PVince81@MTRichards
Want to verify this is in oC7. One user will not use oC6 at all as they need external storage to be calculated in the quota. They will use 5.0.15 until this comes out.
@ser72 do you have more info how external storage is used ? Is it system-wide or per user ?
Remember that for every storage entry you can pick whether it applies to "all", a specific user or a group.
I suppose that if the ext storage is accessible by more than one user, the used space should somehow be taken into account in all users accessing that storage.
@ser72 OC 5 had a bug that looked like it counted ext storage in the quota, but it wasn't "hermetically sealed", which means that there were only a few code paths that happened to rely on that value, but not all of them.
I've been experimenting and it seems to work so far.
But the tricky part here is to exclude "Shared" storages and also combinations where shared folders are on external storages. Normally when you upload a file to a shared folder, it won't let you exceed the target user's quota. Since here the quota is calculated differently with the new switch, that part needs to be fixed as well.
changed the title [-][Feature Request] Quota calculation configuration option[/-][+][Feature Request] Quota calculation configuration option for ext storage[/+]on Mar 25, 2014
Activity
karlitschek commentedon Mar 6, 2014
Yes. This is on the ownCloud 7 roadmap
karlitschek commentedon Mar 6, 2014
@PVince81 FYI
PVince81 commentedon Mar 6, 2014
@karlitschek I don't remember having this on the roadmap. There was another discussion about quota settings but it wasn't related to external storage.
Please double check.
karlitschek commentedon Mar 6, 2014
I think we should have switches for shared files and external files
PVince81 commentedon Mar 6, 2014
Ok. I've set the milestone to OC 7.
ser72 commentedon Mar 25, 2014
@karlitschek @PVince81 @MTRichards
Want to verify this is in oC7. One user will not use oC6 at all as they need external storage to be calculated in the quota. They will use 5.0.15 until this comes out.
karlitschek commentedon Mar 25, 2014
@ser72 yes. It is on the roadmap.
PVince81 commentedon Mar 25, 2014
@ser72 do you have more info how external storage is used ? Is it system-wide or per user ?
Remember that for every storage entry you can pick whether it applies to "all", a specific user or a group.
I suppose that if the ext storage is accessible by more than one user, the used space should somehow be taken into account in all users accessing that storage.
PVince81 commentedon Mar 25, 2014
Also, is the external storage used exclusively ? Or can one user have 1 home storage + multiple ext storages ?
I have the feeling that it might become quite complex to "merge" all these values together with the current architecture.
PVince81 commentedon Mar 25, 2014
@ser72 OC 5 had a bug that looked like it counted ext storage in the quota, but it wasn't "hermetically sealed", which means that there were only a few code paths that happened to rely on that value, but not all of them.
ser72 commentedon Mar 25, 2014
@PVince81 I believe they are using both local (home) and external storage from the way they describe
ser72 commentedon Mar 25, 2014
@PVince81 Will get more info on the use of external storage per your above query
PVince81 commentedon Mar 25, 2014
I've been experimenting and it seems to work so far.
But the tricky part here is to exclude "Shared" storages and also combinations where shared folders are on external storages. Normally when you upload a file to a shared folder, it won't let you exceed the target user's quota. Since here the quota is calculated differently with the new switch, that part needs to be fixed as well.
[-][Feature Request] Quota calculation configuration option[/-][+][Feature Request] Quota calculation configuration option for ext storage[/+]PVince81 commentedon Mar 25, 2014
See PR.
I've updated the issue subject to specify that it's specific to ext storage.
MelonSmasher commentedon Apr 8, 2014
Thanks @PVince81 for adding my issue here.