Btrfs screw up on new server

If you are asking for support for an issue, please include the following information at the top of your post:

  • Whether your FreedomBox is plugged into a router at home or not (if not, please specify how it is connected to the internet)
  • The month and year you bought your kit (feel free to omit if you want to preserve some privacy, but this could be helpful information)
  • The version of FreedomBox your are running (available by clicking on the “?” in the top menu → “About”)

Freedombox plugged into a router
Bought April 2025
Version 25.7

I am attempting to set up my pioneer box? (The one you order from Omulinux.)

I have a 1 terabyte hard drive I was attempting to make as root using btrfs replace. Instead of making the hard drive root, it made the SD card SDA1. And the hard drive does not appear in the “Storage” tab. It does appear under fdisk -l though.

I will admit that I screwed up formatting the hard drive, having made it ext4 instead of btrfs but I thought I had converted it.

Thank you for the help.

/dev/sda1 should not be mounted in order to do the btrfs replace operation.

The command should probably be:
sudo btrfs replace start -B /dev/mmcblk0p2 /dev/sda1 /

However, from your previous message, it looks like the operation was done already. The way it looks like on my freedombox is

I use /dev/sda directly, I did not partition the external disk. I understand that the only benefit of partitioning it is to avoid that some (graphical?) tools are not able to understand that the disk is used for btrfs and may show it as free.