<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> P, UL, OL, DL, DIR, MENU, PRE { margin: 0 auto;}</STYLE>

<META name=GENERATOR content="MSHTML 8.00.6001.23687"></HEAD>
<BODY leftMargin=1 rightMargin=1 topMargin=1><FONT size=2 face=Tahoma>
<DIV>Hello, this is my first post.</DIV>
<DIV>&nbsp;</DIV>
<DIV>In a test environment, I have been testing likely failures and how to recover from them.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I was testing the event that a disc begins to fail, and we decide to remove the brick, and its counterpart replica brick from the volume.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Steps:</DIV>
<DIV>1. Call 'gluster volume remove-brick'&nbsp;on 2 bricks in a distribute-replicate set up (with other bricks in volume).</DIV>
<DIV>2. During this process, physically detaching the 2nd removing brick - simulating a complete disc failure.</DIV>
<DIV>3. After removal, commit the removal.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Result:</DIV>
<DIV>A number of files on the volume are missing (around 25%).</DIV>
<DIV>The 'healthy' disconnected brick is still mounted, and I can see the missing files inside it.</DIV>
<DIV>Is there a way to restore these files back into the volume correctly. I have considered 'cp'ing them back in - but would like to know if there is a better option.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I appreciate this is a test environment, however, I feel this is a reasonably likely occurance.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Many thanks</DIV></FONT></BODY></HTML>