[linux-lvm] LVM2 scalability within volume group
Alasdair G Kergon
agk at redhat.com
Wed Mar 17 18:00:05 UTC 2004
On Wed, Mar 17, 2004 at 09:36:38AM -0800, Dave Olien wrote:
> Having redundant copies of meta data is a good thing. But how about
> allowing the adminstrator to set a limit on the degree of redundancy when
> a VG is created. You could limit a VG to having for example 10 redundant
> copies. Then adding more PVs beyond the 10th would encounter less overhead.
> Am I missing something important?
There'll be a VG-level option for this eventually; until then, use the
pvcreate options to say how many copies of metadata you want on each PV.
e.g. pvcreate --metadatacopies 0
[Careful use of the --restorefile option lets you reduce it on a PV already in the VG.]
For complex VGs you should increase the space set aside for metadata too:
--metadatasize
See the pvcreate man page.
Alasdair
--
agk at redhat.com
More information about the linux-lvm
mailing list