[Bug 1183948] New: lvm-cache-stats fails to run "Failed to create DM task for the cache map"
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948 Bug ID: 1183948 Summary: lvm-cache-stats fails to run "Failed to create DM task for the cache map" Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: Other OS: openSUSE Leap 15.2 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: diego.ercolani@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- My current version: libblockdev-2.22-lp152.1.4.x86_64 libbd_lvm2-2.22-lp152.1.4.x86_64 First Issue: libblockdev has wrong dependences as lvm-cache-stats need libbd_lvm2 so please fix in the build Second Issue: running on a cached volume: pc-diego:~ # lvdisplay /dev/nonraid/akonadi_data --- Logical volume --- LV Path /dev/nonraid/akonadi_data LV Name akonadi_data VG Name nonraid LV UUID q00T3k-Xe2I-23Jd-4gnf-7kJl-g1mz-44ZhJJ LV Write Access read/write LV Creation host, time pc-diego, 2018-04-19 15:26:08 +0200 LV Cache pool name akonadi_cache LV Cache origin name akonadi_data_corig LV Status available # open 1 LV Size 55.00 GiB Cache used blocks 0.00% Cache metadata blocks 0.67% Cache dirty blocks 0.00% Cache read hits/misses 0 / 61180 Cache wrt hits/misses 0 / 260131 Cache demotions 0 Cache promotions 0 Current LE 14080 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 1024 Block device 254:9 pc-diego:~ # lvm-cache-stats /dev/nonraid/akonadi_data Failed to get stats for '/dev/nonraid/akonadi_data': Failed to create DM task for the cache map '-dev/nonraid/akonadi_data': -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948#c1
--- Comment #1 from Luciano Santos
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948#c2
Luciano Santos
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948#c3
Diego Ercolani
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948#c4
--- Comment #4 from Luciano Santos
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948#c5
Luciano Santos
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948#c6
Diego Ercolani
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948#c7
--- Comment #7 from Luciano Santos
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948#c8
--- Comment #8 from Luciano Santos
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948#c9
--- Comment #9 from Diego Ercolani
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948#c10
--- Comment #10 from Luciano Santos
I can try, it's desktop client, I will make a virtualmachine so I can try without >any problem... tumpleweed or 15.3?
Whoa! I didn't know one could use cached volume in a VM. How that works, via USB? (Just out of curiosity). Well, you could first try on Tumbleweed then since it's already built for it. You can basically do: geeko~> sudo zypper ar -cfp 90 https://download.opensuse.org/repositories/home:/luc14n0:/LVM/openSUSE_Tumbl... home:luc14n0:lvm && sudo zypper ref -r home:luc14n0:lvm && zypper dup --from home:luc14n0:lvm --allow-vendor-change Succeeding the installation, just reboot. Don't forget to start LVM's D-Bus with: geeko~> sudo systemctl start lvm2-lvmdbusd.service Now we cross our fingers and try `lvm-cache-stats` once again :~) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948#c11
--- Comment #11 from Diego Ercolani
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948#c12
--- Comment #12 from Luciano Santos
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948#c13
--- Comment #13 from Diego Ercolani
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948#c14
--- Comment #14 from Diego Ercolani
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948
http://bugzilla.opensuse.org/show_bug.cgi?id=1183948#c15
--- Comment #15 from Luciano Santos
Sorry, I have made a "glitch" I didn't follow completely your indications, I didn't reboot... and I didn't installed lvm2-lvmdbusd.service... which is the package containing lvmdbusd?
That's right!
localhost:~ # lvm-cache-stats /dev/testlvm/teslv Failed to get stats for '/dev/testlvm/teslv': The object with LVM ID '/dev/testlvm/teslv' doesn't exist
The same output I got. I was hoping it would make a difference for cached volumes. Nonetheless I set up a Fedora VM with those instructions you gave me and see how it will goes. In the case nothing seems to fix it, an issue will be opened upstream. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com