1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/metadata
Milan Broz 2d5e2b52ca Change the pvcreate swap/md logic
pvcreate detects MD and swap signature.

The logic hidden there is not only documented but it is also
user unfriendly. Who invented this logic should run pvcreate
on its own critical MD device to see why;-)

This patch
 - creates one function instead of duplication code
 - asks if user want to overwrite signature
 - allows aborting (!)
 (Please note that writing LVM signatute without wiping old
 is wrong, it confuses blkid, MD will not work anyway and
 swap and LUKS is broken too.)
2010-08-19 23:03:34 +00:00
..
lv_alloc.h Fix pvmove allocation to take existing parallel stripes into account. 2010-04-08 00:28:57 +00:00
lv_manip.c Allow internal suspend and resume of origin without its snapshots. 2010-08-17 16:25:32 +00:00
merge.c Replicator: check replicator segment 2010-05-21 12:43:02 +00:00
metadata-exported.h Pass metadataignore to pv_create, pv_setup, _mda_setup, and add_mda. 2010-07-08 18:24:29 +00:00
metadata.c Change the pvcreate swap/md logic 2010-08-19 23:03:34 +00:00
metadata.h Pass metadataignore to pv_create, pv_setup, _mda_setup, and add_mda. 2010-07-08 18:24:29 +00:00
mirror.c Use 'SINGLENODE' instead of 'dead' in clvmd singlenode messages. 2010-08-17 19:25:05 +00:00
pv_alloc.h Fix all segments memory is allocated from vg private mempool. 2010-03-31 17:23:18 +00:00
pv_manip.c Fix all segments memory is allocated from vg private mempool. 2010-03-31 17:23:18 +00:00
pv_map.c Allow ALLOC_ANYWHERE to split contiguous areas. 2010-03-25 21:19:26 +00:00
pv_map.h Remove superfluous fn prototypes. 2010-07-09 15:21:10 +00:00
replicator_manip.c Replicator: add read and release VGs for rsites 2010-05-21 14:07:16 +00:00
segtype.c Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00
segtype.h Account for mirror transient status when doing lvconvert --repair. 2010-05-24 15:32:20 +00:00
snapshot_manip.c When removing a snapshot avoid preloading the origin if the 2010-04-23 02:57:39 +00:00