Skip to contentSkip to conversation

Forcing a specific io scheduler

linux-lvm Gionatan Danti 1 participant 1 message Sep 10, 2019

lore
Share & tools
lore
#0 lore raw

Hi all,
I have a (virtual) block devices which does not expose any io scheduler:
[root@localhost block]# cat /sys/block/zd0/queue/scheduler none

I created an lvm volume on top of that block devices with:
[root@localhost ~]# pvcreate /dev/zd0
Physical volume "/dev/zd0" successfully created.
[root@localhost ~]# vgcreate vg_test /dev/zd0
Volume group "vg_test" successfully created
[root@localhost ~]# lvcreate vg_test --name lv_test -l +100%FREE
Logical volume "lv_test" created.

With my surprise, I can not select any additional io scheduler:
[root@localhost block]# cat /sys/block/dm-2/queue/scheduler none

I am missing something? Can a scheduler be forced on a lvm volume? Thanks.

Signature · 5 lines
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: [email protected] - [email protected]
GPG public key ID: FF5F32A8