Btrfs storage type error

dunk1452

Member
Aug 25, 2020
13
0
21
34
Hello, i can't seem to be able to create/move a container volume on the Btrfs storage type. I get the following error:
btrfs error: open3: exec of btrfs -q subvolume create -- /mnt/nfs/nvme_btrfs/pve/images/104/vm-104-disk-0 failed: No such file or directory at /usr/share/perl5/PVE/Tools.pm line 455.

Code:
❯ pveversion -v
proxmox-ve: 7.4-1 (running kernel: 6.2.6-1-pve)
pve-manager: 7.4-3 (running version: 7.4-3/9002ab8a)
pve-kernel-6.2: 7.3-8
pve-kernel-6.1: 7.3-6
pve-kernel-5.15: 7.3-3
pve-kernel-5.19: 7.2-15
pve-kernel-5.11: 7.0-10
pve-kernel-6.2.6-1-pve: 6.2.6-1
pve-kernel-6.1.15-1-pve: 6.1.15-1
pve-kernel-6.1.14-1-pve: 6.1.14-1
pve-kernel-6.1.10-1-pve: 6.1.10-1
pve-kernel-6.1.6-1-pve: 6.1.6-1
pve-kernel-5.19.17-2-pve: 5.19.17-2
pve-kernel-5.15.102-1-pve: 5.15.102-1
pve-kernel-5.15.85-1-pve: 5.15.85-1
pve-kernel-5.15.7-1-pve: 5.15.7-1
pve-kernel-5.13.19-6-pve: 5.13.19-15
pve-kernel-5.13.19-2-pve: 5.13.19-4
pve-kernel-5.11.22-7-pve: 5.11.22-12
ceph-fuse: 14.2.21-1
corosync: 3.1.7-pve1
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown: residual config
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve2
libproxmox-acme-perl: 1.4.4
libproxmox-backup-qemu0: 1.3.1-1
libproxmox-rs-perl: 0.2.1
libpve-access-control: 7.4-2
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.3-4
libpve-guest-common-perl: 4.2-4
libpve-http-server-perl: 4.2-1
libpve-rs-perl: 0.7.5
libpve-storage-perl: 7.4-2
libqb0: 1.0.5-1
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.2-2
lxcfs: 5.0.3-pve1
novnc-pve: 1.4.0-1
proxmox-backup-client: 2.4.1-1
proxmox-backup-file-restore: 2.4.1-1
proxmox-kernel-helper: 7.4-1
proxmox-mail-forward: 0.1.1-1
proxmox-mini-journalreader: 1.3-1
proxmox-offline-mirror-helper: 0.5.1-1
proxmox-widget-toolkit: 3.6.5
pve-cluster: 7.3-3
pve-container: 4.4-3
pve-docs: 7.4-2
pve-edk2-firmware: 3.20230228-1
pve-firewall: 4.3-1
pve-firmware: 3.6-4
pve-ha-manager: 3.6.0
pve-i18n: 2.12-1
pve-qemu-kvm: 7.2.0-8
pve-xtermjs: 4.16.0-1
qemu-server: 7.4-3
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.8.0~bpo11+3
vncterm: 1.7-1
zfsutils-linux: 2.1.9-pve1
❯ pveversion
pve-manager/7.4-3/9002ab8a (running kernel: 6.2.6-1-pve)
❯ pveversion --help
Unknown option: help
USAGE: pveversion [--verbose]
❯ pveversion -v
proxmox-ve: 7.4-1 (running kernel: 6.2.6-1-pve)
pve-manager: 7.4-3 (running version: 7.4-3/9002ab8a)
pve-kernel-6.2: 7.3-8
pve-kernel-6.1: 7.3-6
pve-kernel-5.15: 7.3-3
pve-kernel-5.19: 7.2-15
pve-kernel-5.11: 7.0-10
pve-kernel-6.2.6-1-pve: 6.2.6-1
pve-kernel-6.1.15-1-pve: 6.1.15-1
pve-kernel-6.1.14-1-pve: 6.1.14-1
pve-kernel-6.1.10-1-pve: 6.1.10-1
pve-kernel-6.1.6-1-pve: 6.1.6-1
pve-kernel-5.19.17-2-pve: 5.19.17-2
pve-kernel-5.15.102-1-pve: 5.15.102-1
pve-kernel-5.15.85-1-pve: 5.15.85-1
pve-kernel-5.15.7-1-pve: 5.15.7-1
pve-kernel-5.13.19-6-pve: 5.13.19-15
pve-kernel-5.13.19-2-pve: 5.13.19-4
pve-kernel-5.11.22-7-pve: 5.11.22-12
ceph-fuse: 14.2.21-1
corosync: 3.1.7-pve1
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown: residual config
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve2
libproxmox-acme-perl: 1.4.4
libproxmox-backup-qemu0: 1.3.1-1
libproxmox-rs-perl: 0.2.1
libpve-access-control: 7.4-2
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.3-4
libpve-guest-common-perl: 4.2-4
libpve-http-server-perl: 4.2-1
libpve-rs-perl: 0.7.5
libpve-storage-perl: 7.4-2
libqb0: 1.0.5-1
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.2-2
lxcfs: 5.0.3-pve1
novnc-pve: 1.4.0-1
proxmox-backup-client: 2.4.1-1
proxmox-backup-file-restore: 2.4.1-1
proxmox-kernel-helper: 7.4-1
proxmox-mail-forward: 0.1.1-1
proxmox-mini-journalreader: 1.3-1
proxmox-offline-mirror-helper: 0.5.1-1
proxmox-widget-toolkit: 3.6.5
pve-cluster: 7.3-3
pve-container: 4.4-3
pve-docs: 7.4-2
pve-edk2-firmware: 3.20230228-1
pve-firewall: 4.3-1
pve-firmware: 3.6-4
pve-ha-manager: 3.6.0
pve-i18n: 2.12-1
pve-qemu-kvm: 7.2.0-8
pve-xtermjs: 4.16.0-1
qemu-server: 7.4-3
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.8.0~bpo11+3
vncterm: 1.7-1
zfsutils-linux: 2.1.9-pve1

