ZFS

Bacula – calculating Maximum Volume Bytes and Maximum Volumes based on historical data

I’ve used Bacula since at least January 2004 (so nearly 20 years). I liked it so much I dropped my deployment-in-motion of another tool (if you search lightly, you can find out which one). I liked it so much, I wrote a PostgreSQL backend for it. This post is not for Bacula novices. This post is for those who have already deployed a Bacula instance and are rather familiar with the process. I […]

Bacula – calculating Maximum Volume Bytes and Maximum Volumes based on historical data Read More »

Moving ZFS filesystems/datasets from one ZFS zpool to another

Now that I’ve filled up data01, I bought some more SSDs and created another zpool. Today, on this snow-is-anticipated Saturday winter morning, I’m going to move some ZFS filesystems/datasets around. Side note: I like the term dataset better than filesystem. man zfs talks about datasets, which can be a file system, a volume, a snapshot, or a bookmark. However, usually when I talk about a filesystem, it might be dataset. It’s a fine

Moving ZFS filesystems/datasets from one ZFS zpool to another Read More »

Dan makes another zpool

I spent my lunch, and most of my mortgage payment, on 4 x 4TB Blue 4TB SSD 3D NAND (WDS400T2B0A). In this post: FreeBSd 13.1 smartctl output partition creation zpool creation In they go This is them, being inserted into the system: I am concerned by that 150.000MB/s transfers smartctl Let’s look at the smartctl output, just in cases there are returns. What speed can that drive do? I was concerned about that

Dan makes another zpool Read More »

booting without mrsas driver – lots of errors

Today I noticed that all the drives in the R730 host had 150MB/s speeds mentioned in the boot messages. They are all SSDs on an SAS bus. They should be at 600.000MB/s. The HBA in question is a AVAGO MegaRAID SAS FreeBSD (aka PERC H730P Mini). It can use either the mfi driver (default) or the mrsas driver (by setting hw.mfi.mrsas_enable=”1″ in /boot/loader.conf This is an SSD in a PCIe slot: This is

booting without mrsas driver – lots of errors Read More »

Wrong recordsize on zfs send | zfs recv filesystems

Over the past few days, I’ve posted a lot about transferring jails from two hosts into one host. One of the steps involves using zfs send | zfs recv to send the files from one host to another. I’m using syncoide for that transfer. A new fileystem’s recordsize defaults to 128K. In my case, that is usually OK, except for some specific datasets. For example: * video * backups * distfiles (tarballs) Here

Wrong recordsize on zfs send | zfs recv filesystems Read More »

Transferring a jail from one host to another

I’ve started merging these two hosts: r710-01 slocum into this one host: r740-01 The goal is to then retire those first two hosts. This post covers the initial bulk copy of all the data from two hosts into the one. In this post: FreeBSD 13.1 Each jail runs on its own zfs filesystem Not covered by this post Creating jails Creating snapshost Detailed usage of syncoid hosts not using zfs The overall process

Transferring a jail from one host to another Read More »

error: cannot open ‘.git/FETCH_HEAD’: No space left on device

After moving the poudriere jail (pkg01) to the new host (r730-01), I noticed this message from Nagios: That “email found in . /var/mail/dan” message is significant. In general mail on my hosts/jails is not delivered locally. It all goes off-host. That’s why I have this Nagios check. When mail like that is found, it’s either a configuration error or something local has gone wrong. In this post: FreeBSD 13.1 poudriere-3.3.7_1 NOTE: This is

error: cannot open ‘.git/FETCH_HEAD’: No space left on device Read More »

using syncoid to backup ZFS snapshots – home assistant

Copies of data are good. Especially if on a different host. zfs snapshots combined with zfs send | zfs recv make replication of zfs file systems especially easy. I am already using sanoid to manage zfs snapshots. Now I’m going to use syncoid to transfer those snapshots to another host. Both sanoid and syncoid are provided by the sanoid package on FreeBSD. I’m sure any other packaging system does similar. In this post:

using syncoid to backup ZFS snapshots – home assistant Read More »

Upgrading an NVMe zpool from 222G to 1TB drives

The FreshPorts dev, test, and stage websites are hosted on a server in my basement. Each instance consists of two jails: an ingress node – for pulling in new commits (and other data) into the database. a webserver node – for displaying the web pages. The new drives: Sometimes the zpool gets too close to full. I tweeted about one incident on March 2021. I held hope that some spare SSDs might be

Upgrading an NVMe zpool from 222G to 1TB drives Read More »

Where’s my drives?

This is just rough notes for myself. List the gpart output for each drive in my system. for drive in $(sysctl -n kern.disks) do gpart show $drive done gpart: No such geom: da11. => 40 9767541088 da10 GPT (4.5T) 40 8392664 – free – (4.0G) 8392704 9758048256 3 freebsd-zfs (4.5T) 9766440960 1100168 – free – (537M) => 40 976773088 da9 GPT (466G) 40 2008 – free – (1.0M) 2048 838860800 1 freebsd-zfs (400G)

Where’s my drives? Read More »

Scroll to Top