1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-26 03:22:12 +03:00
lvm2/lib/format_text
Jonathan Earl Brassow 02941f999c 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
..
archive.c Replace free_vg with release_vg 2011-08-10 20:25:29 +00:00
archiver.c Replace free_vg with release_vg 2011-08-10 20:25:29 +00:00
archiver.h Fix remote metadata backup for clvmd 2009-04-22 09:39:45 +00:00
export.c Use size_t return type 2011-09-01 10:25:22 +00:00
flags.c Support the ability to replace specific devices in a RAID array. 2011-11-30 02:02:10 +00:00
format-text.c Replace dynamic buffer allocations for PATH_MAX 2011-11-18 19:31:09 +00:00
format-text.h Make create_text_context fn static and move it inside create_instance fn. 2011-03-11 14:45:17 +00:00
import_vsn1.c Drop mempool parameter from read functions 2011-10-23 16:05:45 +00:00
import-export.h Use size_t return type 2011-09-01 10:25:22 +00:00
import.c Move the core of the lib/config/config.c functionality into libdevmapper, 2011-08-30 14:55:15 +00:00
layout.h more metadataignore message/code cleanup 2010-06-30 17:13:05 +00:00
tags.c Move the core of the lib/config/config.c functionality into libdevmapper, 2011-08-30 14:55:15 +00:00
text_export.h Move the core of the lib/config/config.c functionality into libdevmapper, 2011-08-30 14:55:15 +00:00
text_import.h Replace const usage of dm_config_find_node with more appropriate value-lookup 2011-08-31 15:19:19 +00:00
text_label.c Use new dev_open_readonly fn to prevent opening devices for read-write when not necessary. 2011-05-28 09:48:14 +00:00