1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/libdm
Jonathan Earl Brassow 0c506d9a40 Support the ability to replace specific devices in a RAID array.
RAID is not like traditional LVM mirroring.  LVM mirroring required failed
devices to be removed or the logical volume would simply hang.  RAID arrays can
keep on running with failed devices.  In fact, for RAID types other than RAID1,
removing a device would mean substituting an error target or converting to a
lower level RAID (e.g. RAID6 -> RAID5, or RAID4/5 to RAID0).  Therefore, rather
than removing a failed device unconditionally and potentially allocating a
replacement, RAID allows the user to "replace" a device with a new one.  This
approach is a 1-step solution vs the current 2-step solution.

example> lvconvert --replace <dev_to_remove> vg/lv [possible_replacement_PVs]

'--replace' can be specified more than once.

example> lvconvert --replace /dev/sdb1 --replace /dev/sdc1 vg/lv
2011-11-30 02:02:10 +00:00
..
datastruct Use void pointer instead of char for binary key 2011-03-10 12:48:40 +00:00
ioctl Support the ability to replace specific devices in a RAID array. 2011-11-30 02:02:10 +00:00
misc cmirrord now returns log name to kernel in CTR so it can be registered 2011-10-14 14:18:49 +00:00
mm Improve valgrind support when compiled with DEBUG_MEM 2011-10-28 20:37:31 +00:00
regex Fix some unmatching sign comparation gcc warnings 2011-04-08 14:40:18 +00:00
.exported_symbols Generate liblvm2app and libdevmapper exported symbols from header files. 2010-06-25 18:17:38 +00:00
libdevmapper.h Thin remove unused define 2011-11-12 22:44:10 +00:00
libdevmapper.pc.in Switch to use Requires.private for devmapper.pc and lvm2app.pc 2010-05-11 08:54:11 +00:00
libdm-common.c Check target type name for DM_MAX_TYPE_NAME length 2011-11-18 19:34:02 +00:00
libdm-common.h Move udev_only logic inside stacked node op code. 2011-06-27 21:43:58 +00:00
libdm-config.c Fix core on buggy config file 2011-10-28 20:07:38 +00:00
libdm-deptree.c Thin remove unused define 2011-11-12 22:44:10 +00:00
libdm-file.c Add dm_device_has_holders fn to to check use of the device by another device. 2011-09-22 17:23:35 +00:00
libdm-report.c Remove meaningless const type qualifiers on cast type 2011-08-04 14:30:51 +00:00
libdm-string.c Fix memory overwrite 2011-09-14 16:07:07 +00:00
Makefile.in Move the core of the lib/config/config.c functionality into libdevmapper, 2011-08-30 14:55:15 +00:00