core icon indicating copy to clipboard operation
core copied to clipboard

external storage counts against quota

Open glauriol opened this issue 13 years ago • 11 comments

When mounting external storage, its size counts against user quotas.

steps to reproduce : 1- set up some users with quota 2- mount big external storage as administrator 3- share this external storage to users

tested on owncloud 5.0.3 with quotas set to 10G and external storage : local (directory size 3.8 TB)

glauriol avatar Apr 07 '13 12:04 glauriol

Not sure if this is a bug or a feature. @MTRichards, @jancborchardt What do you think?

karlitschek avatar Apr 07 '13 16:04 karlitschek

Is this counted against all user quotas, or just the quota of the person who owns the folder and mounted the external storage? This is how it should work, but I do see user stories for making it a configurable option - this, to me, is an enhancement. Assuming I understand the current state properly.

MTRichards avatar Apr 07 '13 17:04 MTRichards

this is counted against all user quotas, not just on the person who mounts the storage. I cannot see how that's on purpose.

let me recap : user1 mounts the external storage. That counts against his quota. I think it should not, since it is external storage, but that is debatable. user1 shares the external storage with user2. the size of the external storage counts againts user2 quota. I think THIS is a bug.

bonus point : in my case, the external storage is read-only to all users. I wanted to give a "Library of files" to any user, read-only.

glauriol avatar Apr 07 '13 17:04 glauriol

I had notice this too. If this is a feature, that is not logical! On my owncloud, i have many user. I have a big folder of 200GB, and i can't share it with the user without explosing their quotas!! I think the personnal folder must count in the quotas, but not the share between member.

heaven988 avatar Apr 07 '13 19:04 heaven988

I think it shouldn’t count against the storage at all, because as far as I know the contents of external storages are not replicated onto the server ownCloud runs on (right? @karlitschek). And as @glauriol notes, it’s external, so confusing that it counts against the internal storage.

jancborchardt avatar Apr 08 '13 16:04 jancborchardt

@jancborchardt Yes. Confirmed.

karlitschek avatar Apr 08 '13 17:04 karlitschek

Ok, then it shouldn’t count against ownCloud storage space. @MTGap can you check this out?

jancborchardt avatar Apr 08 '13 17:04 jancborchardt

Duplicate of: #2099

MTGap avatar May 17 '13 23:05 MTGap

Completely silly to let OC's user quota count external storage @karlitschek Please give this a bit higher priority before the final relase of OC 6. IMO, external storage feature of OC is great, but with this feature/bug it's not usable at all!

fossxplorer avatar Oct 29 '13 15:10 fossxplorer

@fossxplorer this should be fixed now in OC6 beta 5 as per https://github.com/owncloud/core/pull/5927

PVince81 avatar Nov 21 '13 09:11 PVince81

Hi, yes, i noticed your PR for this issue and now back ported into stable5. Awesome work. Thanks a lot @PVince81 @karlitschek

fossxplorer avatar Nov 23 '13 18:11 fossxplorer