Skip to content

Commit d244b31

Browse files
Henrik66aafeijoo-suse
authored andcommitted
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.
1 parent 739b9e1 commit d244b31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/TEST-17-LVM-THIN/create-root.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ for dev in /dev/disk/by-id/ata-disk_disk[123]; do
1616
done
1717

1818
lvm vgcreate dracut /dev/disk/by-id/ata-disk_disk[123]
19-
lvm lvcreate --ignoremonitoring -l 17 -T dracut/mythinpool
20-
lvm lvcreate --ignoremonitoring -V1G -T dracut/mythinpool -n root
19+
lvm lvcreate --ignoremonitoring -l 100%FREE -T dracut/mythinpool
20+
lvm lvcreate --ignoremonitoring -V100M -T dracut/mythinpool -n root
2121
lvm vgchange --ignoremonitoring -ay
2222
mkfs.ext4 /dev/dracut/root
2323
mkdir -p /sysroot

0 commit comments

Comments
 (0)