Can't start Docker


Recommended Posts

Your sig says you are still on a very old v5rc, which of course is wrong since you were having docker issues before upgrading to 6.3.3. So, what version of unRAID did you just update from? Did you read the release notes for 6.3.3?

 

I have not looked at your syslog. For v6, unless we specifically ask for just a syslog, you should always go to Tools - Diagnostics and post the complete diagnostics zip, which contains syslog(s) and many other things which might help diagnose your problem.

Link to comment

Your cache drive is basically pooched

Quote

197 Current_Pending_Sector  0x0032   192   192   000    Old_age   Always       -      1463

 

Because of that, you've got tons of this:

 

pr  5 13:10:07 unraid kernel: ata6.00: status: { DRDY ERR }


Apr  5 13:10:07 unraid kernel: ata6.00: error: { UNC }
Apr  5 13:10:07 unraid kernel: ata6.00: configured for UDMA/133
Apr  5 13:10:07 unraid kernel: sd 6:0:0:0: [sdd] tag#3 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
Apr  5 13:10:07 unraid kernel: sd 6:0:0:0: [sdd] tag#3 Sense Key : 0x3 [current] 
Apr  5 13:10:07 unraid kernel: sd 6:0:0:0: [sdd] tag#3 ASC=0x11 ASCQ=0x4 
Apr  5 13:10:07 unraid kernel: sd 6:0:0:0: [sdd] tag#3 CDB: opcode=0x28 28 00 4b f8 00 c8 00 00 08 00
Apr  5 13:10:07 unraid kernel: blk_update_request: I/O error, dev sdd, sector 1274544331
Apr  5 13:10:07 unraid kernel: ata6: EH complete

 

Which culminates with the actual problem with docker:

Apr  5 13:19:29 unraid root: ERROR: unable to resize '/var/lib/docker': Read-only file system

Link to comment

Squid already answered your problem, but since you seemed unaware that you had a bad cache disk, I have to ask: Do you have Notifications setup?

 

For your sig, in the forum, if you click on the dropdown next to your name in the upper right corner and select Account Settings and then select Signature on the left, you will get to a page that will let edit your sig, and also you can turn on viewing signatures.

 

 

Link to comment

I swapped out my cache drive with something I had, and re-added the docker containers and that seemed to work fine. It still looked like I got some errors on that drive though. I'll buy a new cache drive soon and replace it.

 

Thanks for your help!

Link to comment

Your replacement cache is worse than the other one (and it was very bad).

  5 Reallocated_Sector_Ct   0x0033   041   041   140    Pre-fail  Always   FAILING_NOW 1265

Do you test your disks before using them?

 

Do you have Notifications setup? Even if you don't, the Dashboard should be showing you that you have a problem.

Link to comment

Thanks for looking at this. I ran preclear on all these disks, 3 passes, but it was probably over two years ago. I would have used this 2TB disk as a replacement if one of my array disks failed. I'm kind of glad this happened. Would it make sense to get an SSD for cache? I'll shop around for some backup drives for my array, too.

Link to comment

I also never looked at the dashboard because I always just assumed that a green dot on the main screen meant it was okay. On the dashboard, the cache drive has a yellow triangle warning icon there. Just checked my alert settings and they weren't working... probably since I turned on 2-step verification on my Google account. It's working now, but which alerts should I be making sure I get?

Link to comment
  • 4 years later...

I find myself in this same dark hole of docker not starting.  Attached are my diagnostics.

 

Extended smart tests on all drives turns up nothing (although the next day one of the drives that is very old has no record of the smart report, not sure if that is "normal."). Then I revisit later and it does see the test...weird...

Actually what i think happened here is that I kicked off smart extended on multiple drives at once, and the system can't keep them straight when you do that.  As I revisit the thing now, it sees the test again for that drive as completed without error and a different drive as test interrupted.  I think it is severely confused, so I'm kicking off the one that was supposedly interrupted again.

 

When I first saw the error, I decided to restart the thing. Upon reboot it started a parity check.  After 8 hours it finished successfully, corrected tens of errors supposedly.  Restarted again, still no docker.  I thought that was really odd, so I kicked off another parity check, but not correcting errors.  After just a few minutes it reported finding 17 errors.  I immediately cancelled and thought "oh no, my parity might be bad."

 

Then the smart tests that surfaced nothing.  Smart attributes on the ancient WDC Velociraptor show this that I believe is more likely not the drive but a cable or memory?

199 UDMA CRC error count, flag 0x003e, value 200, worst 200, threshold 000, type Old age, updated Always, failed Never, raw value 31

 

I've gone ahead and ordered a couple drives to be ready to act but also to move away from ReiserFS if I can figure out how to do that.

 

Any help is appreciated.




backup-diagnostics-20220315-2240.zip

Link to comment
5 hours ago, zaker said:

move away from ReiserFS if I can figure out how to do that.

Short answer, copy the files elsewhere, format to XFS or BTRFS, copy files back.

 

There is NO way to switch file systems in Unraid without losing the data that is on the drive.

 

Take a look at the sticky thread in the general support area for some strategies, my favorite is either a new additional drive as large or larger than any existing data drive, or if you have enough cumulative free space to empty your largest data drive by copying files to other drives.

 

Either way, copying is much faster than moving for a bunch of reasons, plus you can verify the copy is good before formatting the ReiserFS source drive.

 

It's possible you could get away with copying the data from the read only disk2 to another disk if you have enough space, then reformat that disk after the data on that disk is safely copied.

Link to comment

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.