Frequently Asked Question

Creating a new BTRFS filesystem
Last Updated a year ago

Creating a BTRFS filesystem on Proxmox (Debian)

First we need to locate the block level device we're going to use, so lsblk and locate it. In this example we'll use /dev/sdb

Install parted

apt install -y parted

Create a Partition

parted /dev/sdb

(parted) mklabel gpt
(parted) mkpart primary 0% 100%
(parted) quit

Verify that the partition was created is lsblk. 

Create the filesystem

mkfs.btrfs -f /dev/sdb1

Mount the filesystem

mkdir /mnt/ssd
mount /dev/sdb1 /mnt/ssd

Setup Auto-Mount

# lsblk -f /dev/sdb1
sdb1 btrfs efb9e1d6-ce13-4eae-94cf-0c1335539f1c 21T 0% /mnt/ssd

Now add the following list to /etc/fstab

UUID=efb9e1d6-ce13-4eae-94cf-0c1335539f1c /mnt/ssd btrfs defaults 0 0


This will auto-mount the UUID for /dev/sdb1 to /mnt/ssd

Proxmox support from the engineers who wrote this article

This article came out of a real case resolved by GEN engineers, not from upstream documentation. GEN have run Proxmox in production in our own UK data centres since 2015, and have been in enterprise IT for 37 years. If this one has not solved your problem, we can.

  • 30 minute response, 24 hours a day, every day of the year on critical production infrastructure.
  • No contracts. Buy hours, use hours. No minimum term and no notice period.
  • Genuinely independent. We hold no software partner status with Proxmox or any other vendor, so nothing we recommend is shaped by a licence margin.
  • UK based, in-house engineers. No outsourced first line.

Proxmox support  ·  VMware to Proxmox migration  ·  Proxmox training  ·  Support rates

Registering a GEN account is free, so the route to an engineer is open before you need it. You only ever pay for the time you use.

This website relies on temporary cookies to function, but no personal data is ever stored in the cookies.
OK
Powered by GEN UK CLEAN GREEN ENERGY

Loading ...