Re: krbd & live resize

2013-07-30 Thread Loic Dachary
Hi Laurent, Your patch can be applied to 3.8 as described here: http://dachary.org/?p=2179 Thanks again On 30/07/2013 12:07, Laurent Barbe wrote: > Live resize has been added in 3.6.10 for krbd client. > > There is a need to do revalidate_disk() on rbd resize : > https://git.kernel.org/cgit/li

Re: krbd & live resize

2013-07-30 Thread Loic Dachary
Hi Laurent, Thanks for the solution ! On 30/07/2013 12:07, Laurent Barbe wrote: > Live resize has been added in 3.6.10 for krbd client. > > There is a need to do revalidate_disk() on rbd resize : > https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=d98df63ea7e87d5df4

Re: krbd & live resize

2013-07-30 Thread Laurent Barbe
Live resize has been added in 3.6.10 for krbd client. There is a need to do revalidate_disk() on rbd resize : https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=d98df63ea7e87d5df4dce0cece0210e2a777ac00 Cheers Laurent Le 30/07/2013 11:57, Loic Dachary a écrit :

Re: krbd & live resize

2013-07-30 Thread Loic Dachary
Hi, Tried on another machine running 3.8.0-25-generic #37~precise1-Ubuntu SMP and the behavior is the same. Cheers On 30/07/2013 11:57, Loic Dachary wrote: > > > On 30/07/2013 11:55, Laurent Barbe wrote: >> Hello Loic, >> >> which version of kernel do you use for krbd ? > > Linux i-csnces-

Re: krbd & live resize

2013-07-30 Thread Loic Dachary
On 30/07/2013 11:55, Laurent Barbe wrote: > Hello Loic, > > which version of kernel do you use for krbd ? Linux i-csnces- 3.2.0-41-generic #66-Ubuntu SMP That may explain a few things ... :-) > > Laurent > > > Le 29/07/2013 23:50, Loic Dachary a écrit : >> Hi, >> >> This works: >> >> l

Re: krbd & live resize

2013-07-30 Thread Laurent Barbe
Hello Loic, which version of kernel do you use for krbd ? Laurent Le 29/07/2013 23:50, Loic Dachary a écrit : Hi, This works: lvcreate --name tmp --size 10G all Logical volume "tmp" created mkfs.ext4 /dev/all/tmp mount /dev/all/tmp /mnt blockdev --getsize64 /dev/all/tmp 10737418240 lvext

krbd & live resize

2013-07-29 Thread Loic Dachary
Hi, This works: lvcreate --name tmp --size 10G all Logical volume "tmp" created mkfs.ext4 /dev/all/tmp mount /dev/all/tmp /mnt blockdev --getsize64 /dev/all/tmp 10737418240 lvextend -L+1G /dev/all/tmp Extending logical volume tmp to 11,00 GiB Logical volume tmp successfully resized blockdev