df -h shows -64Z after filesystem resize

Chuck R. Anderson cra at WPI.EDU
Thu Apr 14 17:38:18 UTC 2005


On Thu, Apr 14, 2005 at 01:31:00PM -0400, Peter Jones wrote:
> On Thu, 2005-04-14 at 12:43 -0400, Chuck R. Anderson wrote:
> > statfs64("/home", 84, {f_type="EXT2_SUPER_MAGIC", f_bsize=4096,
> > f_blocks=5026994, f_bfree=6525934, f_bavail=6316219, f_files=5227520,
> > f_ffree=6893492, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
> 
> OK, so the kernel's returning this data wrong -- it's saying there are
> more available blocks than the total!
> 
> First guess would be the resize code itself isn't updating the
> superblocks correctly.

I used "resize2fs" with /home umounted to shrink it, and "ext2online"
to expand / while it was mounted.




More information about the fedora-test-list mailing list