Hi, hope you can help. Been playing with RS for about a week, so far so good. I’ve installed a plex server and all is running smoothly. now i’m trying to create a new share for transmission and it pops an error.
recreate: storage > shares > create new
here is the msg
Error running a command. cmd = /sbin/btrfs subvolume create -i 2015/24 /mnt2/rockstor_rockstor/transm-data. rc = 1. stdout = [“Create subvolume ‘/mnt2/rockstor_rockstor/transm-data’”, ‘’]. stderr = [‘ERROR: cannot create subvolume: Operation not permitted’, ‘’]
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/24 /mnt2/rockstor_rockstor/transm-data. rc = 1. stdout = [“Create subvolume ‘/mnt2/rockstor_rockstor/transm-data’”, ‘’]. stderr = [‘ERROR: cannot create subvolume: Operation not permitted’, ‘’]
running latest 3.9.1-16
plenty of space on hdd (160gb free)
logged as admin
any help would be appreciated. thank you.
update: after some further reading, from ssh this is what comes up
[root@rockstor ~]# lsattr /mnt2/
----i----------- /mnt2/rockstor_rockstor
---------------- /mnt2/home
---------------- /mnt2/root
---------------- /mnt2/rockons
---------------- /mnt2/rs-share
---------------- /mnt2/rs-web
---------------- /mnt2/rs-photos
---------------- /mnt2/rs-artwork
---------------- /mnt2/rs-media
---------------- /mnt2/plex-conf
so for what I read on this post
the directory rockstor_rockstor has the “i” flag. I did not set this up and was able to create shares till yesterday. waiting for a reply if the solution on that thread would help solve the problem
solution: chattr -i /mnt2/rockstor_rockstor