ZFS

Adding a new user to my Time Capsule – on ZFS with Samba

I have another laptop I want to backup using my Time Capsule jail. Here are the step I used. Create a Unix User I have no idea if I need to do this. But I did. But now, I’m thinking, it is not required, at all. But read on, I think I’ll show you where I use it. [21:56 tm dvl ~] % sudo adduser Username: dvl-pro04 Full name: For backing up pro04 […]

Adding a new user to my Time Capsule – on ZFS with Samba Read More »

OK, we got a Time Machine on ZFS on FreeBSD. So what. Can we restore from it?

I have written recently about creating a ZFS-based Time Machine on FreeBSD. Yesterday, I did my first restore from this instance. Surprise. It worked. Please move along. Nothing to see here. Just photos. The motivation: I’m replacing one MacBook with another. Some details here on Twitter. Edit – 2024-02-22 After I messed up when renaming a user account, I restored from backup. Since my Time Machine is only available via my VPN, I

OK, we got a Time Machine on ZFS on FreeBSD. So what. Can we restore from it? Read More »

Creating a Time Capsule instance using Samba, FreeBSD, and ZFS (latest)

This is a rewrite of a previous post on the same subject. I have rewritten it because I created a new jail ™ and I’m using a different configuration now. I recently moved a Time Capsule instance from a FreeBSD host into a jail. Later, I moved to using Samba instead of AFP. Why? Samba seems to be the preferred solution because AFP has been deprecated. It still works, but let’s go Samba.

Creating a Time Capsule instance using Samba, FreeBSD, and ZFS (latest) Read More »

FreeBSD jailed ZFS datasets – how do I find the .zfs/snapshot directory?

On FreeBSD, you can jail a ZFS dataset – that is, the jail can manipulate the ZFS dataset as if it was a host (more or less). This has useful applications. In my case, I want to backup a snapshot of that dataset from the host. For example, I want to backup this dataset: [12:19 r730-01 dvl ~] % zfs list data02/freshports/jailed/dev-ingress01/data/latest_commits NAME USED AVAIL REFER MOUNTPOINT data02/freshports/jailed/dev-ingress01/data/latest_commits 572K 798G 120K /var/db/ingress/latest_commits Within

FreeBSD jailed ZFS datasets – how do I find the .zfs/snapshot directory? Read More »

Backing up FreeBSD with Bacula via ZFS snapshot

Tonight, while watching an episode of The Great British Bake Off, I configured a new Bacula backup jobs to cover some datasets which were not already backed up. I already have a backup jobs to backup all the jails, but only for datasets which sit right under zroot/jails (for example). This new solution takes a list of datasets, snapshots them, backs them up, then destroys those snapshots. Why backup a snapshot? Consistency. During

Backing up FreeBSD with Bacula via ZFS snapshot Read More »

Debugging snmp output when using LibreNMS

Librenms is my tool-of-choice for grabbing metrics from switches, servers, wireless access points, and anything else with an snmp interface. In this post: FreeBSD 14.0 LibrenMS 23.11.0,1 – updated to 23.11.0_1,1 within this post net-snmp-5.9.1_4,1 After updating some hosts to FreeBSD 14, the zfs application/extension broke. It was quickly amended after a report was lodged. However, after the fix, I still wasn’t getting graphs. It was nan all across the board for ZFS:

Debugging snmp output when using LibreNMS Read More »

Jails with embedded, but not jailed, ZFS datasets – how to mount/umount – corrected

This is a rewrite of Jails with embedded, but not jailed, ZFS datasets – how to mount/umount. First, this is not about jailed ZFS datasets. I use them for FreshPorts, but that’s not I’m going to talk about here. In this post: FreeBSD 13.2 This is my example: [22:25 r730-03 dvl ~] % zfs list | grep bacula-sd-04 data01/bacula-volumes 12.1T 4.18T 96K /jails/bacula-sd-04/usr/local/bacula/volumes data01/bacula-volumes/DiffFile 109G 915G 109G /jails/bacula-sd-04/usr/local/bacula/volumes/DiffFile data01/bacula-volumes/FullFile 4.00T 2.00T 3.89T /jails/bacula-sd-04/usr/local/bacula/volumes/FullFile

Jails with embedded, but not jailed, ZFS datasets – how to mount/umount – corrected Read More »

Moving 4x storage devices into a new home

Yesterday I did some scavenging of some servers which I’m going to dispose of. I managed to put together 4 x 1TB storage devices: 2 x NVMe sticks and 2 x SSDs. I also pulled a riser card from an R730 and relocated it to another host. The NVMe sticks are mounted on these PCIe cards, which I do not regret buying. They came with full height and low-profile brackets. More to the

Moving 4x storage devices into a new home Read More »

Jails with embedded, but not jailed, ZFS datasets – how to mount/umount

This approach did not work, because I used the wrong set of filesystems. See below for Error. This post has been replaced by Jails with embedded, but not jailed, ZFS datasets – how to mount/umount – corrected. NOTE: on yesterday’s (2023-10-04) reboot, the file systems did not properly mount. zfs get mounted said they were mounted, but the directories were empty. Stopping, then starting the jail resulted in a proper mount. I wonder

Jails with embedded, but not jailed, ZFS datasets – how to mount/umount Read More »

Moving time capsule from host to jail and connecting my MacBook to ZFS on FreeBSD

I have Macbooks at home I use them. I use Time Capsule on ZFS on FreeBSD to back them up. In this post: FreeBSD 13.2 OSX Ventura 13.6 I first implemented this directly on the FreeBSD host. Today, I am moving that service into a jail. This post will roughly outline the changes I made to accomplish this move. It won’t go into the details of how to set up Time Capsule. See

Moving time capsule from host to jail and connecting my MacBook to ZFS on FreeBSD Read More »

Scroll to Top