Alasdair G Kergon wrote: : On Sun, Apr 18, 2004 at 08:23:03PM +0200, Jan Kasprzak wrote: : > Then I have written a simple Perl script to lvextend the test_lv volume : > by 1 extent from either md5 or md6, depending on which one has the higher : > fraction of free extents. This way I will get as perfect interleaving as I : > can get on the PVs of different size. : : The method you're using means every extent gets listed separately in the : metadata, so you'll need to prepare a lot more space for it when you : run pvcreate. : : Check out the --metadatasize option to pvcreate. Yes, this may be the problem. As I said, I am not able to test it now. The metadata size depends on the PV size? It would be helpful if lvextend can print something about insufficient space in metadata on the PV. Thanks for the explanation. -Y. -- | Jan "Yenya" Kasprzak <kas at {fi.muni.cz - work | yenya.net - private}> | | GPG: ID 1024/D3498839 Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E | | http://www.fi.muni.cz/~kas/ Czech Linux Homepage: http://www.linux.cz/ | Any compiler or language that likes to hide things like memory allocations behind your back just isn't a good choice for a kernel. --Linus Torvalds _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/