Re: Help diagnosing lvm ioctl log spam
Zdenek Kabelac <[email protected]> Wed, 9 Oct 2024 13:45:26 +0200
| Newsgroups | gmane.linux.lvm.general |
|---|---|
| Message-ID | <[email protected]> |
Dne 09. 10. 24 v 11:28 Fabricio Winter napsal(a): > Hello people, we have been experiencing an issue with lvm2-thin on > _some_ of our production servers where out of nowhere > lvm2/device-mapper starts spamming error logs and I can't really seem > to trace down the root cause. > > This is what the logs look like; > Oct 9 06:25:02 U5bW8JT7 lvm[8020]: device-mapper: waitevent ioctl on > LVM-CP5Gw8QrWLqwhBcJL87R1mc9Q9KTBtQQmOowipTAFuM7hqzHz6pRVvUaNO9FGzeq-tpool > failed: Inappropriate ioctl for device > Oct 9 06:25:02 U5bW8JT7 lvm[8020]: waitevent: dm_task_run failed: > Inappropriate ioctl for device Hi Have you considered to try using kernel & lvm2 from the more modern age where the 'nvme' storage actually become a regularly available commodity hw ? I'd have guess your issue likely already has been solved. Otherwise if you do want to do a hunt for a particular IO - use 'blktrace' tool - likely on tpool_tdata (or tpool_tmeta) volume. Regards Zdenek