From a1dcecb90e676814b47731ffec8be7a2b4e34e20 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 9 Jul 2021 06:36:01 +0200 Subject: qcow2_handling mkfs.ext4: Reenable dropping 'huge_file' feature and 'has_journal' for writable image --- scripts/qcow2_handling | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/qcow2_handling b/scripts/qcow2_handling index b11a9b9..26b5135 100644 --- a/scripts/qcow2_handling +++ b/scripts/qcow2_handling @@ -196,10 +196,10 @@ EOF kpartx -a $NBD_DEV mkfs.fat -n BOOT -F 32 -v $MAP_BOOT_DEV if [ "${ROOTFS_RO}" = "1" ] ; then - # Set reserved-blocks-percentage for root to zero - mkfs.ext4 -L ROOTFS -m 0 -O "^has_journal,^metadata_csum,^64bit" $MAP_ROOT_DEV + # Set reserved-blocks-percentage for root to zero, no journaling + mkfs.ext4 -L ROOTFS -m 0 -O "^has_journal,^huge_file,^metadata_csum,^64bit" $MAP_ROOT_DEV else - mkfs.ext4 -L ROOTFS -O "^has_journal,^metadata_csum,^64bit" $MAP_ROOT_DEV + mkfs.ext4 -L ROOTFS -O "^huge_file,^metadata_csum,^64bit" $MAP_ROOT_DEV fi sync else -- cgit v1.2.3