BTW, I am wondering what would be the corresponding BTRFS config.
Does something like this work as expected or not (mixing / and /tmp this time) :
```
disk_config disk1 disklabel:gpt bootable:1 fstabkey:uuid
primary - 2G --
primary - 70% --
primary - 0- --
Hi,
After digging some time around this issue, I am finally able to boot
the RAID1 partition with EFI boot enabled on it (using this example:
https://fai-project.org/download/misc/disk_config/lvm-on-luks-on-raid).
Here is my final disk_config file:
```# example of new config file for
Hi Andrew,
Thanks for suggestions.
Now, my file "disk_config/GRUB_EFI_RAID1" is [*]:
```
# example of new config file for setup-storage
#
#
disk_config disk1 disklabel:gpt fstabkey:uuid bootable:1
primary - 2G - -
primary /boot/efi 1G vfat rw createopts="-F32"
primary - 2G - -
primary
Nice, good work.
A couple of suggestions...
I'd put swap on RAID1, if you have a disk go offline while the system is
running, you've lost anything that had been swapped out to the swap on the
failed disk.
I like to put a 100MB partition at the end of disks in a RAID pair to allow
for slightly
Ok, FYI, I think I have a working configuration with :
```
# example of new config file for setup-storage
#
#
disk_config disk1 disklabel:gpt fstabkey:uuid bootable:1
primary - 2G - -
primary /boot/efi 1G vfat rw createopts="-F32"
primary swap 2G swap sw,pri=1
primary - 0- - -
What is strange here, is that md1 is found, as well as md0, but
contrary to md0, md1 have an UUID ...
However, UUID seems to be retrieve by blkid from /dev/disk/by-id,
where both md array have their own mdadm UUID, but only md1 have an
UUID from LVM (with pvdisplay / pvs ) ...
Le jeu. 30 nov.
Hi Andrew,
Indeed, this removed the syntax issue. However, I have a new error now:
```
/sbin/blkid -c /dev/null -s UUID -o value /dev/md0 had exit code 2
Command had non-zero exit code
```
Indeed, blkid is not able to found md0 UUID.
I tried to modify the disk_config file to avoid this error,
Hey,
On Thu, 2023-11-30 at 11:14 +0100, Rémy Dernat wrote:
> Hi awesome Fai guys,
>
> I have a weird syntax issue with the following disk_config:
>
[snip]
> disk_config raid disklabel:gpt fstabkey:uuid bootable:1
This line is your problem, remove everything after the word raid. So it
should