On Wed, Jun 14, 2023 at 09:14:10AM +0300, Amir Goldstein wrote: > What do I need to do in order to enable verity on ext4 besides > enabling FS_VERITY in the kernel? > > I'm getting these on verity tests on ext4 in the default 4k config. > _require_scratch_verity() doesn't mention any requirement other > that 4K blocks and extent format files. > > Thanks, > Amir. > > BEGIN TEST 4k (10 tests): Ext4 4k block Wed Jun 14 06:04:25 UTC 2023 > DEVICE: /dev/vdb > EXT_MKFS_OPTIONS: -b 4096 > EXT_MOUNT_OPTIONS: -o block_validity > FSTYP -- ext4 > PLATFORM -- Linux/x86_64 kvm-xfstests > 6.4.0-rc2-xfstests-00026-g35774ba7f07c #1596 SMP PREEMPT_DYNAMIC Tue > Jun 13 18:16:59 IDT 2023 > MKFS_OPTIONS -- -F -q -b 4096 /dev/vdc > MOUNT_OPTIONS -- -o acl,user_xattr -o block_validity /dev/vdc /vdc > > generic/572 [06:04:42] [06:04:47] [not run] > generic/572 -- ext4 verity isn't usable by default with these mkfs options > ... I don't know why it's not working for you. Is there anything helpful in /results/ext4/results-4k/generic/572.full? - Eric