Bug 1238171 - Not able to recover the corrupted file on Replica volume
Summary: Not able to recover the corrupted file on Replica volume
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: bitrot
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: RHGS 3.1.1
Assignee: Raghavendra Bhat
QA Contact: RajeshReddy
URL:
Whiteboard:
: 1266014 1266015 (view as bug list)
Depends On:
Blocks: 1216951 1238188 1251815 1255604 1255689 1266014 1266015
TreeView+ depends on / blocked
 
Reported: 2015-07-01 10:40 UTC by RajeshReddy
Modified: 2018-03-13 09:59 UTC (History)
9 users (show)

Fixed In Version: glusterfs-3.7.1-13
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1238188 1266014 1266015 (view as bug list)
Environment:
Last Closed: 2015-10-05 07:17:37 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1845 0 normal SHIPPED_LIVE Moderate: Red Hat Gluster Storage 3.1 update 2015-10-05 11:06:22 UTC

Description RajeshReddy 2015-07-01 10:40:26 UTC
Description of problem:
=======================
Not able to recover the corrupted file on Replica volume 


Version-Release number of selected component (if applicable):
==========
glusterfs-api-3.7.1-6

How reproducible:


Steps to Reproduce:
==========================
1.Create 1X2 volume and enable bitrot, once the file is signed modify the file directly from the brick on any of the node
2.Once scrubber marks the file as bad , trying to recover the file by running following steps

3. Get the gfid of the corrupted file by running the getfattr -d -m . -e hex <filename>
4. Delete the corrupted file directly from the back-end
5. Go to the /brick/.glsuterfs and delete the gfid file
6. From the FUSE mount access the corrupted file 
7. Run gluster volume heal volname to get the deleted corrupted file

Actual results:
Self heal is failing 

Expected results:
User should be able to recover the bad file 

Setup details:
IP:10.70.36.26/29

Comment 2 monti lawrence 2015-07-22 19:37:58 UTC
Doc text is edited. Please sign off to be included in Known Issues.

Comment 3 Venky Shankar 2015-07-27 06:21:14 UTC
doc text looks good.

Comment 9 RajeshReddy 2015-08-31 09:25:21 UTC
Tested with "glusterfs-server-3.7.1-12", able to recover the bad file from the replica volume so marking this as verified

Comment 10 RajeshReddy 2015-09-09 12:50:02 UTC
Tested with 3.1.1 build and manually able to recover the bad file from replica volume

Comment 12 errata-xmlrpc 2015-10-05 07:17:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-1845.html

Comment 13 Nagaprasad Sathyanarayana 2016-01-17 03:39:50 UTC
*** Bug 1266014 has been marked as a duplicate of this bug. ***

Comment 15 Amar Tumballi 2018-03-13 09:59:15 UTC
*** Bug 1266015 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.