Drives mounted as read-only after a while


Go to solution Solved by JorgeB,

Recommended Posts

Hi all,

I'm having an intermittent issue where my Docker containers will stop after a while due to trying to write to a read-only file. After restarting the array, fix common problems will flag that problem.

Rebooting the server resolves the issue temporarily, but it will reoccur within a few days. As far as I can see, neither the array or cache are full. I'd appreciate some guidance on where to start tracking down this problem.

 

 

Edited by mattenz
Removing diagnostics
Link to comment

Okay, would that be:

btrfs scrub start -Bd /mnt/cache

 

I get:

Scrub device /dev/sdh1 (id 1) done
Scrub started:    Mon Mar 20 09:50:37 2023
Status:           finished
Duration:         0:10:35
Total to scrub:   465.73GiB
Rate:             303.26MiB/s
Error summary:    csum=2
  Corrected:      0
  Uncorrectable:  2
  Unverified:     0

Scrub device /dev/sdi1 (id 3) done
Scrub started:    Mon Mar 20 09:50:37 2023
Status:           finished
Duration:         0:15:59
Total to scrub:   465.73GiB
Rate:             200.80MiB/s
Error summary:    super=3 verify=17451 csum=6709649
  Corrected:      6727098
  Uncorrectable:  2
  Unverified:     0
ERROR: there are uncorrectable errors

 

Edited by mattenz
Link to comment
  • Solution
(path: appdata/Nginx-Proxy-Manager-Official/data/logs/proxy-host-1_access.log)
(path: appdata/Nginx-Proxy-Manager-Official/data/logs/proxy-host-2_access.log)

 

The corrupt files are listed in the syslog, like the examples above, these need to be deleted/restored from backup, then run another scrub to confirm there are no more uncorrectable errors, also the Lexar SSD appears to be failing, probably a good idea to replace it.

 

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.