[linux-lvm] lvextend fails on v2 metadata
Alasdair G Kergon
agk at redhat.com
Sun Apr 18 18:38:37 UTC 2004
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.
[NB You can't manipulate these settings yet without losing the data
on the device]
[A striping implementation which lets you specify differently-sized
chunks for each device, anyone?]
Alasdair
--
agk at redhat.com
More information about the linux-lvm
mailing list