Juno<p>Today, out of nowhere, my shell started to misbehave. My prompt suddenly reverted to default. Some unexpected "command not found" errors started popping up. Something was off.</p><p>I went to check my shell configuration. The directory was not there. I then went look into ~/.config. Half of the directories inside were simply gone.</p><p>I immediately flipped into what the fuck is happening mode.</p><p>This system is an Alpine root-on-ZFS. I have a script called by cron every 20 minutes that snapshots everything.</p><p>First I went into the snapshot directory and started copying some things. I soon noticed it was just too much missing. How to map out what was gone in the first place? Even so, copying would only go so far because I was duplicating things.</p><p>I looked to my left at the resource monitor. I had less than 1 GB left of free space. That was not going to work.</p><p>I flip some pages, looking for an incantation...</p><p> % zfs rollback zroot/home@20m</p><p>A long second hanged in the air. Then all the resource monitor's bars flipped at once to green: 53% free space. </p><p>"Blessed be the ZFS Daemons and the Authors who conjured Them."</p><p>The system was still confused, so I rebooted. It let its conscience drift - as it is used to -, uncertainty still heavy in the air. Then it resurfaced... every line of output unconcerned.</p><p>Back up, no trace was left of the seconds leading up to the warp. The only suspicion came from a cryptography guardian, who noticed something was wrong about the timestamps. "Please re-enter the passcodes", it asked. Every other blob was either unconcerned or unimpressed with the glitch.</p><p>Like any time travel, the only trace left was in my memory. No history anywhere has me looking for that spell. I booted 20 minutes into the past and that's from when I am writing to you.</p><p><a href="https://mastodon.bsd.cafe/tags/ZFS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ZFS</span></a></p>