Rockstor 3.9.2-4 shares unmounted after reboot

@mluetz A belated welcome to the Rockstor community.
Easiest way currently until we fine the root cause for quotas not sticking is to manually apply the mount fix as per:

then reboot and then enable quotas on your pool via:

btrfs quota enable /mnt2/Cloud

This work around or it’s kin should be released soon if you are not happy with making the edit as per the pending review pull request commit.
Currently that pr only has a change on line 835 in file /opt/rockstor/src/rockstor/fs/btrfs.py
from:

out, err, rc = run_command(cmd, log=True)

to

out, err, rc = run_command(cmd, log=True, throw=False)

ie we add a “, throw=False” to the end of the bracketed contents.

Note that this is not as yet a reviewed pull request and I’m pretty sure I’ve missed something but as an emergency fix if that is what is required it worked for me here. Though editing code is not advisable if you are unfamiliar with it.

An alternative is to apply the patch via the following wiki entry:

using the following url:
https://github.com/rockstor/rockstor-core/commit/c9eecdd9476a795baa6b5fd07287addfeacf4591.patch

Please do read that wiki if you are to attempt the patch method, but essentially you (as root) do:

yum install patch
# answer y
cd
curl https://github.com/rockstor/rockstor-core/commit/c9eecdd9476a795baa6b5fd07287addfeacf4591.patch > pending_1867.patch
patch -d /opt/rockstor/ -p1 < pending_1867.patch

And you should have the change made for you.

Then do the reboot and quota enable bit.

That should at least get your shares back up, else we await the ‘proper’ resolution.

Hope that helps and thanks for your report.

EDIT: As from version 3.9.2-5 the above referenced patch is already applied / included.