From: Henrik Gombos Date: Sun, 14 May 2023 12:22:22 +0000 (+0000) Subject: test(LVM-THIN): avoid thin pool size warning X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=d244b316f29143f536254b8828365dbce4388148;p=thirdparty%2Fdracut.git 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. --- diff --git a/test/TEST-17-LVM-THIN/create-root.sh b/test/TEST-17-LVM-THIN/create-root.sh index f5a12fd5c..2547d1c75 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