Ubuntu

EVMS reports incorrect XFS stripe unit and width sizes.

Reported by Darik Horn on 2007-02-07
4
Affects Status Importance Assigned to Milestone
evms (Ubuntu)
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.

Darik Horn (dajhorn) wrote :
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
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  Edit
Everyone can see this information.

Other bug subscribers