Bug 1004363 - kernel untar on nfs mount failed with "Input/output error" when a brick goes offline and comes back online.
kernel untar on nfs mount failed with "Input/output error" when a brick goes ...
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: replicate (Show other bugs)
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Ravishankar N
Depends On:
  Show dependency treegraph
Reported: 2013-09-04 09:33 EDT by spandura
Modified: 2016-09-17 08:20 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-12-03 12:23:26 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description spandura 2013-09-04 09:33:51 EDT
Description of problem:
untar of linux kernel from nfs mount failed on a replicate volume ( 1 x 2 ) with "Input/output error" when one of the brick goes offline and comes back online. 

Version-Release number of selected component (if applicable):
glusterfs built on Aug 30 2013 08:15:37

How reproducible:
Tried twice. Could observe it only once. 

Steps to Reproduce:
1.Create a replicate volume ( 1 x 2 ). Start the volume

2.Create nfs mount. 

3.From mount point execute: 

a. "wget -c http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.6-rc4.tar.gz"

b. "mkdir linux_kernel ; tar -zxvf linux-3.6-rc4.tar.gz -C linux_kernel ;"

4. While untar is in progress , bring down one of the brick (kill -KILL <brick_pid>)

5. while untar is in progress, bring back the brick (service glusterd restart). restarted glusterd on both the nodes. 

Actual results:
tar: linux-3.6-rc4/drivers/scsi/aic7xxx/aic7xxx_seq.h_shipped: Cannot change mode to rw-rw-r--: Input/output error
tar: linux-3.6-rc4/drivers/scsi/aic7xxx/aicasm: Cannot mkdir: Input/output error
tar: linux-3.6-rc4/drivers/scsi/aic7xxx/aicasm/Makefile: Cannot open: Input/output error
tar: linux-3.6-rc4/drivers/scsi/aic7xxx/aicasm/aicasm.c: Cannot open: Input/output error

Expected results:
untar shouldn't fail

Additional info:

root@hicks [Sep-04-2013-11:39:03] >gluster v info
Volume Name: vol_dis_1_rep_2
Type: Replicate
Volume ID: 8fd6bcd1-c3ee-472f-b4ca-10681876ab4a
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Brick1: hicks.lab.eng.blr.redhat.com:/rhs/bricks/vol_dis_1_rep_2_b0
Brick2: king.lab.eng.blr.redhat.com:/rhs/bricks/vol_dis_1_rep_2_b1
Options Reconfigured:
cluster.self-heal-daemon: on
performance.open-behind: off
Comment 2 spandura 2013-09-04 10:03:07 EDT
Able to recreate the issue once again.
Comment 5 RajeshReddy 2015-11-23 05:29:07 EST
Tested with 3.1.2 (afrv2.0) and not able to reproduce the reported problem and as per the Dev this is fixed as part of v2 implementation so marking this bug as verified
Comment 6 Vivek Agarwal 2015-12-03 12:23:26 EST
Thank you for submitting this issue for consideration in Red Hat Gluster Storage. The release for which you requested us to review, is now End of Life. Please See https://access.redhat.com/support/policy/updates/rhs/

If you can reproduce this bug against a currently maintained version of Red Hat Gluster Storage, please feel free to file a new report against the current release.

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