Russell Coker: More BTRFS Fun
I wrote a BTRFS status report yesterday commenting on the uneventful use of BTRFS recently [1].
Early this morning the server that stores my email (which had 93 days uptime) had a filesystem related problem. The root filesystem became read-only and then the kernel message log filled with unrelated messages so there was no record of the problem. I m now considering setting up rsyslogd to log the kernel messages to a tmpfs filesystem to cover such problems in future. As RAM is so cheap it wouldn t matter if a few megs of RAM were wasted by that in normal operation if it allowed me to extract useful data when something goes really wrong. It s really annoying to have a system in a state where I can login as root but not find out what went wrong.
After that I tried 2 kernels in the 3.14 series, both of which had kernel BUG assertions related to Xen networking and failed to network correctly, I filed Debian Bug #756714. Fortunately they at least had enough uptime for me to run a filesystem scrub which reported no errors.
Then I reverted to kernel 3.13.10 but the reboot to apply that kernel change failed. Systemd was unable to umount the root filesystem (maybe because of a problem with Xen) and then hung the system instead of rebooting, I filed Debian Bug #756725. I believe that if asked to reboot a system there is no benefit in hanging the system with no user space processes accessible. Here are some useful things that systemd could have done:
- Just reboot without umounting (like reboot -nf does).
- Pause for some reasonable amount of time to give the sysadmin a possibility of seeing the error and then rebooting.
- Go back to a regular runlevel, starting daemons like sshd.
- Offer a login prompt to allow the sysadmin to login as root and diagnose the problem.

Yay!
Today I finally submitted our book, Fundamentos de Sistemas Operativos, for the Editorial Department of our institute. Of course, I'm not na ve enough to assume there won't be a heavy editorial phase, but I'm more than eager to dive into it... And have the book printed in maybe two months time!
Of course, this book is to be published under a free license (CC-BY-SA). And I'm talking with the coauthors, we are about to push the Git repository to a public location, as we believe the source for the text and figures can also be of interest to others.
The book itself (as I've already boasted about here :- ) is
This is time again for my annual report about the number of developers per
country.
This is now the sixth edition of this report. Former editions:
I'll be moving places twice within the next month and as I'm hosting the
machine that generates the data, I'll temporarily suspend the
Finally I find the mood to do this, a process which started 5 years ago in
start-stop-daemon is the classic tool on Debian and derived distributions to manage system background processes. A typical invokation from an initscript is as follows: