razorhazor Posted June 27, 2018 Share Posted June 27, 2018 I've come back to my server after a while and the Docker service appears to be stopped. I've tried deleting the docker.img, resizing it to 30GB and moving it off my cache drive to no avail. I've also remove my parity drive from my array as its starting to kick out SMART errors. Can someone see any clues in my diagnostic log? Thanks! tower-diagnostics-20180627-2023.zip Link to comment
Squid Posted June 29, 2018 Share Posted June 29, 2018 The image is messed up. This is what you're going to have to do On the flash drive, edit the file called config/docker.cfg Change DOCKER_ENABLED from "yes" to be "no" Restart the system. Once its back up, go to Settings, Docker, advanced view and then delete the image Re-enable Docker Go to Apps, Previous Apps, check off what you want, and you'll be back in business in a couple of minutes. If that doesn't get you anywhere, then I'd say it's some sort of corruption on the cache drive preventing the image from forming correctly (I'm not a big fan of BTRFS for cache drives unless you are planning on running a cache pool - XFS anecdotally causes people far less problems Link to comment
razorhazor Posted July 1, 2018 Author Share Posted July 1, 2018 On 6/29/2018 at 10:51 PM, Squid said: The image is messed up. This is what you're going to have to do On the flash drive, edit the file called config/docker.cfg Change DOCKER_ENABLED from "yes" to be "no" Restart the system. Once its back up, go to Settings, Docker, advanced view and then delete the image Re-enable Docker Go to Apps, Previous Apps, check off what you want, and you'll be back in business in a couple of minutes. If that doesn't get you anywhere, then I'd say it's some sort of corruption on the cache drive preventing the image from forming correctly (I'm not a big fan of BTRFS for cache drives unless you are planning on running a cache pool - XFS anecdotally causes people far less problems That sorted it thanks. Link to comment
docbrown Posted July 4, 2018 Share Posted July 4, 2018 Same thing has happened to me, I'm in the process of taking the above steps but I thought I'd submit my diagnostics as well in case it becomes a bigger issue for everyone. EDIT: followed the steps, but no luck for me unfourtunatley, I'm still getting the same BTRFS error Quote Jul 4 21:18:39 trustno1 kernel: BTRFS error (device loop3): bad tree block start 0 50819923968Jul 4 21:18:39 trustno1 kernel: BTRFS error (device loop3): bad tree block start 0 50819923968Jul 4 21:18:39 trustno1 root: mount: /var/lib/docker: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or helper program, or other error. Any ideas? Any help is much appreciated. trustno1-diagnostics-20180704-2110.zip Link to comment
lionelhutz Posted July 4, 2018 Share Posted July 4, 2018 If you have a single cache drive then you have to re-format it and start over with it. If you have a cache pool then try the scrub on it. Link to comment
JorgeB Posted July 4, 2018 Share Posted July 4, 2018 It's enough to delete and recreate the docker image. Link to comment
docbrown Posted July 5, 2018 Share Posted July 5, 2018 I appreciated everyones help. So XFS is preferred when I reformat? Does it matter if all the other drives are BTRFS? Link to comment
JorgeB Posted July 5, 2018 Share Posted July 5, 2018 You don't need to reformat, just delete and recreate the docker image. Link to comment
docbrown Posted July 5, 2018 Share Posted July 5, 2018 8 minutes ago, johnnie.black said: You don't need to reformat, just delete and recreate the docker image. Sorry as I mentioned above in an edit I followed all the steps, one of which was deleting the image and then I still got the quoted error in red. Link to comment
JorgeB Posted July 5, 2018 Share Posted July 5, 2018 1 minute ago, docbrown said: Sorry as I mentioned above in an edit I followed all the steps, one of which was deleting the image and then I still got the quoted error in red. Thta's weird, don't know if reformatting will help with that, but you can try, as for btrfs or xfs if it's single device and you don't care for checksums and snapshots you can use xfs which is usually more resilient than btrfs and more easily fixable when there is corruption. Link to comment
docbrown Posted July 5, 2018 Share Posted July 5, 2018 2 minutes ago, johnnie.black said: Thta's weird, don't know if reformatting will help with that, but you can try, as for btrfs or xfs if it's single device and you don't care for checksums and snapshots you can use xfs which is usually more resilient than btrfs and more easily fixable when there is corruption. Thanks, I’ll give it another shot deleting it tonight if that doesn’t work I’ll then reformat. Link to comment
JorgeB Posted July 5, 2018 Share Posted July 5, 2018 53 minutes ago, docbrown said: Thanks, I’ll give it another shot deleting it tonight if that doesn’t work I’ll then reformat. Yes, make sure it really was deleted since it wasn't on the diags you posted, unless you rebooted after doing it, and there are no apparent issues with the cache filesystem. Link to comment
docbrown Posted July 5, 2018 Share Posted July 5, 2018 6 hours ago, johnnie.black said: Yes, make sure it really was deleted since it wasn't on the diags you posted, unless you rebooted after doing it, and there are no apparent issues with the cache filesystem. Thanks for your help, I went through the steps again and this time it worked. Not sure what I did wrong the first time. Thanks again. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.