1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/man
Jonathan Brassow c59167ec13 pvmove: Add support for RAID, mirror, and thin
This patch allows pvmove to operate on RAID, mirror and thin LVs.
The key component is the ability to avoid moving a RAID or mirror
sub-LV onto a PV that already has another RAID sub-LV on it.
(e.g. Avoid placing both images of a RAID1 LV on the same PV.)

Top-level LVs are processed to determine which PVs to avoid for
the sake of redundancy, while bottom-level LVs are processed
to determine which segments/extents to move.

This approach does have some drawbacks.  By eliminating whole PVs
from the allocation list, we might miss the opportunity to perform
pvmove in some senarios.  For example, if we have 3 devices and
a linear uses half of the first, a RAID1 uses half of the first and
half of the second, and a linear uses half of the third (FIGURE 1);
we should be able to pvmove the first device (FIGURE 2).
	FIGURE 1:
        [ linear ] [ -RAID- ] [ linear ]
        [ -RAID- ] [        ] [        ]

	FIGURE 2:
        [  moved ] [ -RAID- ] [ linear ]
        [  moved ] [ linear ] [ -RAID- ]
However, the approach we are using would eliminate the second
device from consideration and would leave us with too little space
for allocation.  In these situations, the user does have the ability
to specify LVs and move them one at a time.
2013-08-23 08:57:16 -05:00
..
blkdeactivate.8.in blkdeactivate: change the way blkdeactivate reports status 2013-08-13 17:51:23 +02:00
clvmd.8.in Update man pages 2012-04-11 12:42:10 +00:00
cmirrord.8.in a little more information for the cmirrord man page 2010-01-22 21:48:17 +00:00
dmeventd.8.in Updated documentation for dmeventd. 2011-12-22 15:50:38 +00:00
dmsetup.8.in man: updates 2013-05-13 13:09:30 +02:00
fsadm.8.in Update man pages 2012-04-11 12:42:10 +00:00
lvchange.8.in Man Pages: Update man pages to reflect changes to various RAID options 2013-07-22 13:02:32 -05:00
lvconvert.8.in RAID: Make "raid1" the default mirror segment type 2013-08-06 14:13:55 -05:00
lvcreate.8.in RAID: Make "raid1" the default mirror segment type 2013-08-06 14:13:55 -05:00
lvdisplay.8.in man: updates 2013-05-13 13:09:30 +02:00
lvextend.8.in man: lvextend --use-policies 2013-04-25 17:33:24 +02:00
lvm.8.in man: refine doc for config profiles 2013-07-04 12:09:21 +02:00
lvm.conf.5.in man: refine doc for config profiles 2013-07-04 12:09:21 +02:00
lvmchange.8.in Update man pages 2012-04-11 12:42:10 +00:00
lvmconf.8.in Update man pages 2012-04-11 12:42:10 +00:00
lvmdiskscan.8.in Update man pages 2012-04-11 12:42:10 +00:00
lvmdump.8.in Update man pages 2012-04-11 12:42:10 +00:00
lvmetad.8.in man: updates 2013-05-13 13:09:30 +02:00
lvmsadc.8.in Update man pages 2012-04-11 12:42:10 +00:00
lvmsar.8.in Update man pages 2012-04-11 12:42:10 +00:00
lvreduce.8.in Update man pages 2012-04-11 12:42:10 +00:00
lvremove.8.in Update man pages 2012-04-11 12:42:10 +00:00
lvrename.8.in Update man pages 2012-04-11 12:42:10 +00:00
lvresize.8.in thin: lvresize supports pool metadata resize 2013-06-11 14:05:20 +02:00
lvs.8.in Man Pages: Update man pages to reflect changes to various RAID options 2013-07-22 13:02:32 -05:00
lvscan.8.in Update man pages 2012-04-11 12:42:10 +00:00
Makefile.in man: document profile config and related options 2013-07-03 16:49:26 +02:00
pvchange.8.in Update man pages 2012-04-11 12:42:10 +00:00
pvck.8.in Update man pages 2012-04-11 12:42:10 +00:00
pvcreate.8.in man: pvs -o ba_start,ba_size -> pv_ba_start,pv_ba_size 2013-07-23 14:45:30 +02:00
pvdisplay.8.in man: updates 2013-05-13 13:09:30 +02:00
pvmove.8.in pvmove: Add support for RAID, mirror, and thin 2013-08-23 08:57:16 -05:00
pvremove.8.in Update man pages 2012-04-11 12:42:10 +00:00
pvresize.8.in Update man pages 2012-04-11 12:42:10 +00:00
pvs.8.in man: pvs -o ba_start,ba_size -> pv_ba_start,pv_ba_size 2013-07-23 14:45:30 +02:00
pvscan.8.in man: refine lvm.conf and man page documentation for autoactivation feature 2013-06-14 10:02:56 +02:00
vgcfgbackup.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgcfgrestore.8.in text: miscellaneous comments & message tweaks 2013-06-15 01:28:54 +01:00
vgchange.8.in tools: add --setactivationskip and --ignoreactivationskip to vgchange/lvchange 2013-07-12 20:49:57 +02:00
vgck.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgconvert.8.in refactor: rename embedding area -> bootloader area 2013-05-28 12:37:22 +02:00
vgcreate.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgdisplay.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgexport.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgextend.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgimport.8.in vgimport: Allow '--force' to import VGs with missing PVs. 2013-02-20 16:37:41 -06:00
vgimportclone.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgmerge.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgmknodes.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgreduce.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgremove.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgrename.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgs.8.in man: document profile config and related options 2013-07-03 16:49:26 +02:00
vgscan.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgsplit.8.in Update man pages 2012-04-11 12:42:10 +00:00