-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
2
-
False
-
-
False
-
Not Selected
-
-
-
CoreOS West - Sprint 279
[2995989308] Upstream Reporter: Huijing Hei
Upstream issue status: Open
Upstream description:
The setup refer to https://docs.fedoraproject.org/en-US/fedora-coreos/storage/#_reconfiguring_the_root_filesystem
```
[coreos-assembler]$ rpm -q butane
butane-0.23.0-1.fc40.aarch64[coreos-assembler]$ arch
aarch64[coreos-assembler]$ cat test-raid1.bu
variant: fcos
version: 1.6.0
boot_device:
mirror:
devices:
- /dev/vda
- /dev/vdb
[coreos-assembler]$ butane -p test-raid1.bu -o test-raid1.ign
[coreos-assembler]$ cat test-raid1.ign
{
"ignition":Unknown macro: { "version"},
"storage": { 10:24:54 [83/1959]
"disks": [
{
"device": "/dev/vda",
"partitions": [
Unknown macro: { "label"},
...
],
"wipeTable": true
},
{
"device": "/dev/vdb",
"partitions": [
Unknown macro: { "label"},
...
],
"wipeTable": true
} 10:24:54 [36/1959]
],
...
]
}
}
```
Edit:Start vm with `test-raid1.bu` failed, see following command using cosa:
```
$ cosa run --qemu-image rhcos-qemu.aarch64.qcow2 -B test-raid1.bu -m 4096 --devshell-consoleignition-ostree-transposefs-save.service
Apr 16 01:32:18 systemd[1]: sysroot.mount: Directory /sysroot to mount over is not empty, mounting anyway.
Apr 16 01:32:18 systemd[1]: sysroot.mount: Failed to load environment files: No such file or directory
Apr 16 01:32:18 systemd[1]: sysroot.mount: Failed to run 'mount' task: No such file or directory
Apr 16 01:32:18 systemd[1]: sysroot.mount: Failed with result 'resources'.
Apr 16 01:32:18 systemd[1]: Failed to mount /sysroot.
Apr 16 01:32:16 ignition-ostree-transposefs[1020]: Mounting /dev/disk/by-label/boot ro (/dev/vda3) to /var/tmp/mnt
Apr 16 01:32:16 ignition-ostree-transposefs[1020]: Moving EFI System Partition to RAM...
Apr 16 01:32:16 ignition-ostree-transposefs[1020]: Mounting /dev/disk/by-label/EFI-SYSTEM ro (/dev/vda2) to /sysroot/boot/efi
Apr 16 01:32:17 ignition-ostree-transposefs[1020]: Moving BIOS Boot partition and boot sector to RAM...
Apr 16 01:32:17 ignition-ostree-transposefs[1075]: cat: /dev/disk/by-partlabel/BIOS-BOOT: No such file or directory
Apr 16 01:32:17 systemd[1]: ignition-ostree-transposefs-save.service: Main process exited, code=exited, status=1/FAILURE
Apr 16 01:32:17 systemd[1]: ignition-ostree-transposefs-save.service: Failed with result 'exit-code'.
Apr 16 01:32:17 systemd[1]: Failed to start Ignition OSTree: Save Partitions.
Apr 16 01:32:17 systemd[1]: ignition-ostree-transposefs-save.service: Triggering OnFailure= dependencies.
Apr 16 01:32:17 systemd[1]: ignition-ostree-transposefs-save.service: Consumed 8.043s CPU time.
```
- links to