Extra context: I do have a newer version of btrfs-progs installed than from debian repos.
Code:
❯ apt list btrfs-progs -a
Listing... Done
btrfs-progs/now 6.2.1-1 amd64 [installed,local]
btrfs-progs/stable,stable 5.16.2-1~bpo11+1 amd64
btrfs-progs/stable 5.10.1-2 amd64

I have also tried to add the is_mountpoint parameter in storage.cfg, doesn't seem to help in this case.
Code:
btrfs: nvme-1tb
        path /mnt/nfs/nvme_btrfs/pve
        content rootdir,images
        prune-backups keep-all=1
        is_mountpoint /mnt/nfs/nvme_btrfs
 
Last edited:
Code:
❯ lsblk -o +FSTYPE
NAME                         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT           FSTYPE
sda                            8:0    0   1.8T  0 disk
└─sda1                         8:1    0   1.8T  0 part /mnt/nfs/btrfs       btrfs
sdb                            8:16   0 111.8G  0 disk
└─sdb1                         8:17   0 111.8G  0 part                      btrfs
sdc                            8:32   0 111.8G  0 disk
└─sdc1                         8:33   0 111.8G  0 part /mnt/nfs/ssd_btrfs   btrfs
sdd                            8:48   0   1.8T  0 disk
└─sdd1                         8:49   0   1.8T  0 part                      btrfs
sde                            8:64   0   3.6T  0 disk
├─sde1                         8:65   0   128M  0 part
└─sde2                         8:66   0   3.6T  0 part /mnt/nfs/4TB_HDD     ntfs
sdf                            8:80   0 465.8G  0 disk
├─sdf1                         8:81   0    16M  0 part
└─sdf2                         8:82   0 465.7G  0 part /mnt/nfs/TOURO_500GB ntfs
sdg                            8:96   0 931.5G  0 disk
├─sdg1                         8:97   0   128M  0 part
└─sdg2                         8:98   0 931.4G  0 part /mnt/nfs/TOURO_1TB   ntfs
nvme0n1                      259:0    0 465.8G  0 disk
├─nvme0n1p1                  259:1    0  1007K  0 part
├─nvme0n1p2                  259:2    0   512M  0 part /boot/efi            vfat
└─nvme0n1p3                  259:3    0 465.3G  0 part                      LVM2_member
  ├─pve-swap                 253:0    0    16G  0 lvm  [SWAP]               swap
  ├─pve-root                 253:1    0    96G  0 lvm  /                    ext4
  ├─pve-data_tmeta           253:2    0   3.5G  0 lvm
  │ └─pve-data-tpool         253:4    0 338.4G  0 lvm
  │   ├─pve-data             253:5    0 338.4G  1 lvm
  │   ├─pve-vm--105--disk--0 253:7    0     4M  0 lvm
  │   ├─pve-vm--105--disk--1 253:8    0    92G  0 lvm
  │   ├─pve-vm--109--disk--0 253:9    0    10G  0 lvm                       ext4
  │   ├─pve-vm--105--disk--2 253:10   0     8G  0 lvm                       swap
  │   ├─pve-vm--100--disk--3 253:11   0    16G  0 lvm
  │   ├─pve-vm--102--disk--0 253:12   0     4G  0 lvm                       ext4
  │   ├─pve-vm--100--disk--2 253:13   0   150G  0 lvm
  │   ├─pve-vm--103--disk--0 253:14   0    16G  0 lvm                       ext4
  │   ├─pve-vm--111--disk--0 253:15   0     4M  0 lvm
  │   ├─pve-vm--111--disk--2 253:16   0     8G  0 lvm                       swap
  │   ├─pve-vm--111--disk--3 253:17   0   110G  0 lvm
  │   ├─pve-vm--106--disk--0 253:18   0     4M  0 lvm
  │   ├─pve-vm--106--disk--1 253:19   0     2G  0 lvm
  │   ├─pve-vm--101--disk--0 253:20   0     4M  0 lvm
  │   ├─pve-vm--101--disk--1 253:21   0   100G  0 lvm
  │   ├─pve-vm--108--disk--1 253:22   0    40G  0 lvm                       ext4
  │   ├─pve-vm--100--disk--0 253:23   0     4M  0 lvm
  │   └─pve-vm--100--disk--1 253:24   0   100G  0 lvm
  ├─pve-data_tdata           253:3    0 338.4G  0 lvm
  │ └─pve-data-tpool         253:4    0 338.4G  0 lvm
  │   ├─pve-data             253:5    0 338.4G  1 lvm
  │   ├─pve-vm--105--disk--0 253:7    0     4M  0 lvm
  │   ├─pve-vm--105--disk--1 253:8    0    92G  0 lvm
  │   ├─pve-vm--109--disk--0 253:9    0    10G  0 lvm                       ext4
  │   ├─pve-vm--105--disk--2 253:10   0     8G  0 lvm                       swap
  │   ├─pve-vm--100--disk--3 253:11   0    16G  0 lvm
  │   ├─pve-vm--102--disk--0 253:12   0     4G  0 lvm                       ext4
  │   ├─pve-vm--100--disk--2 253:13   0   150G  0 lvm
  │   ├─pve-vm--103--disk--0 253:14   0    16G  0 lvm                       ext4
  │   ├─pve-vm--111--disk--0 253:15   0     4M  0 lvm
  │   ├─pve-vm--111--disk--2 253:16   0     8G  0 lvm                       swap
  │   ├─pve-vm--111--disk--3 253:17   0   110G  0 lvm
  │   ├─pve-vm--106--disk--0 253:18   0     4M  0 lvm
  │   ├─pve-vm--106--disk--1 253:19   0     2G  0 lvm
  │   ├─pve-vm--101--disk--0 253:20   0     4M  0 lvm
  │   ├─pve-vm--101--disk--1 253:21   0   100G  0 lvm
  │   ├─pve-vm--108--disk--1 253:22   0    40G  0 lvm                       ext4
  │   ├─pve-vm--100--disk--0 253:23   0     4M  0 lvm
  │   └─pve-vm--100--disk--1 253:24   0   100G  0 lvm
  └─pve-data_meta0           253:6    0   3.5G  0 lvm
