[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Workaroundable bug with 2.6.0-test3 xfs & xfs_growfs



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