The cause of this seems to be that we are just telling the SUT to create a metadata block groups with raid 5. The data block groups was not specified. It will be using RAID0.
So that when one disk corrupts, the raid will corrupt. The system will prevent user to mount the partition as rw to prevent data loss (you can mount it with read-only). mkfs.btrfs -f -m raid5 $DEV0 $DEV1 $DEV2 $DEV3 $DEV4 btrfs-progs v4.15.1 See http://btrfs.wiki.kernel.org for more information. Performing full device TRIM /dev/loop0 (2.00GiB) ... Performing full device TRIM /dev/loop1 (2.00GiB) ... Performing full device TRIM /dev/loop2 (2.00GiB) ... Performing full device TRIM /dev/loop3 (2.00GiB) ... Performing full device TRIM /dev/loop4 (2.00GiB) ... Label: (null) UUID: 21f732f9-2850-4732-9901-c4bce48c3efb Node size: 16384 Sector size: 4096 Filesystem size: 10.00GiB Block group profiles: Data: RAID0 1023.75MiB Metadata: RAID5 819.00MiB System: RAID5 12.75MiB SSD detected: no Incompat features: extref, raid56, skinny-metadata Number of devices: 5 Devices: ID SIZE PATH 1 2.00GiB /dev/loop0 2 2.00GiB /dev/loop1 3 2.00GiB /dev/loop2 4 2.00GiB /dev/loop3 5 2.00GiB /dev/loop4 If you create the raid with data block groups assigned with raid 5, the Block group profiles will become: Data: RAID5 819.00MiB Metadata: RAID5 819.00MiB System: RAID5 12.75MiB ** Also affects: ubuntu-kernel-tests Importance: Undecided Status: New ** Changed in: ubuntu-kernel-tests Assignee: (unassigned) => Po-Hsu Lin (cypressyew) ** Changed in: ubuntu-kernel-tests Importance: Undecided => Medium ** Changed in: ubuntu-kernel-tests Status: New => In Progress ** Changed in: linux (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1810376 Title: 5fbc7c59fd22c5a6531b40b0759624b680a95e52 in btrfs_kernel_fixes failed on B To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1810376/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