nvme1n1                      259:4    0 931.5G  0 disk
└─nvme1n1p1                  259:5    0 931.5G  0 part /mnt/nfs/nvme_btrfs  btrfs
 
Code:
❯ tree -aL 1 /mnt/nfs/nvme_btrfs
/mnt/nfs/nvme_btrfs
├── .beeshome
├── Games
├── pve
└── .Trash-1000

Code:
/mnt/nfs/nvme_btrfs/pve
├── dump
├── images
│   └── 104
│       └── vm-104-disk-0.raw
└── private

Note: I've reverted to Directory type storage for now, since btrfs isn't working
 
Last edited:
Code:
dir: local
        path /var/lib/vz
        content vztmpl,iso,backup,images
        prune-backups keep-last=3
        shared 0

lvmthin: local-lvm
        thinpool data
        vgname pve
        content rootdir,images

dir: btrfs
        path /mnt/nfs/btrfs/pve
        content rootdir,images
        prune-backups keep-all=1
        shared 0

pbs: btrfs-pve-bs
        datastore btrfs
        server 192.168.x.x
        content backup
        fingerprint
        prune-backups keep-all=1
        username user@pam

dir: touro-500gb
        path /mnt/nfs/TOURO_500GB/pve
        content iso,vztmpl
        prune-backups keep-all=1
        shared 0

dir: nvme-1tb
        path /mnt/nfs/nvme_btrfs/pve
        content rootdir,images
        prune-backups keep-all=1
        shared 0

Was this before:

Code:
btrfs: nvme-1tb
        path /mnt/nfs/nvme_btrfs/pve
        content rootdir,images
        prune-backups keep-all=1
        is_mountpoint /mnt/nfs/nvme_btrfs