how to test thinpool IO using fio

nsc117

New Member
Jan 10, 2023
17
0
1
i created two thinpools
20231021124746.jpg
i know how to test local lvm ro zfs using fio,but don't know how to test thinpool
 
Depends on what you want to test. Easiest for LXC/filesystem performance would be to create a new LXC but don't start it. Then use the "pct mount VMID" command to mount the filesystem on the PVE host and point fio to that mountpoint. Then unmount ("pct unmount VMID") and destroy that LXC afterwards.
For VM/block device performance you could create a new thin volume, benchmark it directly as a block device (/dev/yourVG/yourLV) and later destroy it. An example for a 32GB thin volume called FioLV in your thin pool YourPool of vg YourVG: lvcreate -V32G -T YourVG/YourPool -n FioLV
 
Last edited:
Depends on what you want to test. Easiest for LXC/filesystem performance would be to create a new LXC but don't start it. Then use the "pct mount VMID" command to mount the filesystem on the PVE host and point fio to that mountpoint. Then unmount ("pct unmount VMID") and destroy that LXC afterwards.
For VM/block device performance you could create a new thin volume, benchmark it directly as a block device (/dev/yourVG/yourLV) and later destroy it. An example for a 32GB thin volume called FioLV in your thin pool YourPool of vg YourVG: [B]lvcreate -V32G -T YourVG/YourPool -n FioLV[/B]
thanks for your help!
when i create a new lv with:
lvcreate -L 32G -n FioLV thinpool_02
the shell echo:
Volume group "thinpool_02" has insufficient free space (94 extents): 8192 required.
i don’t know how it is
then i create a new disk on VM and benchmark it directly as a block device (/dev/thinpool_02/vm-10288-disk-0)
benchmark was completed in this way
 
Last edited: