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.

[SOLVED] read-only file system error when creating container.

Featured Replies

I recently changed from a single-SSD XFS cache to a dual SSD BTRFS cache. I stopped VM's and Docker, moved everything off the cache drive, reformatted it to BTRFS and added a second one, then moved everything back. I deleted my docker.img file and redownloaded all docker images from the "previous apps" tab as has been mentioned many times on this forum.

 

I must have done something wrong because when i try to install a new docker container i now get the following error:

 

Error: open /var/lib/docker/tmp/GetImageBlob484538067: read-only file system.

 

I do not know where to start solving this. My diagnostics file is attached to this post. Many thanks in advance for any help.

tower-diagnostics-20201020-1526.zip

Edited by YourNightmar3

  • Community Expert

Pool fs is fully allocated, you need to run a balance, see here for more info, king of strange this is happening in a new filesystem, did you fill it up completely before?

  • Author
8 minutes ago, JorgeB said:

Pool fs is fully allocated, you need to run a balance, see here for more info, king of strange this is happening in a new filesystem, did you fill it up completely before?

Thank you for the quick reply.

Now that i think about it, i did accidentally set a share that wasn't supposed to be on cache to cache and it filled up the cache completely. I didn't think much of it as i put the share cache usage back to normal and ran mover again.

 

I ran

btrfs balance start -dusage=75 /mnt/cache

with the following result:

Done, had to relocate 203 out of 934 chunks

But unfortunately when creating a docker container i am still getting "Error: open /var/lib/docker/tmp/GetImageBlob091507751: read-only file system"

Edited by YourNightmar3

  • Community Expert
2 minutes ago, YourNightmar3 said:

But unfortunately when creating a docker container i am still getting "Error: open /var/lib/docker/tmp/GetImageBlob091507751: read-only file system"

You'll need to re-start the docker service, that should do it, if it doesn't recreate the docker image.

  • Author
8 minutes ago, JorgeB said:

You'll need to re-start the docker service, that should do it, if it doesn't recreate the docker image.

Thanks so much! It worked!

 

I did find that thread you linked when googling for the problem but i also found some people saying i had to reformat my entire SSD cache so im glad it was solved with this solution instead.

 

Why is this command nessecary when the cache fills up? Will i have to do this again in the future?

  • Community Expert

This should no longer happen with recent kernels, but in some circumstances it does, you're not the first.

  • JorgeB changed the title to [SOLVED] read-only file system error when creating container.
  • 3 months later...

Thanks alot. My NVME cache filled up and I got same error after this.

  • 2 months later...
On 10/20/2020 at 10:00 AM, YourNightmar3 said:

Thank you for the quick reply.

Now that i think about it, i did accidentally set a share that wasn't supposed to be on cache to cache and it filled up the cache completely. I didn't think much of it as i put the share cache usage back to normal and ran mover again.

 

I ran


btrfs balance start -dusage=75 /mnt/cache

with the following result:


Done, had to relocate 203 out of 934 chunks

But unfortunately when creating a docker container i am still getting "Error: open /var/lib/docker/tmp/GetImageBlob091507751: read-only file system"

i think i am chasing a similar issue but not certain but when i tried to run the balance cmd i got the error 

ERROR: error during balancing '/mnt/cache': Read-only file system

 

pepper-diagnostics-20210413-0751.zip

  • Community Expert
36 minutes ago, Cakroksh said:

ERROR: error during balancing '/mnt/cache': Read-only file system

Cache filesystem is corrupt, you should backup and re-format.

Archived

This topic is now archived and is closed to further replies.

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.