So I can look it up later: When a drive that is part of a zfs pool fails and has already been physicall replaced in the server. zpool status looks like this: Logically replacing that failed (and removed) disk with the a new one is done with zpool replace: Where the long number is the … Continue reading Replacing a failed drive in a zfs pool
Category: Linux
Installing Webmin on Ubuntu 22.04 server
As a follow up to my notes on installing Webmin on Ubuntu 16.04 and 18.04 (on 20.04 it worked as in 18.04) now two additional steps are necessary for Ubuntu 22.04. Those steps must be executed as root: Convert Webmin's PGP key to a format that apt can use to verify files: Add that key … Continue reading Installing Webmin on Ubuntu 22.04 server
Setting colors for Linux ls command
Those people who selected the default colors for the Linux ls command must have much better eyes than I. E.g. I think that dark blue text on black background is very difficult to read, but apparently they think it is fine. Fortunately it is easy to change these colors by setting the LS_COLORS environment variable. … Continue reading Setting colors for Linux ls command
Thunderbird 102.0.3 no longer asks to accept a self signed certificate for IMAP
One of my computer's hard disk didn't survive a recent power failure so I had to set up its Thunderbird client again (a backup didn't work, don't ask). My internal IMAP server uses a self signed certificate which worked like a charm until now. Normally, the first time Thunderbird connects to the server after the … Continue reading Thunderbird 102.0.3 no longer asks to accept a self signed certificate for IMAP
Some Linux tools for handling and filtering the passwd file
Linux (and other Unixes) store user information in a file called passwd and the associated passwords in another file called shadow, both located in /etc. Both files are text files and use a : as the field separator. I currently have the need to sort and filter these files in various ways. This post is … Continue reading Some Linux tools for handling and filtering the passwd file
30 years of Linux
Just in case you have been living under a rock: Linux is now 30 years old and while it still hasn't conquered the desktop, there are few smart phones that would work without it and also on the server side it's pretty strong (I have been maintaining Linux servers on the side for more than … Continue reading 30 years of Linux
When initramfs gives you cryptic error messages
Note to self: If during a Linux update you get the following error: Check the content of the file /etc/initramfs-tools/conf.d/resume which sets the above mentioned RESUME variable. It probably contains an old UUID. Change it to the correct one and rebuild your ramfs with That should do the trick. The current swap partition is usually … Continue reading When initramfs gives you cryptic error messages
Adding a Windows 10 computer to a Samba (NT4) domain
Microsoft is trying to force everybody to update from the old NT4 domain system to the "new" (as in "was new >10 years ago") Active Directory system. While that's probably a good idea for most people there are some like me stuck with a working Samba installation that for some reason needs to continue to … Continue reading Adding a Windows 10 computer to a Samba (NT4) domain
Allow svn:author to be changed for a subversion repository
Note to self: In order to allow changes to the author of an svn commit, the pre-revprop-change hook of the repository must be changed like this: Insert the line just below the existing, similar line that allows changing svn:log. Omitting the comments the script will then look like this: The script is located in the … Continue reading Allow svn:author to be changed for a subversion repository
Extract jpeg files from mjpeg video on Linux
Just in case I ever need it again: Extracting all frames from an mjpeg video as jpegs is easy and very fast with ffmpeg, because it does not need to decode and encode the pictures, just prepend the DHT to each one: Source ffmpeg documentation.