Hi Rockstor Community,
I had previously installed a number of Rockons that I didn’t require.
These have now been removed, however the config and data shares seem to be unremovable.
I am also now unable to add new shares.
The following is what I receive from the UI:
Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/storageadmin/views/share.py", line 301, in delete
force=force)
File "/opt/rockstor/src/rockstor/fs/btrfs.py", line 578, in remove_share
run_command(delete_cmd, log=True)
File "/opt/rockstor/src/rockstor/system/osi.py", line 121, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /sbin/btrfs subvolume delete /mnt2/tempraid/cfgLazyLibrarian. rc = 1. stdout = ["Delete subvolume (no-commit): '/mnt2/tempraid/cfgLazyLibrarian'", '']. stderr = ["ERROR: cannot delete '/mnt2/tempraid/cfgLazyLibrarian': Operation not permitted", '']
I attempted a share create as well, with similar results.
Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py", line 41, in _handle_exception
yield
File "/opt/rockstor/src/rockstor/storageadmin/views/share.py", line 171, in post
add_share(pool, sname, pqid)
File "/opt/rockstor/src/rockstor/fs/btrfs.py", line 347, in add_share
return run_command(sub_vol_cmd)
File "/opt/rockstor/src/rockstor/system/osi.py", line 121, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /sbin/btrfs subvolume create -i 2015/48 /mnt2/tempraid/gronk. rc = 1. stdout = ["Create subvolume '/mnt2/tempraid/gronk'", '']. stderr = ['ERROR: cannot create subvolume: Operation not permitted', '']
At this point, I assumed that it might be a permissions issue with the Rockstor UI user I had configured, so I tried running the subvolume delete manually as root:
[ root@rockout (pass 0s) ~ ]# btrfs subvolume delete /mnt2/tempraid/cfgLazyLibrarian
Delete subvolume (no-commit): '/mnt2/tempraid/cfgLazyLibrarian'
ERROR: cannot delete '/mnt2/tempraid/cfgLazyLibrarian': Operation not permitted
As you can see, this was no more successful.
“btrfs subvol list /mnt2/tempraid/cfgLazyLibrarian” shows a number of subvolumes that are not within this subvolume (IE: other top level shares, cfgSonarr, cfgCouchPotato, etc.)
Can anybody shed some light on this?