Error running a command. cmd = /usr/bin/chattr -i /mnt2/storico. rc = 1. stdout = ['']. stderr = ['/usr/bin/chattr: Read-only file system while setting flags on /mnt2/storico', '']

[Please complete the below template with details of the problem reported on your Web-UI. Be as detailed as possible. Community members, including developers, shall try and help. Thanks for your time in reporting this issue! We recommend purchasing commercial support for expedited support directly from the developers.]

Brief description of the problem

        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 206, in post
add_share(pool, sname, pqid)
File “/opt/rockstor/src/rockstor/fs/btrfs.py”, line 645, in add_share
toggle_path_rw(root_pool_mnt, rw=True)
File “/opt/rockstor/src/rockstor/system/osi.py”, line 654, in toggle_path_rw
return run_command([CHATTR, attr, path])
File “/opt/rockstor/src/rockstor/system/osi.py”, line 224, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/bin/chattr -i /mnt2/storico. rc = 1. stdout = [’’]. stderr = [’/usr/bin/chattr: Read-only file system while setting flags on /mnt2/storico’, ‘’]

Detailed step by step instructions to reproduce the problem

create shares on raid5 pool

Web-UI screenshot

image

Error Traceback provided on the Web-UI

[paste here]

@berto78rn welcome to the Rockstor community forum. Could you provide a few more details. Were you upgrading to the latest version 4.1 on OpenSUSE from a 3.9.x version on CentOS?
If so, your error points to the issue that by default the new version of OpenSUSE sets RAID 5/6 type pools to read-only. There are a few forum posts on this, you could start with this, if that is indeed the case:


and

2 Likes