bugGluster - Bugs: bug #21078, glusterfs / mount hangs by...

 
 

bug #21078: glusterfs / mount hangs by deleting files from another client

Submitted by:  Alexander Rudolf <rudale>
Submitted on:  Fri 14 Sep 2007 11:40:48 AM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Improper behaviour
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Operating System: GNU/LinuxReproducibility: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 21 Sep 2007 12:17:50 PM UTC, comment #1:

glusterfs--mainline--2.5--patch-489
fixes the issue.

Cause: A stale dentry from previous execution of lockfile command in client1

fix: delete the dentry in fuse_create_cbk.

Raghavendra <raghavendra>
Project Member
Fri 14 Sep 2007 11:40:48 AM UTC, original submission:

Hi, i'm trying out glusterfs.
It's fine.
But - i have a problem ( bug? ):

>> glusterfs hangs after i created a file on client1 and deleted it on client2 and recreated the file on client1 <<

( i tried it out more than 3 times from scratch )

What i have:

2 Bricks
glusterfs-1.3.1
fuse 2.7.0-glfs3
reiserfs ( rw, acl, user_xattr )
suse sles 10 sp1 2.6.16.46-0.12-xen
2 Clients
glusterfs-1.3.1
fuse 2.7.0-glfs3
reiserfs ( rw, acl, user_xattr )
suse sles 10 sp1 2.6.16.46-0.12-xen

What i have to do:
Mirror files and get shared read/write access from 2+ clients. clients must serialize for some work - so i'm using lockfile for it.

What i am doing:
start bricks
start clients
mount glusterfs on clients
client1:
lockfile -5 -r 60 /glusterfs/lockfile.client1
=> OK
client2:
rm /glusterfs/lockfile.client1
=> OK
client1:
lockfile -5 -r 60 /glusterfs/lockfile.client1
=> lockfile will not return ( i waited more than 1 hour :-)
=> ls ( or other tools ) will not return, too

My question:
Is it a misconfiguration ( i'm new to glusterfs ), a FUSE - Problem, or a problem with afr?

Alexander Rudolf <rudale>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #13940:  debug_glusterfs.kwrite added by rudale (4KiB - application/octet-stream)
file #13941:  glusterfs-server.vol added by rudale (1KiB - application/octet-stream)
file #13942:  glusterfs-client.vol added by rudale (3KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by raghavendra (Posted a comment)
  • -unavailable- added by rudale (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 21 Sep 2007 12:17:50 PM UTCraghavendraOpen/ClosedOpen=>Closed
    Fri 14 Sep 2007 11:40:48 AM UTCrudaleAttached File-=>Added debug_glusterfs.kwrite, #13940
      Attached File-=>Added glusterfs-server.vol, #13941
      Attached File-=>Added glusterfs-client.vol, #13942

    Back to the top


    Powered by Savane 3.1-cleanup1