Bug 763469 (GLUSTER-1737)

Summary: bzip2 fails 3.1.0qa35
Product: [Community] GlusterFS Reporter: Lakshmipathi G <lakshmipathi>
Component: replicateAssignee: Shehjar Tikoo <shehjart>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 3.1-alphaCC: gluster-bugs, shehjart, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTP Mount Type: nfs
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 762692    
Bug Blocks:    

Description Lakshmipathi G 2010-09-29 07:15:27 UTC
running bzip2 on nfs-client mountpt fails , tested  with both afr and dht setups.

==========
#bzip2 -d linux-2.6.35-rc1.tar.bz2

bzip2: Compressed file ends unexpectedly;
        perhaps it is corrupted?  *Possible* reason follows.
bzip2: No such file or directory
        Input file = linux-2.6.35-rc1.tar.bz2, output file = linux-2.6.35-rc1.tar

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

bzip2: Deleting output file linux-2.6.35-rc1.tar, if it exists.

==========
nfs server log
--------
[2010-09-29 03:09:12.462144] I [afr-common.c:724:afr_lookup_done] testafrqa35-replicate-0: background  data self-heal triggered. path: /lin1/linux-2.6.35-rc1.tar.bz2
[2010-09-29 03:09:14.636806] I [afr-self-heal-algorithm.c:976:sh_diff_loop_driver] testafrqa35-replicate-0: diff  data self-heal on /lin1/linux-2.6.35-rc1.tar.bz2: 0 blocks of 482 were different (0.00%)
[2010-09-29 03:09:14.659496] I [afr-self-heal-common.c:1583:afr_self_heal_completion_cbk] testafrqa35-replicate-0: background  data self-heal completed on /lin1/linux-2.6.35-rc1.tar.bz2
--------

Comment 1 Shehjar Tikoo 2010-09-30 01:57:13 UTC
This is a known problem. Self-heal needs fixing before it will work for nfs. Avati is working on it.

Comment 2 Lakshmipathi G 2010-10-01 03:53:45 UTC
tested with qa36,with dht - it working now.

# bzip2 -d linux-2.6.35.7.tar.bz2 
# ls -ltr
total 403832
-rw-r--r-- 1 root root 412979200 2010-09-28 21:10 linux-2.6.35.7.tar

Comment 3 Shehjar Tikoo 2010-10-05 09:14:15 UTC
Re-assigning to myself to track these pending nfs bugs and resolving them.

Comment 4 Shehjar Tikoo 2010-11-08 08:43:17 UTC
Fix for 960 should fix this. Lakshmi to verify. Thanks.

Comment 5 Lakshmipathi G 2010-11-10 03:36:03 UTC
verified.works with both dht and afr setups on 3.1