Bug 762770 (GLUSTER-1038) - [3.0.5rc7]: rm -rf errors out
Summary: [3.0.5rc7]: rm -rf errors out
Keywords:
Status: CLOSED WORKSFORME
Alias: GLUSTER-1038
Product: GlusterFS
Classification: Community
Component: replicate
Version: 3.0.4
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-30 07:50 UTC by Raghavendra Bhat
Modified: 2013-12-09 01:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Raghavendra Bhat 2010-06-30 05:41:03 UTC
the logfiles and the statedump files are in /share/tickets/1038......

Comment 1 Raghavendra Bhat 2010-06-30 07:50:49 UTC
Doing rm -rf on the glusterfs mount point errors out saying resource temporarily unavailable and Input/Output error. 

Setup:

3.0.5rc7(latest git pull from 3.0 series), distributed replicate setup. 

4 servers (distribute to 2 which in turn replicated to 2 servers).

2 clients

volgen generated volfile, hence all the performance translators are there.

I started running sanity scripts on one client and linux kernel untarring on other. While doing this I was doing server up-down. After untarring of linux kernel did make defconfig and then  started removing it. While this was going on mounted a 3.1 client accidently and then unmounted it. Fileop was running on 1st client when kernel directory was removed. Stopped sanity tests and then started removing all the contents on the mount point on the 1st client and simultaneously did 'ls -laR .` on another mount point. While this was going on did server up-down. 


After this rm completed but I could still see the directory on the mount point, and now doing rm -rf errored out.



a) Doing rm -rf on 1st client says both "resource temporarily unavailable and Inout/Output error:"

b) Doing rm -rf on the 2nd client says only "resource temporarily unavailable".


The logfiles of the servers and clients and the statedump information is attaches.

Comment 2 shishir gowda 2010-07-26 05:56:15 UTC
used mainline clients and servers in the mentioned config. Did I/O on both clients and took servers down intermittently. This was followed by rm and ls commands. Both succeeded.

Please re-open the issue if it occurs again.

Regards,
Shishir


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