From d244b316f29143f536254b8828365dbce4388148 Mon Sep 17 00:00:00 2001 From: Henrik Gombos Date: Sun, 14 May 2023 12:22:22 +0000 Subject: [PATCH] test(LVM-THIN): avoid thin pool size warning Avoid the following warning by reducing thin pool size > "Sum of all thin volume sizes exceeds the size of thin pool > and the size of whole volume group. --- test/TEST-17-LVM-THIN/create-root.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/TEST-17-LVM-THIN/create-root.sh b/test/TEST-17-LVM-THIN/create-root.sh index f5a12fd5c9..2547d1c751 100755 --- a/test/TEST-17-LVM-THIN/create-root.sh +++ b/test/TEST-17-LVM-THIN/create-root.sh @@ -16,8 +16,8 @@ for dev in /dev/disk/by-id/ata-disk_disk[123]; do done lvm vgcreate dracut /dev/disk/by-id/ata-disk_disk[123] -lvm lvcreate --ignoremonitoring -l 17 -T dracut/mythinpool -lvm lvcreate --ignoremonitoring -V1G -T dracut/mythinpool -n root +lvm lvcreate --ignoremonitoring -l 100%FREE -T dracut/mythinpool +lvm lvcreate --ignoremonitoring -V100M -T dracut/mythinpool -n root lvm vgchange --ignoremonitoring -ay mkfs.ext4 /dev/dracut/root mkdir -p /sysroot