Category: General

  • Slow iSCSI performance on ZFS Volumes (zvol)

    TL;DR: For reasons, don’t use ZVOLs for iSCSI volumes. Instead, just use a generic file. I’ve been reorganizing my lab a bit to consolidate some storage and wanted to experiment with iSCSI. I thought “wow, what a great use-case for ZFS ZVOLS…”. If you recall, ZFS has the ability to create block devices called ZVOLs.…

  • Finding Idle Cloud Desktops (Linux)

    Suppose you’re hosting remote Linux desktops in your cloud environment and want to discover which ones could be able to shutdown to save on valuable resources like money, RAM, or CPU. Most Linux remote desktop protocols still utilize Xorg (as opposed to Wayland) for their display server. Prime examples would be tigervnc, tightvnc, or X2go.…

  • Create SSL Cert and Key

    Sometimes during development you may find yourself needing an SSL certificate and key to test with. I’ve had to do this so much I went ahead and added the below function to my ~/.bashrc file. Now, I can create certs on-the-fly without having to look it up in my notes. Here’s how it looks in…

  • Windows VM using LXD

    It’s not entirely obvious how to create a Windows Virtual Machine when using LXD. Here are the most basic steps to get it up and running. This is largely for my own documentation but will probably help someone else out there I’m sure. The easiest option is to embed the VirtIO drivers directly into the…

  • Hashicorp Vault Dev Mode

    Ever needed to spin-up a quick Vault cluster to test commands or functionality? Sure, you could spin up minikube and deploy a helm chart, but what if you could do it even faster, without Kubernetes? Vault actually has some *currently* undocumented command-line options that can save you a ton of time. Read on, brother. I…

  • IP Address Discovery for LXD Machines

    IP Address Discovery for LXD Machines

    I’m currently working on a side project that uses LXD as the primary back-end hypervisor (more backends to come, looking at libcloud). It seems pretty well thought out and, so far, it’s been really nice to work with. I did run into a snag however, but it’s not really a fault of LXD. I needed…