Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Docker Issues - Cache drive read only

Featured Replies

I'm going to preface this with - unraid and command line noob - Will happily learn and take guidance so may need ELI5

 

a few of my dockers started acting strange today - Restarted the containers and was getting execution failed errors - So rebooted the server and all the dokcers looked like they came back up.

 

Few hours later i realise that while they all look like they came back online they are still not correct - Heimdall crashed out, plex cannot see any media etc

 

So after a little bit of messing about i decide to rebuild my docker image - I've had that issue before so thought i'd give it a try

 

Stop the docker service -  But i do not have permission to delete the docker image - Tried Via Windows and via command line (i didin't change permissions on the file or force a delete) try to restart the docker service and it won;t restart.

 

Run fix common problems and it tells me my cache drive is set to read only or full (its not full)

 

Is it possible it has been set read only? 

How would that have happened?

How do i resolve this??

 

I have attached the diagnostics!

 

Thanks in Advance

Fletch

storage-diagnostics-20231109-2103.zip

  • Author

Just run a BTRFS Check on the cache drive - Here is the status report

 

[1/7] checking root items

[2/7] checking extents

data extent[2057591570432, 245760] referencer count mismatch (root 5 owner 5435779 offset 2976559104) wanted 0 have 1

data extent[2057591570432, 245760] bytenr mimsmatch, extent item bytenr 2057591570432 file item bytenr 0

data extent[2057591570432, 245760] referencer count mismatch (root 9537491067117502469 owner 4294936705 offset 2976559104) wanted 1 have 0 backpointer mismatch on [2057591570432 245760]

ERROR: errors found in extent allocation tree or chunk allocation

[3/7] checking free space tree

[4/7] checking fs roots

[5/7] checking only csums items (without verifying data)

[6/7] checking root refs

[7/7] checking quota groups skipped (not enabled on this FS)

Opening filesystem to check...

Checking filesystem on /dev/nvme1n1p1

UUID: 1b3bf6c1-e65f-4c8c-abea-ef4408e6f2e2

found 170475630592 bytes used, error(s) found

total csum bytes: 128087588

total tree bytes: 677412864

total fs tree bytes: 317341696

total extent tree bytes: 159580160

btree space waste bytes: 162294837

file data blocks allocated: 562199609344

referenced 155704946688

  • Community Expert

Cache filesystem has corruptions, best bet is to backup and re-format, then recreate the docker image, also change docker network to ipvlan.

  • Author

Just some feedback for the above -

 

@JorgeB was right - my cache drive had been corrupted and set to read only

I tried to copy out the data to the array using terminal - That didn;t work for me (i may have been doing it wrong)

Using windows network access was giving simialr results

 

I ended up using FTP - pulling the folders off the cache drive before erasing, and reformatting it ZFS and using FTP again to put the files back to the cache

Its seems to have all worked well for me

I do have an issue with my log files being big now - but i'm gonna reboot and see what happens

There may be another post incoming!

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.