Bug 253803
| Summary: | mkqdisk cannot use device with 4kb sector size | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Cluster Suite | Reporter: | stanojr | ||||||
| Component: | cman | Assignee: | Lon Hohberger <lhh> | ||||||
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Cluster QE <mspqa-list> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 4 | CC: | cluster-maint, rkenna | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2008-03-04 20:29:35 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 272861 | ||||||||
| Attachments: |
|
||||||||
|
Description
stanojr
2007-08-22 00:46:51 UTC
This isn't hard to fix. I need to change the write sizes to 4kb and such, though. qdisk is missing the ability to grab sector sizes from block devices. Also, I think using raw devices, you can end up with 512 byte sector sizes. For
example:
Can you run this program and send me the output?
comple = gcc -o itest itest.c -Wall -Werror
run = ./itest <device>
The MD5 sum for the program source code as attached is:
45fa2b62345f6e0f6c3a06e21602a43d
After that's done, you can also try the following to make qdisk work now:
(a) Set up a raw device to map to your device. For example:
raw /dev/raw/raw1 /dev/vg0/qdisk0
... and try to run qdiskd using /dev/raw/raw1
(b) You can also just use raw shared SCSI disks instead of LVM maps (which is
recommended due to chicken-and-egg problems with Clustered LVM and qdisk)
Created attachment 188861 [details]
ioctl debugging program to grab sector / block sizes
Created attachment 189241 [details]
Allows non-512 byte sector size, as determined by the BLKSSGET ioctl
|