Public bug reported:

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.

** Affects: evms (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
EVMS reports incorrect XFS stripe unit and width sizes.
https://launchpad.net/bugs/83880

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to