xfs
[Top] [All Lists]

Re: Workaroundable bug with 2.6.0-test3 xfs & xfs_growfs

To: Erkki Seppala <flux-xfs@xxxxxxxxxx>
Subject: Re: Workaroundable bug with 2.6.0-test3 xfs & xfs_growfs
From: Nathan Scott <nathans@xxxxxxx>
Date: Wed, 20 Aug 2003 09:07:55 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20030819093400.GA22198@modeemi.fi>
References: <20030819093400.GA22198@modeemi.fi>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.3i
On Tue, Aug 19, 2003 at 12:34:00PM +0300, Erkki Seppala wrote:
> Growing filesystem twice after mount fails. Reproducing:
> 
> 1) mount /dev/store/media2 - 100G volume
> 2) lvextend -L 200G /dev/store/media2
> 3) xfs_growfs -d /dev/store/media2
>   -> works ok
> 4) lvextend -L 350G /dev/store/media2
> 5) xfs_growfs -d /dev/store/media2
>   -> says there is nothing to be done
> 
> Unmounting and mounting the system will allow xfs_growfs to work
> again.
> 

This sounds like the device is not properly updating its size.
Can you cat /proc/partitions after each device size extension,
and check that it is the expected size.

xfs_growfs is issuing an ioctl querying the device size before
it tells the XFS kernel code what size to extend to - for some
reason it seems that your second growfs there is getting the
same size as before... if so, this would point to a problem in
the device driver and not XFS.

cheers.

-- 
Nathan


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