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

Matthias Schniedermeyer
2008-02-05T15:35:24Z

On 05.02.2008 08:53, Eric Sandeen wrote:
> Matthias Schniedermeyer wrote:
>
> > There is roughly 1/3 missing.
>
> SGI, have you settled on a fix for this? Latest released xfsprogs,
> 2.9.5 has this problem, and I've put it in rawhide; it's also in the F9
> alpha spin. Should I revert to 2.9.4 if you don't have plans to fix it
> soon?
>
> Nothing indicates to the user that their fs was misformatted, and there
> will be a growing number fileystems missing a substantial portion of
> their space out there....

The big question here is if you can grow the filesystem to fix it.

Before i found the workaround with the agcount i tested to grow the fs,
but it didn't work.

So: A correctly(tm) fixed package i think it must include a xfs_grows
that can fix a damaged(tm) fs, otherwise people who use such a
filesystem (and can't backup/restore) are stuck with missing a large
chunk of space.

Bis denn

--
Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated,
cryptic, powerful, unforgiving, dangerous.