Hi @KarstenV,
actually it seems my “good week” on patch + patch required to patch last patch
On https://github.com/rockstor/rockstor-core/issues/1512 had a simple fix removing “,” (comma) from numbers (you can still get a 1,000.34 MB share but when sending data to backend it’s 1000.34 because 1,000 is not an int), so I don’t think your issue to be linked to that PR (hope so, this would be third unlucky )
Question: did you update to latest kernel?
Mirko
P.S.
[selfish mode on]
Hoping a kernel/btrf-tools issue / costraint - not mine xD
[/selfish mode off]
Yes, I’m on the latest kernel, included in the last test build:
[root@rockstornas ~]# cat /proc/version
Linux version 4.8.7-1.el7.elrepo.x86_64 (mockbuild@Build64R7) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Thu Nov 10 20:47:24 EST 2016
Linux version 4.6.0-1.el7.elrepo.x86_64 (mockbuild@Build64R7) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC) ) #1 SMP Mon May 16 10:54:52 EDT 2016
btrfs-progs 4.6
Paranoia mode off: you told “share resize”, so not related to share creation & last PR
Bad news: had a 1GB share resized to 2GB then back to 1GB, to 500MB finally to 1.5GB all fine without errors.
File “/opt/rockstor/src/rockstor/storageadmin/views/share.py”, line 50, in _validate_share_size
size = int(size)
ValueError: invalid literal for int() with base 10: ‘5476083302.4’
hmmmmmm … maybe having a tick box “quotas enabled / dissabled” would help in situations like this one. I still strongly opt for a ability disable this darn thing, most NAS users are using it s N A S … to many rules will just put them off.
Uhmm, agree with you about “hey guys I want a nas to save my photos without getting crazy” and probably that will require lot of coding to avoid unexpected results (people jumping to/from quota/not quota)
I must say that I mostly use my NAS for storing movies / series / documentaries, and my music collection, + backups of documents and such.
Very few cat photos, if any
I don’t remember having quotas disabled / enabled but that could have been at some time.
Isn’t quotas a requirement for the share size enforcement that is planned for Rockstor?
Even though I basically use my Rockstor for storage only, I would still like to have some kind of restriction as to how much space a given share would be able to take up on my drives.