EVMS reports incorrect XFS stripe unit and width sizes.
Bug #83880 reported by
Darik Horn
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
evms (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Binary package hint: evms
The stripe unit and stripe width in the XFS superblock is a multiple of the volume block size, but the EVMS XFS plugin assumes that the volume block size is the same as the volume sector size.
The bug can be reproduced like this:
# mdadm --create --level=5 --raid-devices=4 --chunk=256 /dev/sd[abcd]
# mkfs.xfs -b size=4096 -d su=256k,sw=3 /dev/md0
# evmsn
Find the XFS filesystem in the /dev/md0 region and choose "Display Details" from the context menu. Notice that "Stripe Unit" is 32k and "Stripe Width" is 96k, which would be sensible if the block size is 512 bytes, which it isn't.
The attached patch fixes the glitch.
To post a comment you must log in.
Please note also that evms no longer ships in Ubuntu post-hardy.