+++ This bug was initially created as a clone of Bug #253803 +++ Description of problem: mkqdisk cannot use device with 4kb sector size(probably only 512b sector size is ok) Version-Release number of selected component (if applicable): cluster-1.04.00.tar.gz How reproducible: # mkqdisk -c /dev/vg0/qdisk0 -l qdisk0 mkqdisk v0.5.1 Writing new quorum disk label 'qdisk0' to /dev/vg0/qdisk0. WARNING: About to destroy all data on /dev/vg0/qdisk0; proceed [N/y] ? y diskRawWriteShadow: Invalid argument diskRawWriteShadow: aligned write returned -1, not 512 diskRawWriteShadow: Invalid argument Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 200741 [details] Allows any size sector
Patch in cvs
Patch in CVS is broken; requires additional patch in order to make it work.
Created attachment 292718 [details] Fix
I do not have any 4kb blocksize devices configured. However, qdiskd is correctly using I/O sizes derived from the quorum device: [3734] debug: I/O Size: 512 Page Size: 4096 [root@molly ~]# mkqdisk -L mkqdisk v0.5.2 /dev/xvdb1: Magic: eb7a62c2 Label: lolcats Created: Mon Feb 4 12:15:33 2008 Host: molly Kernel Sector Size: 512 Recorded Sector Size: 512
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0347.html