On Oct 29 2025 23:00:34 +0000, Thackeray, Neil L wrote:

> FAI output:
> Starting setup-storage 3.0
> Using config file: /var/lib/fai/config/disk_config/LVM_EFI_BTRFS
>   No volume groups found.
> Executing: parted -s /dev/sda mklabel gpt
> Executing: parted -s /dev/sda mkpart efi "fat32" 1048576B 537919487B
> Executing: parted -s /dev/sda mkpart boot "ext3" 537919488B 1062207487B
> Executing: parted -s /dev/sda mkpart system "" 1062207488B 17178820607B
> Executing: mkfs.vfat  /dev/sda1
> Executing: mkfs.ext4  /dev/sda2
> Executing: parted -s /dev/sda set 3 lvm on
> Executing: parted /dev/sda set 1 boot on
> Executing: pvcreate -ff -y  /dev/sda3
> Executing: vgcreate  vg1  /dev/sda3
> Executing: vgchange -a y vg1
> Executing: lvcreate  --yes -n root -L 11927.0524971721 vg1
> Executing: lvcreate  --yes -n home -L 3289.24750282796 vg1
> /dev/sda1 UUID=865C-6A49
> /dev/sda2 UUID=ad703f51-3af0-4f38-8eef-f1c5585c2754
> /sbin/blkid -c /dev/null -s UUID -o value /dev/vg1/home had exit code 2
> Command had non-zero exit code

Shouldn't there be mkfs.btrfs (or any indication that the file systems
were created on the volumes) before blkid can grab its UUID?

Does disk_config support creating BTRFS file systems?


-- 
Vanush "Misha" Paturyan
Chief Technical Officer
Room 120
Computer Science Department
Eolas Building
Maynooth University
Maynooth

ext: 4539

Antwort per Email an