Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bcachefs plugin for Proxmox VE

This is an experimental plugin to provide integration of bcachefs file system into Proxmox VE. Compared to the "Directory" storage type this plugin provides snapshot support for raw storage type using bcachefs subvolumes.

This plugin is heavily based on the official Btrfs integration.

Content types supported

  • images: QEMU/KVM VM images
  • rootdir: Allow to store container data
  • vztmpl: Container templates
  • backup: Backup files (vzdump)
  • iso: ISO images
  • snippets: Snippet files, for example guest hook scripts

import storage type is not supported, because bcachefs currently does not support send/receive functionality.

Installation

Caution

The plugin is only tested in a handful of situations and it is not considered production ready. Also the file system in question is also quite new, do your homework and research the state of it.

From deb package

Download the latest release from the releases page and install it with

apt install ./libpve-storage-plugin-bcachefs*.deb

If you need an unreleased version, you can find the artifacts in the actions page.

From source

A Debian environment with the Debian packaging tools and Proxmox dependencies installed is highly recommended.

For the packaging tools install

debhelper devscripts equivs make devscripts

The build dependencies can be installed with

mk-build-deps -ir

Then the deb package can be created with

make deb

Configuration

PVE does not provide GUI support for storage plugins, so management must be done via the CLI using pvesm.

Add new bcachefs storage

pvesm add bcachefs bcachefs-storage-name --path /path/to/bcachefs/volume/ --content images,rootdir,vztmpl,backup,iso,snippets

After the storage is added it should be ready to use. Check the status with

pvesm status

or on the GUI. It should appear on both places.

The storage is ready to use now, enjoy :-)

About

Bcachefs storage plugin for Proxmox VE

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages