December 5, 20232 yr When I try to start the Docker service I receive the following error: Docker Service failed to start. I noticed the docker.img file size is 2.15TB. I believe the docker.img is corrupt somehow. Therefore, I tried to delete the docker.img but the file will not get deleted. Any help to restore my docker is appreciated. The following snippet from the sys.log might be helpful. Dec 5 22:21:32 emhttpd: shcmd (201): /usr/local/sbin/mount_image '/mnt/cache/system/docker/docker.img' /var/lib/docker 25 Dec 5 22:21:32 root: truncate: cannot open '/mnt/cache/system/docker/docker.img' for writing: Read-only file system Dec 5 22:21:32 kernel: loop2: detected capacity change from 0 to 4194304000 Dec 5 22:21:32 kernel: BTRFS: device fsid b1587620-9193-4f4a-99ca-589fb7737f60 devid 1 transid 4014766 /dev/loop2 scanned by mount (30777) Dec 5 22:21:32 kernel: BTRFS info (device loop2): using crc32c (crc32c-intel) checksum algorithm Dec 5 22:21:32 kernel: BTRFS info (device loop2): using free space tree Dec 5 22:21:32 kernel: BTRFS info (device loop2): bdev /dev/loop2 errs: wr 953, rd 0, flush 0, corrupt 0, gen 0 Dec 5 22:21:32 kernel: BTRFS info (device loop2): enabling ssd optimizations Dec 5 22:21:32 root: ERROR: unable to resize '/var/lib/docker': Read-only file system Dec 5 22:21:32 root: Resize device id 1 (/dev/loop2) from 1.95TiB to max Dec 5 22:21:32 emhttpd: shcmd (203): /etc/rc.d/rc.docker start Dec 5 22:21:32 root: starting dockerd ...
December 6, 20232 yr Author Please see attached diagnostics. Edited January 4, 20242 yr by clockwork-wizard
December 7, 20232 yr Community Expert Solution Dec 6 20:50:06 TWWServer kernel: BTRFS info (device dm-5): bdev /dev/mapper/sdc1 errs: wr 0, rd 0, flush 0, corrupt 24, gen 0 Dec 6 20:50:06 TWWServer kernel: BTRFS info (device dm-5): bdev /dev/mapper/sdd1 errs: wr 0, rd 0, flush 0, corrupt 24, gen 0 Btrfs is detecting data corruption on both devices, start by running memtest, after that suggest backing up what you can from the pool and re-formatting, docker image will also need to be recreated.
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.