xfs
[Top] [All Lists]

Re: Workaroundable bug with 2.6.0-test3 xfs & xfs_growfs

To: Tupshin Harper <tupshin@xxxxxxxxxxx>
Subject: Re: Workaroundable bug with 2.6.0-test3 xfs & xfs_growfs
From: Nathan Scott <nathans@xxxxxxx>
Date: Thu, 21 Aug 2003 10:39:10 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <3F441120.2020204@xxxxxxxxxxx>
References: <20030819093400.GA22198@xxxxxxxxxx> <20030819230755.GH743@frodo> <3F42B027.40700@xxxxxxxxxxx> <1061407741.7725.136.camel@xxxxxxxxxxxxxxxxxxxx> <20030820235946.GA1016@frodo> <3F441120.2020204@xxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.3i
On Wed, Aug 20, 2003 at 05:24:00PM -0700, Tupshin Harper wrote:
> Nathan Scott wrote:
> 
> >On Wed, Aug 20, 2003 at 02:29:01PM -0500, Steve Lord wrote:
> > 
> >
> >>I think you have to ask device mapper folks how to tell how big
> >>one of their volumes is from user space.
> >>   
> >>
> >
> >I've attached a little program which can be used to dump out
> >what the device driver reports its size as.  Just give it the
> >lvm device as its first argument.
> >
> Bingo...log appears below:
> I extended an lvm partition, and the size reported was not updated until 
> the partition was unmounted. How should I proceed from here? Would you 
> like me to report it to somebody in charge of the dev-mapper stuff? I'm 

Yes, lvm-devel@xxxxxxxxxxx would be the right place I think.

thanks.

> skipping the kernel patch you attached for the moment since I'm not 
> running into that bug. Thanks much.
> 
> -Tupshin
> 
> bastard:/home/tupshin# ./lvm_size /dev/lvm_group_2/debmir
> size = 11811160064 bytes, sector size = 512 bytes
> bastard:/home/tupshin# lvextend -L +100M /dev/lvm_group_2/debmir
>  Extending logical volume debmir to 11.10 GB
>  Logical volume debmir successfully resized
> bastard:/home/tupshin# ./lvm_size /dev/lvm_group_2/debmir
> size = 11811160064 bytes, sector size = 512 bytes
> bastard:/home/tupshin# umount /data/debmir
> bastard:/home/tupshin# ./lvm_size /dev/lvm_group_2/debmir
> size = 11916017664 bytes, sector size = 512 bytes
> 
> 

-- 
Nathan


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