xfs
[Top] [All Lists]

Re: Workaroundable bug with 2.6.0-test3 xfs & xfs_growfs

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: Workaroundable bug with 2.6.0-test3 xfs & xfs_growfs
From: Tupshin Harper <tupshin@xxxxxxxxxxx>
Date: Wed, 20 Aug 2003 17:24:00 -0700
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20030820235946.GA1016@frodo>
References: <20030819093400.GA22198@modeemi.fi> <20030819230755.GH743@frodo> <3F42B027.40700@tupshin.com> <1061407741.7725.136.camel@jen.americas.sgi.com> <20030820235946.GA1016@frodo>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030618
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 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



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