bugGluster - Bugs: bug #21500, ls -l on glusterfs mount-point...

 
 

bug #21500: ls -l on glusterfs mount-point shows junk data

Submitted by:  Basavanagowda Kanur <gowda>
Submitted on:  Fri 02 Nov 2007 08:55:44 AM UTC  
 
Category: GlusterFSSeverity: 5 - Blocker
Priority: 5 - NormalItem Group: Improper behaviour
Status: FixedPrivacy: Public
Assigned to: Amar Tumballi <amarts>Originator 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 02 Nov 2007 11:59:38 AM UTC, comment #1:

This bug was introduced in patch-535, and got fixed in patch-542.

This bug was due to a small typo in checksum_cbk function, where even if everything was ok, -1 was returned to upper layer, and hence lookup used to fail. So, stat info of the files were junk.

Amar Tumballi <amarts>
Project MemberIn charge of this item.
Fri 02 Nov 2007 08:55:44 AM UTC, original submission:

ls -l on glusterfs shows junk data for stat of few files, whereas it shows proper data for rest of files.

node2:/mnt/glusterfs/1# ls -l
total 144
drwx------ 2 root root 4096 2007-10-30 02:02 client0
drwx------ 2 root root 4096 2007-10-29 23:56 client1
drwx------ 2 root root 4096 2007-10-30 01:57 client10
drwx------ 2 root root 4096 2007-10-30 00:20 client12
drwx------ 2 root root 4096 2007-10-30 04:39 client13
drwx------ 2 root root 4096 2007-10-30 01:01 client14
drwx------ 2 root root 4096 2007-10-29 23:56 client15
drwx------ 2 root root 4096 2007-10-30 02:38 client16
drwx------ 2 root root 4096 2007-10-30 03:09 client17
drwx------ 2 root root 4096 2007-10-30 01:12 client18
drwx------ 2 root root 4096 2007-10-30 02:19 client19
drwx------ 2 root root 4096 2007-10-29 23:49 client2
drwx------ 2 root root 4096 2007-10-30 00:00 client20
drwx------ 2 root root 4096 2007-10-29 23:54 client21
drwx------ 2 root root 4096 2007-10-30 00:07 client22
drwx------ 2 root root 4096 2007-10-30 01:43 client23
drwx------ 2 root root 4096 2007-10-30 01:28 client24
drwx------ 2 root root 4096 2007-10-30 01:19 client25
drwx------ 2 root root 4096 2007-10-30 00:12 client26
drwx------ 2 root root 4096 2007-10-30 00:16 client27
drwx------ 2 root root 4096 2007-10-30 04:32 client28
drwx------ 2 root root 4096 2007-10-29 23:44 client3
drwx------ 2 root root 4096 2007-10-29 23:51 client30
drwx------ 2 root root 4096 2007-10-29 23:42 client31
drwx------ 2 root root 4096 2007-10-29 23:45 client32
drwx------ 2 root root 4096 2007-10-30 00:21 client33
drwx------ 2 root root 4096 2007-10-29 23:42 client4
drwx------ 2 root root 4096 2007-10-29 23:51 client5
drwx------ 2 root root 4096 2007-10-30 01:44 client6
drwx------ 2 root root 4096 2007-10-30 00:27 client7
drwx------ 2 root root 4096 2007-10-30 01:48 client8
drwx------ 2 root root 4096 2007-10-30 01:30 client9
drwxr-xr-x 2 root root 4096 2007-10-30 00:42 clients
?--------- ? ? ? ? ? node-10
?--------- ? ? ? ? ? node-11
?--------- ? ? ? ? ? node-12
?--------- ? ? ? ? ? node-13
?--------- ? ? ? ? ? node-14
?--------- ? ? ? ? ? node-15
?--------- ? ? ? ? ? node-16
?--------- ? ? ? ? ? node-17
?--------- ? ? ? ? ? node-18
?--------- ? ? ? ? ? node-19
?--------- ? ? ? ? ? node-2
?--------- ? ? ? ? ? node-20
?--------- ? ? ? ? ? node-21
?--------- ? ? ? ? ? node-22
?--------- ? ? ? ? ? node-23
?--------- ? ? ? ? ? node-24
?--------- ? ? ? ? ? node-25
?--------- ? ? ? ? ? node-26
drwxr-xr-x 3 root root 4096 2007-10-29 21:26 node-27
?--------- ? ? ? ? ? node-28
?--------- ? ? ? ? ? node-29
?--------- ? ? ? ? ? node-3
?--------- ? ? ? ? ? node-30
?--------- ? ? ? ? ? node-31
?--------- ? ? ? ? ? node-32
?--------- ? ? ? ? ? node-33
?--------- ? ? ? ? ? node-34
?--------- ? ? ? ? ? node-35
?--------- ? ? ? ? ? node-36
?--------- ? ? ? ? ? node-37
?--------- ? ? ? ? ? node-38
?--------- ? ? ? ? ? node-39
?--------- ? ? ? ? ? node-4
?--------- ? ? ? ? ? node-40
?--------- ? ? ? ? ? node-41
?--------- ? ? ? ? ? node-42
?--------- ? ? ? ? ? node-43
?--------- ? ? ? ? ? node-44
?--------- ? ? ? ? ? node-45
?--------- ? ? ? ? ? node-46
?--------- ? ? ? ? ? node-47
?--------- ? ? ? ? ? node-48
?--------- ? ? ? ? ? node-49
?--------- ? ? ? ? ? node-5
?--------- ? ? ? ? ? node-50
?--------- ? ? ? ? ? node-51
?--------- ? ? ? ? ? node-52
?--------- ? ? ? ? ? node-53
?--------- ? ? ? ? ? node-54
?--------- ? ? ? ? ? node-55
?--------- ? ? ? ? ? node-56
?--------- ? ? ? ? ? node-57
?--------- ? ? ? ? ? node-58
?--------- ? ? ? ? ? node-59
?--------- ? ? ? ? ? node-6
?--------- ? ? ? ? ? node-60
?--------- ? ? ? ? ? node-61
?--------- ? ? ? ? ? node-62
drwxr-xr-x 3 root root 4096 2007-10-29 22:36 node-63
?--------- ? ? ? ? ? node-64
?--------- ? ? ? ? ? node-65
?--------- ? ? ? ? ? node-66
?--------- ? ? ? ? ? node-7
?--------- ? ? ? ? ? node-8
?--------- ? ? ? ? ? node-9

.
Doing ls on one particular file on the mount-point give 'No such file or directory'

node2:/mnt/glusterfs/1# ls node-1
ls: node-1: No such file or directory

glusterfs patch-540.

Basavanagowda Kanur <gowda>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #14277:  client-pd.vol added by gowda (6KiB - application/octet-stream - client volume spec attached.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by amarts (Posted a comment)
  • -unavailable- added by gowda (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 02 Nov 2007 11:59:38 AM UTCamartsStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 02 Nov 2007 08:55:45 AM UTCgowdaAttached File-=>Added client-pd.vol, #14277

    Back to the top


    Powered by Savane 3.1-cleanup1