Re: mkfs.xfs doesn't detect size of storage correctly

Eric Sandeen
2008-01-31T03:22:19Z

Matthias Schniedermeyer wrote:
> A little followup.
>
> Today i bought another 750GB HDD, and a 500GB.
>
> Initializing the encryption of the 500GB finished a minute ago and the
> same bug, of course with a different size (357702MB), was observable.
>
> Workaround also worked in this case (Now its 476937MB). This also proves
> that the bug is of recent nature, the last 500GB HDD i bought was just
> over a month ago and this bug didn't show up then.

Yes, it's a regression in 2.9.5.

http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-cmds/xfsprogs/mkfs/xfs_mkfs.c.diff?r1=1.82;r2=1.83

-Eric