On Tue, Jan 23, 2007 at 10:19:27AM -0500, Geir A. Myrestrand wrote:
> Does xfs_growfs depend on some space left on the file system in order to
> be able to grow it?
Yes, it does require some space to be left because growing the
filesystem can require extending the original last AG to the full
size and that means there may be btree work to be journalled
and hence we have to reserve blocks for that to succeed in all
> I have a colleague who ran into an issue where a file system resize
> failed. The file system is 100% full.
Yup, we hit that in QA recently and have an open bug for it.
> Aside from analyzing what happened in his case, should XFS be able to
> grow a file system that is 100% full?
Yes, it should.
> The device has already been expanded, it is the XFS file system that
> fails to resize. I just wonder if that is by design, or whether it is an
It's a bug, really, but one you can easily work around by freeing
up about 50k of space. If you've got a really large filesystem, then
you might need to free more space than that.
At some point in my copious amounts of free time I'll fix it properly...
SGI Australian Software Group