Setting extent size with vgextend?

MimCom

Active Member
Apr 22, 2011
204
3
38
Southwest NM
Trying to migrate a vg to a larger array, using the following sequence:

pvcreate /dev/newarray
vgextend pve /dev/newarray
pvmove /dev/olddevice
vgreduce /dev/olddevice

But the new vg ends up with nowhere near the capacity of newarray. It appears that initial install (on a small disk, while waiting for the new hardware to arrive) used 4mb extents and I will need more like 64mb to accommodate newarray's capacity.

There is an option in vgcreate to specify the extent size, but I do not see any option in either pvcreate or vgextend to specify the extent size. Did I miss something?

--thanks
 
Appeared after the vgreduce completed. Ended up rebuilding the entire system - some combination of RAID driver issues and Proxmox installing grub on the wrong drive seems to have been the genesis.