[Bugs] [Bug 1278384] 'ls' on client mount lists varying number of files while promotion/demotion

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 24 16:35:34 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1278384

nchilaka <nchilaka at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ON_QA                       |VERIFIED



--- Comment #4 from nchilaka <nchilaka at redhat.com> ---
this bug is same as 1275998.Which means it is a dup
I moved that to verified, hence moving this too

Verified on glusterfs-3.7.5-7:
============================
1)both in test and cache mode 
2)on nfs and fuse
3)while promotes and demotes were happening, the ls -l |wc -l was giving a
constant number of files as the count. 

I had about 8000 files and heated some and some got cooled. While they were
migrating issued ll|wc -l and was getting constantly the right number of files

[root at zod ~]# gluster v tier testmode status;gluster v rebal testmode status
Node                 Promoted files       Demoted files        Status           
---------            ---------            ---------            ---------        
localhost            3424                 0                    in progress      
10.70.34.43          0                    7234                 in progress      
Tiering Migration Functionality: testmode: success
                                    Node Rebalanced-files          size      
scanned      failures       skipped               status   run time in secs
                               ---------      -----------   -----------  
-----------   -----------   -----------         ------------     --------------
                               localhost             7225        0Bytes        
20464             0             0          in progress             626.00
                             10.70.34.43            14134        0Bytes        
34876             0             0          in progress             626.00
volume rebalance: testmode: success
[root at zod ~]# gluster v tier testmode status;gluster v rebal testmode status
Node                 Promoted files       Demoted files        Status           
---------            ---------            ---------            ---------        
localhost            3444                 0                    in progress      
10.70.34.43          0                    7234                 in progress      
Tiering Migration Functionality: testmode: success
                                    Node Rebalanced-files          size      
scanned      failures       skipped               status   run time in secs
                               ---------      -----------   -----------  
-----------   -----------   -----------         ------------     --------------
                               localhost             7244        0Bytes        
20464             0             0          in progress             627.00
                             10.70.34.43            14134        0Bytes        
34876             0             0          in progress             627.00
volume rebalance: testmode: success
[root at zod ~]# 



NFS MOunt:
[root at dhcp35-214 mnt]# cd testmode/
[root at dhcp35-214 testmode]# ll |wc -l
8001
[root at dhcp35-214 testmode]# ll |wc -l
8001
[root at dhcp35-214 testmode]# ll |wc -l
8001
[root at dhcp35-214 testmode]# 

Fuse mount:

[root at localhost testmode]# for i in {1..3000};do echo "hi" >> h$i;done;ll|wc -l
8001

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=pWBDlGXm45&a=cc_unsubscribe


More information about the Bugs mailing list