xfs
[Top] [All Lists]

Re: xfs_growfs doesn't detect new blocks

To: Fredrik Tolf <fredrik@xxxxxxxxxxxxx>
Subject: Re: xfs_growfs doesn't detect new blocks
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Sun, 21 Dec 2003 20:15:23 -0600 (CST)
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <16358.12166.541230.213894@xxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
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
> 
> 


<Prev in Thread] Current Thread [Next in Thread>