DesertCookie Posted May 16, 2022 Share Posted May 16, 2022 (edited) After replacing two 4TB drives with a single 12TB drive I just had started rebuilding parity when I noticed Docker would not start: Warning: stream_socket_client(): unable to connect to unix:///var/run/docker.sock (No such file or directory) in /usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php on line 682 Couldn't create socket: [2] No such file or directory Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php on line 866 I had restarted the server after stopping the array took longer than 20 minutes; an occurrence I have noticed to happen about 50% of the time in my case. What to do in this situation? stower20-diagnostics-20220516-2122.zip Edited May 16, 2022 by DesertCookie added more detail Quote Link to comment
Solution JorgeB Posted May 17, 2022 Solution Share Posted May 17, 2022 Docker image is corrupt, delete and re-create. 1 Quote Link to comment
unRAIDuser7 Posted June 1, 2022 Share Posted June 1, 2022 Well that's a coincidence! I just did a parity swap to get a larger drive and I'm now also getting that exact same message about Docker! Except that I never had any issues restarting to shutting down my server during the process. Just pressed the button to "Parity-Sync/Data-Rebuild", waited for the array to start, went to the docker tab and BAM error message. Quote Link to comment
trurl Posted June 1, 2022 Share Posted June 1, 2022 20 minutes ago, unRAIDuser7 said: BAM error message If you want help attach diagnostics to your NEXT post in this thread Quote Link to comment
unRAIDuser7 Posted June 1, 2022 Share Posted June 1, 2022 Sure. Much appreciated! helios-diagnostics-20220601-1640.zip Quote Link to comment
JorgeB Posted June 2, 2022 Share Posted June 2, 2022 Strange, not seeing an attempt to start docker after the rebuild started, once the rebuild finishes reboot and post new diags if it still doesn't start. Quote Link to comment
unRAIDuser7 Posted June 3, 2022 Share Posted June 3, 2022 Rebooted after the rebuild and Docker started fine…who knows. 1 Quote Link to comment
macmus Posted January 8, 2023 Share Posted January 8, 2023 I just got same error Could someone have a look ? tower-diagnostics-20230108-0650.zip Quote Link to comment
trurl Posted January 8, 2023 Share Posted January 8, 2023 Your system share is all over the array. Not sure how you could even get it on so many disks, since it normally only has 2 files in it. What do you have in system share besides docker.img and libvirt.img? Quote Link to comment
macmus Posted January 8, 2023 Share Posted January 8, 2023 I'm not sure what you mean ? Is there anything wrong ? Quote Link to comment
trurl Posted January 8, 2023 Share Posted January 8, 2023 4 minutes ago, macmus said: Is there anything wrong ? You said there is. I'm just trying to get an idea of how you have things setup so we can talk about how to fix. 28 minutes ago, trurl said: What do you have in system share besides docker.img and libvirt.img? Quote Link to comment
macmus Posted January 8, 2023 Share Posted January 8, 2023 (edited) I mean docker/libvm does not start after shaping parity and going to copy and rebuild process. Index of /mnt/user/system TYPE NAME SIZE LAST MODIFIED LOCATION custom_ovmf<FOLDER>2021-04-04 13:54disk6 docker<FOLDER>2019-05-02 22:08disk1, disk4 libvirt<FOLDER>2019-05-02 22:08disk1, disk2 Index of /mnt/user/system/custom_ovmf TYPE NAME SIZE LAST MODIFIED LOCATION Parent Directory .DS_Store6.15 KB2021-04-04 13:54disk6 Macinabox_CODE-pure-efi.fd3.65 MB2021-04-04 13:54disk6 Macinabox_VARS-pure-efi.fd131 KB2021-04-04 13:54disk6 readme.txt786 B2021-04-04 13:54disk6 ndex of /mnt/user/system/docker TYPE NAME SIZE LAST MODIFIED LOCATION Parent Directory docker.img26.8 GB2023-01-07 14:09disk4 ndex of /mnt/user/system/libvirt TYPE NAME SIZE LAST MODIFIED LOCATION Parent Directory libvirt.img1.07 GB2023-01-07 14:09disk2 I was swiping sdk with parity disk2. Edited January 8, 2023 by macmus Quote Link to comment
trurl Posted January 9, 2023 Share Posted January 9, 2023 5 hours ago, macmus said: I was swiping sdk with parity disk2. Looks like you were doing parity swap with parity2 and disk3. Post new diagnostics when that has completed. Quote Link to comment
macmus Posted January 9, 2023 Share Posted January 9, 2023 2 hours ago, trurl said: Looks like you were doing parity swap with parity2 and disk3. Post new diagnostics when that has completed. I did that .. Stop failed .. so I hard to do hard reboot.. After it came back I was able to start array and it's now up and running with libvirt also up.. Strange and scary! I'm planning to do more of that .. but the whole process took I think 40h!! + scary experience.. Quote Link to comment
trurl Posted January 9, 2023 Share Posted January 9, 2023 9 hours ago, trurl said: Your system share is all over the array Since I already explained these shares several times recently, I will just post a link. Quote Link to comment
macmus Posted January 9, 2023 Share Posted January 9, 2023 15 hours ago, trurl said: Since I already explained these shares several times recently, I will just post a link. Thank you for the link... but if I hold it on the cache disk something goes wrong with this cache I will lost both files and won't be able to recover ? Quote Link to comment
trurl Posted January 9, 2023 Share Posted January 9, 2023 Your new text was inside my quote and I almost didn't see it since I had to expand. You might be more careful in future. 2 hours ago, macmus said: Thank you for the link... but if I hold it on the cache disk something goes wrong with this cache I will lost both files and won't be able to recover ? You should have backups for appdata and libvirt whether it is on cache or not. The Apps page has plugins for that. And, in general, parity is not a substitute for backup anyway. Quote Link to comment
macmus Posted January 10, 2023 Share Posted January 10, 2023 (edited) 3 hours ago, trurl said: Your new text was inside my quote and I almost didn't see it since I had to expand. You might be more careful in future. You should have backups for appdata and libvirt whether it is on cache or not. The Apps page has plugins for that. And, in general, parity is not a substitute for backup anyway. how much of performance ill get by moving system to cache ? does it impact regular running of vms ? i have 1 passthrough vm and few with vdisks on array Edited January 10, 2023 by macmus Quote Link to comment
trurl Posted January 10, 2023 Share Posted January 10, 2023 Probably won't affect VMs as much as dockers since container executables are there. But array disks can't spin down with system on the array since those files are always open. Quote Link to comment
macmus Posted January 10, 2023 Share Posted January 10, 2023 11 hours ago, trurl said: Probably won't affect VMs as much as dockers since container executables are there. But array disks can't spin down with system on the array since those files are always open. How important is spinning down the array ? Quote Link to comment
trurl Posted January 10, 2023 Share Posted January 10, 2023 22 minutes ago, macmus said: How important is spinning down the array ? How important is it to you? If your server is inactive for hours at a time it can save power if they are spun down, and might prolong disk life. If your server isn't inactive for long periods, then spinning them up frequently might have the opposite effects. Quote Link to comment
Recommended Posts
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.