Bug#964761: Creating btrfs subvolumes with setup-storage fails in certain conditions

2022-12-08 Thread Thomas Lange
Thanks a lot for the patch. I hoped it would be that easy. I've already applied the patch. https://github.com/faiproject/fai/commit/8bf5ef41461edf9c64fb1e8095fd12d4789cc6f4 The upcoming release FAI 6.0 will include it. -- regards Thomas

Bug#964761: Creating btrfs subvolumes with setup-storage fails in certain conditions

2022-12-08 Thread Christoph Pleger
Hello, the bug can be solved with the attached patch. Regards Christoph --- fai-5.10.3.orig/lib/setup-storage/Commands.pm +++ fai-5.10.3/lib/setup-storage/Commands.pm @@ -349,7 +349,7 @@ sub build_btrfs_commands { next unless ($config eq "BTRFS"); #create BTRFS RAIDs -foreach my

Bug#964761: Creating btrfs subvolumes with setup-storage fails in certain conditions

2020-07-10 Thread Samu Voutilainen
Package: fai-setup-storage Version: 5.8.4 Hi, When creating BTRFS subvolumes with setup-storage, in some cases a sub- subvolume gets created before primary subvolume gets created. For example, / var subvolume gets created before / subvolume has been created. Following disk_config tries to create