File system read-only?


Recommended Posts

Couple of docker containers are failing after removal of old drive and installation of new (xfs) 2TB drive. Didn't do traditional rebuild because of the want to move to xfs from reiserfs.  I need to do this again shortly for another drive, and will be following this guide with much more care this time:  https://wiki.unraid.net/File_System_Conversion

 

Just ran through parity check and rebooted, still getting errors.

 

 

Binhex-delugeVPN log - container will start and immediately stop because of read only fs

Quote

Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2020-03-30 14:33:31.207442 [info] System information Linux d240259aedb5 4.19.107-Unraid #1 SMP Sun Mar 8 14:34:03 CDT 2020 x86_64 GNU/Linux
2020-03-30 14:33:31.244575 [info] PUID defined as '99'
2020-03-30 14:33:31.288390 [info] PGID defined as '100'
2020-03-30 14:33:31.532450 [info] UMASK defined as '000'
2020-03-30 14:33:31.571534 [info] Permissions already set for volume mappings
2020-03-30 14:33:31.618214 [info] DELUGE_DAEMON_LOG_LEVEL defined as 'info'
2020-03-30 14:33:31.655273 [info] DELUGE_WEB_LOG_LEVEL defined as 'info'
2020-03-30 14:33:31.692201 [info] VPN_ENABLED defined as 'yes'
2020-03-30 14:33:31.738012 [warn] Unable to chown/chmod /config/openvpn/, assuming SMB mountpoint
2020-03-30 14:33:31.779794 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/Switzerland.ovpn
2020-03-30 14:33:31.881985 [info] VPN remote line defined as 'remote swiss.privateinternetaccess.com 1198'
2020-03-30 14:33:31.922436 [info] VPN_REMOTE defined as 'swiss.privateinternetaccess.com'
2020-03-30 14:33:31.963504 [info] VPN_PORT defined as '1198'
2020-03-30 14:33:32.009895 [info] VPN_PROTOCOL defined as 'udp'
2020-03-30 14:33:32.051163 [info] VPN_DEVICE_TYPE defined as 'tun0'
2020-03-30 14:33:32.092047 [info] VPN_PROV defined as 'pia'
2020-03-30 14:33:32.131751 [info] LAN_NETWORK defined as '192.168.1.0/24'
2020-03-30 14:33:32.172329 [info] NAME_SERVERS defined as '209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1'
2020-03-30 14:33:32.209341 [info] VPN_USER defined as 'p1067105'
2020-03-30 14:33:32.249819 [info] VPN_PASS defined as 'E6STV3y8fQ'
2020-03-30 14:33:32.288678 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2020-03-30 14:33:32.326076 [info] STRICT_PORT_FORWARD defined as 'yes'
2020-03-30 14:33:32.362698 [info] ENABLE_PRIVOXY defined as 'yes'
2020-03-30 14:33:32.412766 [info] Deleting files in /tmp (non recursive)...
2020-03-30 14:33:32.447541 [info] Starting Supervisor...
Traceback (most recent call last):
File "/usr/bin/supervisord", line 11, in <module>
load_entry_point('supervisor==4.1.0', 'console_scripts', 'supervisord')()
File "/usr/lib/python3.8/site-packages/supervisor/supervisord.py", line 358, in main
go(options)
File "/usr/lib/python3.8/site-packages/supervisor/supervisord.py", line 368, in go
d.main()
File "/usr/lib/python3.8/site-packages/supervisor/supervisord.py", line 70, in main
self.options.make_logger()
File "/usr/lib/python3.8/site-packages/supervisor/options.py", line 1466, in make_logger
loggers.handle_file(
File "/usr/lib/python3.8/site-packages/supervisor/loggers.py", line 417, in handle_file
handler = RotatingFileHandler(filename, 'a', maxbytes, backups)
File "/usr/lib/python3.8/site-packages/supervisor/loggers.py", line 213, in __init__
FileHandler.__init__(self, filename, mode)
File "/usr/lib/python3.8/site-packages/supervisor/loggers.py", line 160, in __init__
self.stream = open(filename, mode)
OSError: [Errno 30] Read-only file system: '/config/supervisord.log'

 

Didn't see anywhere in the unraid interface that the array is read-only so I figured I'd try changing the file permissions for troubleshooting purposes (no luck)

 

Quote

root@Tower:/mnt/user/appdata/binhex-delugevpn# chmod 777 supervisord.log
chmod: changing permissions of 'supervisord.log': Read-only file system
root@Tower:/mnt/user/appdata/binhex-delugevpn# chmod +w supervisord.log
chmod: changing permissions of 'supervisord.log': Read-only file system
root@Tower:/mnt/user/appdata/binhex-delugevpn#

 

Attached diagnostics
 

tower-diagnostics-20200330-1645.zip

Link to comment
17 hours ago, jonathanm said:

So you have the ReiserFS data backed up to another location?

Yeah I just dumped it on to open space on the array.   I've precleared the new drive and the old reiserFS drive and I'm currently running extended SMART on the old drive.  I plan to dump the array config and reassign all the drives while making sure the Parity drive stays there.  I'll have to rebuild parity but I think It should go well. 

 

I know there's a way to do this without rebuilding parity but I can't seem to get screen installed on the server (the "switches" for NerdPack weren't working but it might be because the FS was read-only at the time).  If I understood the guide correctly - you need to use the Clear Array Drive script and in order to do so you need to run a long process via SSH - and I wouldn't trust myself to not close it (or lose connection) while using the computer.  

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.