LVM2 ./WHATS_NEW lib/metadata/metadata.c lib/m ...
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2007-02-07 13:29:52
Modified files:
. : WHATS_NEW
lib/metadata : metadata.c metadata.h
Log message:
If a PV reappears after it was removed from its VG, make it an orphan.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.569&r2=1.570
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/metadata.c.diff?cvsroot=lvm2&r1=1.102&r2=1.103
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/metadata.h.diff?cvsroot=lvm2&r1=1.152&r2=1.153
WHATS_NEW +2 -0
@@ -1,5 +1,7 @@ Version 2.02.22 - =================================== + If a PV reappears after it was removed from its VG, make it an orphan. + Don't update metadata automatically if VGIDs don't match. Fix some vgreduce --removemissing command line validation. Version 2.02.21 - 30th January 2007
lib/metadata/metadata.c +92 -4
146 lines not on this page · raw message
lib/metadata/metadata.h +1 -0
@@ -423,6 +423,7 @@int pv_write (struct cmd_context *cmd,struct physical_volume *pv,struct list *mdas,int64_t label_sector); +int pv_write_orphan (struct cmd_context *cmd,struct physical_volume *pv);/* pe_start and pe_end relate to any existing data so that new metadata * areas can avoid overlap */