<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 12px; font-family: 'Comic Sans MS', sans-serif; ">
<div>
<div>
<div>Update: I was able to use the TestDisk program from cgsecurity.org to find and rewrite the partition info for the LVM partition. I was then able to mount the disk and restart the gluster volume to bring the brick back online. To make sure everything was
 OK, I then rebooted the node with the problem. I also rebooted all the client nodes so they have a nice clean start for the morning.</div>
<div><font face="Comic Sans MS">
<div>Regards,</div>
Eva<br>
-- <br>
Eva Broadaway Freer<br>
Senior Development Engineer</font>
<div><font face="Comic Sans MS">RF, Communications, and Intelligent Systems Group<br>
Electrical and Electronics Systems Research Division<br>
Oak Ridge National Laboratory<br>
<a href="freereb@ornl.gov">freereb@ornl.gov</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(865) 574-6894</font></div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Arial Rounded MT Bold; font-size:10pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Eva Freer &lt;<a href="mailto:freereb@ornl.gov">freereb@ornl.gov</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Tuesday, September 22, 2015 5:18 PM<br>
<span style="font-weight:bold">To: </span>&quot;<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>&quot; &lt;<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>Eva Freer &lt;<a href="mailto:freereb@ornl.gov">freereb@ornl.gov</a>&gt;, Toby Flynn &lt;<a href="mailto:flynnth@ornl.gov">flynnth@ornl.gov</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Replace corrupted brick<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 12px; font-family: 'Comic Sans MS', sans-serif; ">
<div>Our configuration is a distributed, replicated volume with 7 pairs of bricks on 2 servers. We are in the process of adding additional storage for another brick pair. I placed the new disks in one of the servers late last week and used the LSI storcli command
 to make a RAID 6 volume of the new disks. We are running RedHat 6.6 and Gluster 3.7.1 on both servers. Yesterday, I ran 'parted /dev/sdj' to create a partition on the new volume. Unfortunately, /dev/sdj was not the new volume (which is /dev/sdh). I realized
 the error right away, but the system was operating OK and it was late at night so I decided to wait until today to try to fix this. This morning, I ran 'parted rescue 0 36.0TB'. This runs, but does not find a partition to restore. I am using LVM, and the partition
 is /dev/mapper/vg_data5-lv_data5 with an xfs filesystem on it. The system continued to operate, but I expected that there would be problems on re-boot. I re-booted and indeed, the system can't find the volume at /dev/mapper/vg_data5-lv_data5. Is it possible
 to recover this volume in place, or do I need to just drop it from the gluster volume, recreate the lvm partition, and then copy the files from its partner brick on the other server? If I need to copy the files, what is the best procedure for doing it?</div>
<div><br>
</div>
<div><font face="Comic Sans MS">
<div>TIA,</div>
Eva Freer<br>
</font></div>
<div><span style="font-family: 'Comic Sans MS'; ">Oak Ridge National Laboratory</span><br style="font-family: 'Comic Sans MS'; ">
<a href="freereb@ornl.gov" style="font-family: 'Comic Sans MS'; ">freereb@ornl.gov</a></div>
</div>
</div>
</blockquote>
</span>
</body>
</html>