EVMS reports incorrect XFS stripe unit and width sizes.

Bug #83880 reported by Darik Horn
4
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.

Tags: patch
Revision history for this message
Darik Horn (dajhorn) wrote :
Revision history for this message
Daniel T Chen (crimsun) wrote :

Please note also that evms no longer ships in Ubuntu post-hardy.

Changed in evms:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Phillip Susi (psusi) wrote :

This package has been removed from Ubuntu. Closing all related bugs.

Changed in evms (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.