Description of problem: the "-f <label>" option does not work Version-Release number of selected component (if applicable): mkqdisk v0.5, cman-1.0.11-0 How reproducible: every time Steps to Reproduce: 1. (on an EMC array running PowerPath) mkqdisk -c /dev/emcpowera1 -l quorum_disk_1 2. mkqdisk -f quorum_disk_1 Actual results: Only qdisk version number is displayed Expected results: (as per the mkqdisk man page): Find the cluster quorum disk with the given label and display information about it..
Definitely a bug. -f should work. (-L does).
Created attachment 139856 [details] Fixes behavior
Created attachment 139858 [details] Above patch missed something. [root@red qdisk]# ./mkqdisk -L mkqdisk v0.5.1 /dev/sdb1: Magic: eb7a62c2 Label: foo Created: Thu Jun 22 17:47:35 2006 Host: red.lab.boston.redhat.com [root@red qdisk]# ./mkqdisk -f bar mkqdisk v0.5.1 [root@red qdisk]# ./mkqdisk -f foo mkqdisk v0.5.1 /dev/sdb1: Magic: eb7a62c2 Label: foo Created: Thu Jun 22 17:47:35 2006 Host: red.lab.boston.redhat.com
Do you want me to build test RPMs, or would you like to build qdisk?
test RPM, please
Created attachment 140035 [details] i686 test package
Created attachment 140036 [details] source rpm
the patch works for me too: [sargas:~]# mkqdisk -f quorum_disk_1 mkqdisk v0.5.1 /dev/sdc1: Magic: eb7a62c2 Label: quorum_disk_1 Created: Mon Oct 30 16:15:57 2006 Host: sargas.telkomsa.net [sargas:~]# mkqdisk -f quorum_disk_2 mkqdisk v0.5.1