Hi Sergio,
Please find the logs below. It works fine with your package.
root@qau22c13n1:~# lsb_release -rd Description: Ubuntu 22.04.2 LTS Release: 22.04 root@qau22c13n1:~# root@qau22c13n1:~# apt-cache policy multipath-tools multipath-tools: Installed: 0.8.8-1ubuntu1.22.04.2~ppa1 Candidate: 0.8.8-1ubuntu1.22.04.2~ppa1 Version table: *** 0.8.8-1ubuntu1.22.04.2~ppa1 500 500 https://ppa.launchpadcontent.net/sergiodj/multipath-tools/ubuntu jammy/main amd64 Packages 100 /var/lib/dpkg/status 0.8.8-1ubuntu1.22.04.1 500 500 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 500 http://us.archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages 0.8.8-1ubuntu1 500 500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages root@qau22c13n1:~# root@qau22c13n1:~# mpathpersist -i -k /dev/mapper/36589cfc0000007507940a4aaf05aead6 PR generation=0x5e, 0 registered reservation key. root@qau22c13n1:~# root@qau22c13n1:~# mpathpersist -v2 --out --register-ignore --param-sark=0x214872831593209 /dev/mapper/36589cfc0000007507940a4aaf05aead6 468.142907 | 36589cfc0000007507940a4aaf05aead6: adding new path sdy 468.145936 | 36589cfc0000007507940a4aaf05aead6: adding new path sdx 468.146779 | 36589cfc0000007507940a4aaf05aead6: pr message=setprstatus map 36589cfc0000007507940a4aaf05aead6 468.146850 | 36589cfc0000007507940a4aaf05aead6: message=setprstatus map 36589cfc0000007507940a4aaf05aead6 reply=ok
root@qau22c13n1:~# echo $? 0 root@qau22c13n1:~# mpathpersist -i -k /dev/mapper/36589cfc0000007507940a4aaf05aead6 PR generation=0x60, 2 registered reservation keys follow: 0x214872831593209 0x214872831593209 root@qau22c13n1:~#
=> the key is correctly registered on both paths
root@qau22c13n1:~# mpathpersist -v2 --out --register-ignore --param-rk=0x214872831593209 /dev/mapper/36589cfc0000007507940a4aaf05aead6 500.425873 | 36589cfc0000007507940a4aaf05aead6: adding new path sdy 500.429693 | 36589cfc0000007507940a4aaf05aead6: adding new path sdx 500.430421 | 36589cfc0000007507940a4aaf05aead6: pr message=unsetprstatus map 36589cfc0000007507940a4aaf05aead6 500.430491 | 36589cfc0000007507940a4aaf05aead6: message=unsetprstatus map 36589cfc0000007507940a4aaf05aead6 reply=ok
500.430527 | 36589cfc0000007507940a4aaf05aead6: pr message=unsetprkey map 36589cfc0000007507940a4aaf05aead6 500.430598 | 36589cfc0000007507940a4aaf05aead6: message=unsetprkey map 36589cfc0000007507940a4aaf05aead6 reply=ok
root@qau22c13n1:~# root@qau22c13n1:~# mpathpersist -i -k /dev/mapper/36589cfc0000007507940a4aaf05aead6 PR generation=0x62, 0 registered reservation key. root@qau22c13n1:~#
=> the key is unregistered on both paths
Thanks a lot for the quick resolution.
Hi Sergio,
Please find the logs below. It works fine with your package.
root@qau22c13n1:~# lsb_release -rd 22.04.2~ ppa1 22.04.2~ ppa1 22.04.2~ ppa1 500 /ppa.launchpadc ontent. net/sergiodj/ multipath- tools/ubuntu jammy/main amd64 Packages dpkg/status 8.8-1ubuntu1. 22.04.1 500 us.archive. ubuntu. com/ubuntu jammy-updates/main amd64 Packages us.archive. ubuntu. com/ubuntu jammy-security/main amd64 Packages us.archive. ubuntu. com/ubuntu jammy/main amd64 Packages 36589cfc0000007 507940a4aaf05ae ad6 sark=0x21487283 1593209 /dev/mapper/ 36589cfc0000007 507940a4aaf05ae ad6 507940a4aaf05ae ad6: adding new path sdy 507940a4aaf05ae ad6: adding new path sdx 507940a4aaf05ae ad6: pr message=setprstatus map 36589cfc0000007 507940a4aaf05ae ad6 507940a4aaf05ae ad6: message=setprstatus map 36589cfc0000007 507940a4aaf05ae ad6 reply=ok
Description: Ubuntu 22.04.2 LTS
Release: 22.04
root@qau22c13n1:~#
root@qau22c13n1:~# apt-cache policy multipath-tools
multipath-tools:
Installed: 0.8.8-1ubuntu1.
Candidate: 0.8.8-1ubuntu1.
Version table:
*** 0.8.8-1ubuntu1.
500 https:/
100 /var/lib/
0.
500 http://
500 http://
0.8.8-1ubuntu1 500
500 http://
root@qau22c13n1:~#
root@qau22c13n1:~# mpathpersist -i -k /dev/mapper/
PR generation=0x5e, 0 registered reservation key.
root@qau22c13n1:~#
root@qau22c13n1:~# mpathpersist -v2 --out --register-ignore --param-
468.142907 | 36589cfc0000007
468.145936 | 36589cfc0000007
468.146779 | 36589cfc0000007
468.146850 | 36589cfc0000007
root@qau22c13n1:~# echo $? 36589cfc0000007 507940a4aaf05ae ad6 593209 593209
0
root@qau22c13n1:~# mpathpersist -i -k /dev/mapper/
PR generation=0x60, 2 registered reservation keys follow:
0x214872831
0x214872831
root@qau22c13n1:~#
=> the key is correctly registered on both paths
root@qau22c13n1:~# mpathpersist -v2 --out --register-ignore --param- rk=0x2148728315 93209 /dev/mapper/ 36589cfc0000007 507940a4aaf05ae ad6 507940a4aaf05ae ad6: adding new path sdy 507940a4aaf05ae ad6: adding new path sdx 507940a4aaf05ae ad6: pr message= unsetprstatus map 36589cfc0000007 507940a4aaf05ae ad6 507940a4aaf05ae ad6: message= unsetprstatus map 36589cfc0000007 507940a4aaf05ae ad6 reply=ok
500.425873 | 36589cfc0000007
500.429693 | 36589cfc0000007
500.430421 | 36589cfc0000007
500.430491 | 36589cfc0000007
500.430527 | 36589cfc0000007 507940a4aaf05ae ad6: pr message=unsetprkey map 36589cfc0000007 507940a4aaf05ae ad6 507940a4aaf05ae ad6: message=unsetprkey map 36589cfc0000007 507940a4aaf05ae ad6 reply=ok
500.430598 | 36589cfc0000007
root@qau22c13n1:~# 36589cfc0000007 507940a4aaf05ae ad6
root@qau22c13n1:~# mpathpersist -i -k /dev/mapper/
PR generation=0x62, 0 registered reservation key.
root@qau22c13n1:~#
=> the key is unregistered on both paths
Thanks a lot for the quick resolution.