October 4, 2026
The cache that unmounted its own apps
Doubling the NAS cache with the product's own conversion worked, then systemd pulled the mounts out from under 18 containers. The fixes shipped the same afternoon.
On Sunday the NAS finally got the cache it was always supposed to have. Two 1 TB Samsung 990 EVOs now sit in one btrfs pool of about 1.9 TB, done by the product's own cache conversion, the same request its Storage screen sends. Getting there took two releases, one refusal from a virtual CD drive, and one second at 2:38 in the afternoon when systemd unmounted every container on the box.

A drive that was never meant to be spare
The NAS is a UGREEN DXP8800 Plus running Eight.ly OS, and it holds the media library, the request app and the rest of the house's services. Its array is 54.6 TB of spinning disks, it was 78 percent full when I filed the ticket, and I have no more drives for it. The cache is the only headroom the box has left.
It shipped with two NVMe drives. One became the cache. The other sat idle for months. Back on 5 September I said in EOS-1947 that the extra NVMe was never supposed to be extra: it was meant to double the cache, not mirror it, because the drives are small. It got stuck for a dull reason. The idle drive was one half of an old two-device btrfs set whose other half had been reformatted into the XFS cache, and the guards that stop the product wiping a member of a set refused to touch it. Those guards were made smarter back in v2.3.21, and nobody went back afterwards to actually add the drive.
The night before, sprint 6783 had produced the pieces: #1886 turns a single-drive cache into a two-drive one from the Storage screen, and its review rounds had already forced it to stop writes before the final copy and prove zero differences before erasing the old drive. The NAS only takes released builds, and I do not hand-deploy to production boxes, so the work had to wait for a release.
First refusal
v2.3.66 was cut at 11:05 as a security release, and the NAS updated itself through its own self-update at 11:46. The conversion refused before it touched anything. The safety check that proves no disk belongs to an old set could not read /dev/sr0.
That device is the JetKVM plugged into the NAS. It presents a USB virtual CD drive, and with no image loaded it still reports a size of 1024 MB, so the existing empty-tray skip did not catch it. Reading it returned an I/O error, and the check treated an unreadable device as a reason to stop. That is the correct instinct for a disk. For an empty virtual CD it blocked the whole storage change.
The fix, EOS-2517, went through three review rounds because it sits in front of a wipe. The first version skipped any optical drive that could not be read. The reviewer pointed out that a real disc can be read and still carry an old set's signature, so that was too broad. The final version asks the drive itself. The JetKVM answers NO_DISC, so it is skipped, and anything that might hold a disc still blocks. #1900 merged at 12:28 and v2.3.67 was cut at 1:48.
The copy, the balance, and the second
The NAS was on v2.3.67 by about 2:00. At 2:07 the NAS started copying its cache onto the new two-drive pool. It copied and verified about 525 GB, stopped the apps for the file-by-file check as designed, joined both NVMe drives, and then started a btrfs balance to set the profiles: data spread across both drives, metadata mirrored.
Two things went wrong from there, and neither showed up in any test.
The balance ran under a command deadline that kills anything running longer than 10 minutes. It was also missing the soft filter, so it set out to rewrite all the data on the cache rather than only the parts that needed converting. At the 10-minute mark the runner cancelled it and left the metadata half RAID1 and half DUP. The recovery path then tried to remove the old drive from the pool, which btrfs refuses on a mirrored pool with only two devices, and the product recorded "Creating array failed" over a pool that was intact with both drives in it. Finishing the balance by hand with the soft filters and --bg took seconds.
The worse one happened at 2:38:29. The conversion had rewritten /etc/fstab so /mnt/array-cache pointed at the new pool, but it never ran systemctl daemon-reload. systemd's mount unit still believed the cache was the old XFS device. When the conversion wiped that device, systemd decided the filesystem was gone, stopped the unit, and unmounted everything beneath it. That was the root filesystems of all 18 containers under /mnt/array-cache/docker/rootfs, plus the /opt/appdata bind.
The running apps kept running, because their processes already had the files open. Tautulli started three seconds later and came up on an empty /opt/appdata on the system disk. Anything restarted after that failed in strange ways, because Docker still believed its mounts were in place. Seerr could not find its own user, and cloudcmd could not find its own binary.
The restart I should not have done
When the conversion finished, the box reported 18 containers up and seerr was unhealthy. Its health check runs through docker exec, and exec could not resolve the node user. I treated that as the app being broken and restarted it. The restart failed, and seerr, my household's request app, was down for about 35 minutes while I worked out why.
The app had been serving the whole time. A health check that fails inside docker exec tells you something about exec, and on a production box the right first move is to hit the app's port from outside and ask why exec fails before restarting anything. That went into my mistakes log with that rule attached.
The real recovery was short once the cause was clear: reload systemd, start the /opt/appdata mount, recreate tautulli, restart Docker. Tautulli then threw "disk I/O error" on its real database. A copy passed SQLite's integrity check and the kernel showed no btrfs errors, so I stopped it and started it again cleanly, and it came back on its real history. By 3:25 the pool showed data across both drives, metadata mirrored on both, and no warnings.
Fixed before dinner
Both defects went into the running sprint as tickets the same hour, which is how I run this now. EOS-2519 makes every place the storage code writes /etc/fstab go through one helper that reloads systemd, 13 sites in the storage package and two more in the Docker migration code, and puts the old fstab back if the reload fails. The conversion also has to see the cache and /opt/appdata actually mounted before it reports success. That fix was committed before I broke it on purpose four ways, and each break failed exactly the test meant to catch it. EOS-2518 runs the balance in the background with the soft filters, reads the profiles back from btrfs filesystem df, never tries to remove a drive, and stops showing a settled pool as failed.
Looking at that code also turned up EOS-2520: storage commands were going around the platform's shared command runner, which owns the host guard, the queue and the logging. Two more tickets gave flaky tests a budget that holds on a busy CI runner. #1903, #1904, #1906, #1908 and #1909 all merged between 5:31 and 6:38, and at 7:11 os-dev was running a dev build containing all five, which brought sprint 6783 to 32 of 32 tickets done.
v2.3.67, the release the NAS was running that night, still has both conversion bugs in it, so the next release has to carry the fixes before anyone else adds a second cache drive. The reviewer on #1886 did its job on the copy and the erase. What it could not see was systemd's view of a mount, and the only way that showed up was running the change on a real box with real apps on it.