Replacing a Disk in a Zpool

ZFS is one of my favorite file systems. I use it at home on my nas server (running FreeBSD) as well as my Fedora 32 desktop. Today, I’m going to show you (and my future self) how to replace a (faulty) disk in a Zpool. The server I’ll be working on is nas2 and the pool is tank. List the status of the current pool. Password: root@nas2:~ # zpool status tank pool: tank state: DEGRADED status: One or more devices could not be opened....

September 20, 2020 · 3 min · 445 words · kenno

Pairing Bluetooth Mouse on Gentoo

Just a few a days ago, I wrote a blog post about Pairing Bluetooth Mouse on Command Line on a Fedora laptop. So why do I need to write another post about doing the same thing on Gentoo? Well, as it turned out, I need a bit more than just turning on the bluetooth service and pairing the mouse. My Gentoo’s installation is very minimal, and I think this gives me an excuse to document on how I’d solve or get this working on Gentoo....

September 13, 2020 · 6 min · 1148 words · kenno

Resizing a GPT Partition

One of my virtual machines runs out of disk space in the root (/) partition, and I want to remove the /home partition and using this free space to resize the root partition. Nowadays, for any serious systems, I’d use LVM with XFS on top. However, for this test VM, I have a virtual disk with 4 partitions without LVM. Managing partition on LVM is much easier than working the disk partition directly....

September 10, 2020 · 3 min · 556 words · kenno

Pairing Bluetooth Mouse on Command Line

Ever since I’ve switched from Gnome to DWM on my main laptop, I have to perform most things on command line now. I know, right? :P Anyway, I need to pair a bluetooth mouse, Logi MX Anywhere 2S, with this Fedora laptop. I had a similar post a while back about connecting Bose QC35 to Fedora 29. So this is quite similar to that post. First, ensure that bluetooth.service is running:...

September 9, 2020 · 2 min · 323 words · kenno

Pfl Provides whatprovides on Gentoo

On Fedora or CentOS, on way to find out what package providing a file we can use yum whatprovides [FILENAME] or dnf whatprovides [FILENAME] on a DNF-aware system. # dnf whatprovides tmux Last metadata expiration check: 2:33:06 ago on Wed 09 Sep 2020 09:45:07 PM AEST. tmux-3.0a-2.fc32.x86_64 : A terminal multiplexer Repo : @System Matched from: Provide : tmux = 3.0a-2.fc32 tmux-3.0a-2.fc32.x86_64 : A terminal multiplexer Repo : fedora Matched from: Provide : tmux = 3....

September 4, 2020 · 2 min · 316 words · kenno