Random Musings

O for a muse of fire, that would ascend the brightest heaven of invention!


Posts Tagged freebsd

  • Wrangling JSON in base FreeBSD with flua

    FreeBSD’s Release Engineering team has a strong preference for building all of FreeBSD, and creating the release artifacts, using only the base system. This is done to minimise the risk of untrusted c…

  • Creating custom OCI containers with buildah

    So far, this blog has touched on running and using existing containers, which is all well and good, but it’s a bit like eating raw oats for breakfast, sometimes you want to have something a little mor…

  • Adding per-jail metadata

    Igor & I have been working on adding arbitrary metadata for and within jails D47668 along with the weekly jails working group. The intent is to commit this reasonably soon to 15.0-CURRENT, and allow a…

  • Expanding a mirrored zpool in-place

    My main workstation, a consumer PC desktop, needs more storage. I’m moving from 2TiB NVMe to 4TiB NVMe, because at the end of the tax year, if you don’t spend the money, you get taxed on it. I’m not g…

  • A Brief Introduction to OCI Containers on FreeBSD

    OCI Containers on FreeBSD These Work-in-progress notes will be updated over time, and merged into the FreeBSD HandBook once they are complete. For the moment, have fun, and send feedback to dch@FreeBS…

  • Finding FreeBSD Images in Oracle Cloud

    Now that FreeBSD is available in the Oracle Cloud Marketplace, we want to make it easy for you to find the images you need for your projects. We obviously will be using the command line, so you’ll nee…

  • Using cloud-init on FreeBSD, in VMs, and Jails

    The Canonical project, cloudinit , has spread wide & far, becoming the de-facto runtime config option for first-run deployment modification. It is python-based, which makes it awkward to use at first-…

  • DIY Jails - EuroBSDcon tutorial

    Do-It-Yourself Jails One of FreeBSD’s unique features is the close alignment of containers, filesystems, and networking, within the base Operating System. There are many jail manager tools, but they a…

  • Terraforming a Custom FreeBSD image in OCI

    TBD.…

  • Using OCI command-line tools to Upload FreeBSD images

    This post is focused on uploading FreeBSD qcow2 images into Oracle’s OCI infrastructure, and massaging them to be available for general usage. It will be updated periodically, as we move from custom p…

  • Custom-built FreeBSD Images for OCI

    As part of getting FreeBSD running on OCI , we’ll need to teach the FreeBSD Release Engineering process and people how to build them, including our special tweaks and polishing. Assume we have locally…

  • Booting FreeBSD on Ampere's Awesome Altra CPUs

    This is a series of posts exploring how we can get FreeBSD to boot up in Oracle Cloud Infrastructure OCI , which is the commercially available source of the 160-core dual socket Altra CPUs from Ampere…

  • Oracle Cloud Signup

    Without question, the hardest thing about getting FreeBSD running on OCI Oracle Cloud is getting past the initial sign-up process. OCI Oracle has Intel, AMD Epyc, and Ampere Altra systems available, b…

  • Adding a new nvme drive

    # nvmecontrol devlist nvme0: Samsung SSD 970 PRO 1TB nvme0ns1 (976762MB) # nvmecontrol identify nvme0 Controller Capabilities/Features ================================ Vendor ID: 144d Subsystem Vendor…

  • Remote debugging with lldb-server

    This week, I have the unbridled displeasure of debugging a C++ project. Given that I’ve never written any C++, you can imagine this fills me with a generalised existential dread. I consider picking up…

  • What version am I running anyway?

    You’d think knowing what version of FreeBSD you are running is easy, but once you have jails, upgrades, boot environments, and just getting older, it’s hard to keep track. Guntbert emailed me about a …

  • Side-loading FreeBSD versions using Boot Environments

    In other words, upgrading a FreeBSD box the dirty way. This is very much a “works on my machine” approach but it should get you 90% of the way to dealing with your own. Expect annoying breakages and m…

  • FreeBSD ZFS notes

    References Get, and read, these books : Storage Essentials Specialty Filesystems ZFS & Advanced ZFS Cleaning up ZFS snapshots on low disk space Snapshots are taken automatically, of both jails (zroot/…

  • Restic for fast backups & restores

    restic is a high speed backup and recovery tool written in golang. It supports multiple remote storage options, and handles dedupe and encryption by default. It has a matching restserver remote backup…

  • Booting FreeBSD directly from firmware via HTTP

    HTTP booting FreeBSD If your UEFI firmware is later than 2.5 and you have a compatible NIC, it’s possible to for your computer’s boot sequence to hand off directly from the UEFI firmware to FreeBSD’s …

  • Upgrading FreeBSD the Dirty Way

    For some reason, you’re unable to simply upgrade this system the normal way. Instead, we’ll use the new bectl feature to provide a boot environment, and do a dirty upgrade inside that, out of the way …

  • An introduction to FreeBSD packaging

    FreeBSD 10+ provides a new pkg(7) tool and a new efficient binary format for storing package info, with similar functionality to apt or yum in Linux distros. Despite this, building custom packages on …

  • Your Infrastructure should be Boring

    Imagine if every time you picked up your phone to make a call, they had completely re-designed and re-invented the buttons on it. Or if you went to turn on the stove, instead of having a button or kno…

  • IOCaging up the RabbitMQ

    Here, I’ll show you how to set up rabbitmq , a well-known open source message queue system, based on Erlang/OTP, in a container, using a tool called iocage that runs on FreeBSD, using zfs and jails th…

  • 1