Mailinglist Archive: yast-commit (1056 mails)

< Previous Next >
[yast-commit] r44433 - in /trunk/storage: libstorage/src/Storage.cc package/yast2-storage.changes
  • From: fehr@xxxxxxxxxxxxxxxx
  • Date: Wed, 13 Feb 2008 18:07:53 -0000
  • Message-id: <20080213180753.801821072EE@xxxxxxxxxxxxxxxx>
Author: fehr
Date: Wed Feb 13 19:07:53 2008
New Revision: 44433

URL: http://svn.opensuse.org/viewcvs/yast?rev=44433&view=rev
Log:
fix bug during sync between EVMS and LVM container (#354415)

Modified:
trunk/storage/libstorage/src/Storage.cc
trunk/storage/package/yast2-storage.changes

Modified: trunk/storage/libstorage/src/Storage.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Storage.cc?rev=44433&r1=44432&r2=44433&view=diff
==============================================================================
--- trunk/storage/libstorage/src/Storage.cc (original)
+++ trunk/storage/libstorage/src/Storage.cc Wed Feb 13 19:07:53 2008
@@ -2857,6 +2857,35 @@
}
++vi;
}
+ ep = evCoPair(evmsCo);
+ coi = ep.begin();
+ list<string> rem_co;
+ while( coi!=ep.end())
+ {
+ if( coi->name().find( "lvm/" )==0 ||
+ coi->name().find( "lvm2/" )==0 )
+ {
+ string n = coi->name();
+ y2mil("n:"<<n);
+ n.erase(0,n.find('/')+1);
+ y2mil("n:"<<n);
+ ContIterator cc;
+ if( findContainer( "/dev/"+n, cc ) && cc->deleted())
+ rem_co.push_back( coi->device() );
+ }
+ ++coi;
+ }
+ if( rem_co.size()>0 )
+ {
+ y2mil("rem_co:" << rem_co);
+ for( list<string>::iterator s = rem_co.begin();
+ s!=rem_co.end(); s++ )
+ {
+ ContIterator cc;
+ if( findContainer( *s, cc ))
+ removeContainer( &(*cc) );
+ }
+ }
std::map<string,CCont>::iterator i=backups.find("initial");
if( !evCoPair().empty() && i!=backups.end() )
{

Modified: trunk/storage/package/yast2-storage.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=44433&r1=44432&r2=44433&view=diff
==============================================================================
--- trunk/storage/package/yast2-storage.changes (original)
+++ trunk/storage/package/yast2-storage.changes Wed Feb 13 19:07:53 2008
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Wed Feb 13 19:04:56 CET 2008 - fehr@xxxxxxx
+
+- fix bug during sync between EVMS and LVM container (#354415)
+
+-------------------------------------------------------------------
Thu Feb 7 19:17:31 CET 2008 - fehr@xxxxxxx

- add key sb_ver with version of raid superblock to md maps (#357897)

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages