Rockons wont start

Hi,

I did the stupid thing of cleaning old snapshots and btrfs had some troubles with it. I seem to have my data around and only couple of errors (and balance doesn’t seem to start…)…

but anyway, get this error even when starting docker manually:
docker: Error response from daemon: stat /mnt2/rockons/btrfs/subvolumes/e0ef0dea9825c430a4c78c343a061b7cddf73535a2b6de0a1561c5446617c829: no such file or directory.

If I create directory there, it’s another error. Is there anyway to clean it all and start again (it’s just containers anyway, data is elsewhere)?

Sorry for the short response.
If you can uninstall all your Rockons (worst case use the command line).
You can create a new Rockon root and associate it in the service settings with the Rockon service. Then delete the old one. And then reinstall your Rockons. You can probably find after the first install which of the sub volumes/snapshots while the container layers and avoid deleting them in the future

2 Likes

Yeah, didn’t understand how the snapshots were related to the rockons. The whole pool has problems now (another HDD bought the farm), rebuilding space cache right now and removing missing drive. Will recreate if I get this up (I do have backup NAS though).

2 Likes

@Jorma_Tuomainen Hello again.

Firstly, what @Hooverdan said re recreating the Rock-on-root on a new share. And I’ve found a reboot useful sometimes to fully reset docker.

And, regarding no Web-UI guard rails plus:

We have the following issue that has some useful explanations & upstream links:

I.e. from: BTRFS storage driver | Docker Docs we have:

Only the base layer of an image is stored as a true subvolume. All the other layers are stored as snapshots, which only contain the differences introduced in that layer.

We are really just missing a warning here. We already indicate if a snapshot belongs to the Rock-ons-root share - but provide no guard against its deletion.

Hope that helps.

1 Like

Yeah got it working (emptied the rockons root). It was the second disk (after raid1 balance) that died that caused the problems. Still it seems that the btrfs mode comparing to overlay is redundant (since you can snapshot the whole rockons volume anyway).

2 Likes