XFS for a lxc mount point mp0

Aug 19, 2019
57
7
13
What is the current recommended way to have xfs instead of ext4 as filesystem for a lxc container mount point (mp0)?

I am trying to create a xfs file system for a container mount point. But it always ends in a container crash on startup:

Code:
root@tokoeka /mnt # pct start 110 --debug
mount_autodev: 1220 Permission denied - Failed to create "/dev" directory
lxc_setup: 4353 Failed to mount "/dev"
do_start: 1275 Failed to setup container "110"
sync_wait: 34 An error occurred in another process (expected sequence number 3)
__lxc_start: 2074 Failed to spawn container "110"

The steps I used to create the xfs in brief:
  • create the standard mountpoint through GUI or cmd as ext4 (default)
  • stop the container
  • attach the raw device through losetup /dev/loopxx
  • create a linux partition with fdisk
  • create xfs filesystem with mkfs.xfs /dev/loopxx
What is my fault?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!