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

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

@Hornitos welcome to the Rockstor community.

Since the error message does only show the symptoms, can you provide a little more context when you ran into this error message?

What version of Rockstor are you using?
What were you trying to do when this error occurred?
Did this happen shortly after installation, or had the server been running a while?
Whatever else you think could help the investigation.

2 Likes