#993477 fai-setup-storage: setup-storage cannot create btrfs on lvm

#993477#5
Date:
2021-09-01 20:42:50 UTC
From:
To:
Dear Maintainer,

I tried to create a root btrfs filesystem on a logical volume.
setup-storage failed looking up the UUID of /dev/rootvg/root.
It was running blkid to look up the uuid in Fstab.pm before running mkfs.btrfs with the following disk_config:

# config for a disk image for a Hadron Machine
#
# <type> <mountpoint> <size>   <fs type> <mount options> <misc options>

disk_config disk1 disklabel:gpt bootable:1  fstabkey:uuid align-at:1M

primary	/boot/efi 300	 vfat  defaults
primary       -	  300-       - -


disk_config lvm

vg rootvg   disk1.2
rootvg-root /   3G-20G  btrfs   rw,noatime,subvol=@/