Odd, as far as I know, growfs just uses ioctl(fd, BLKGETSIZE64, &size);
to get the size of the underlying device, in xfsprogs/libxfs/linux.c
This really shouldn't have anything to do with remounting the
filesystem... what exactly was the error that you saw before
the remount?
-Eric
On Mon, 22 Dec 2003, Fredrik Tolf wrote:
> Hi!
>
> I recently extended a logical volume that I have XFS on, and for some
> reason, xfs_growfs wouldn't detect the new blocks until I had umounted
> the filesystem and then remounted it (which, naturally, isn't really
> desirable).
>
> I'm using the Sistina LVM2 and XFS that come with the stock
> 2.6.0-test10 kernel. Is this a known issue, or did I do something
> wrong, mayhap?
>
> Fredrik Tolf
>
>
|