<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><div>Hi Scott,<br></div><div><br></div><div>I don't know which version of glusterfs you have been using. In case you have been using latest version, you can also explore reset-brick command.<br></div><div><a href="https://gluster.readthedocs.io/en/latest/release-notes/3.9.0/">https://gluster.readthedocs.io/en/latest/release-notes/3.9.0/</a> <br></div><div><br></div><div>Ashish<br></div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Ted Miller" <tmiller21@zoho.com><br><b>To: </b>gluster-users@gluster.org<br><b>Sent: </b>Wednesday, February 8, 2017 9:20:59 AM<br><b>Subject: </b>Re: [Gluster-users] Moving a physical disk from one machine to another<br><div><br></div>On 02/06/2017 11:11 AM, Scott Hazelhurst wrote:<br>> Apologies if this is obvious but I’ve searched the documentation and mailing list and can’t see an answer.<br>><br>> One of my servers which hosts a gluster brick has died beyond possible saving. The physical disk of the brick itself is good and I’d like not to lose anything.<br>><br>> Can I just add it as a brick on another server? Unfortunately, I am not able to host the disk on a machine with the same IP address/host name. I suppose I could just add a new empty disk and then copy the data from the old disk but I’d prefer to do things as easily as possible.<br>><br>> Scott<br>><br>><br>><br>> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="width:100%;"><br>> <tr><br>> <td align="left" style="text-align:justify;"><font face="arial,sans-serif" size="1" color="#999999"><span style="font-size:11px;">This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorised signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. </span></font></td><br>> </tr><br>> </table<br>> _______________________________________________<br>> Gluster-users mailing list<br>> Gluster-users@gluster.org<br>> http://lists.gluster.org/mailman/listinfo/gluster-users<br><div><br></div>Did this a few months ago, when I had a server die.<br><div><br></div>Assuming it is a replicated volume, first thing is to remove old brick from <br>your volume. It has been a while since I had to do this, but I think you <br>just do a "gluster remove-brick ". It will probably require a 'force' <br>since the server is gone.<br><div><br></div>You should be able to install the disk in another server (with gluster <br>installed).<br><div><br></div>Then just add that brick to the volume, like you did when setting up the <br>volume. You will again have to force, because the volume will already have <br>a volume signature.<br><div><br></div>After that do a full heal, and wait. It will save a good bit of time that <br>the files are already on the disk. It should add any files that have been <br>changed, and then go on its way. You may want to be sure that any files <br>deleted since the server died don't get put back into the volume. Have had <br>that happen, but don't remember if this was the combination that triggered <br>it, or something else.<br><div><br></div>Ted Miller<br>Indiana, USA<br><div><br></div><br><div><br></div><br><div><br></div>_______________________________________________<br>Gluster-users mailing list<br>Gluster-users@gluster.org<br>http://lists.gluster.org/mailman/listinfo/gluster-users</div><div><br></div></div></body></html>