[Gluster-users] delettion of files in gluster directories
    hsafe 
    hsafe at devopt.net
       
    Wed Jul  4 13:57:47 UTC 2018
    
    
  
Hi all,
I have a rather simplistic question, there are dirs that contain a lot 
of small files in a 2x replica set accessed natively on the clients. Due 
to the directory file number; it fails to show the dir contents from 
clients.
In case of move or deletion of the dirs natively and from the server's 
view of the dirs , how does glusterfs converge or "heal" if you can call 
it the dirs as emptied or as if moved?
I am running on Glusterfs-server and Glusterfs-client version: 3.10.12.
To add more details,it is that we learned it the hard way that our app 
is shipping too small files into dirs with daily accumulaiton, accesed 
for serving by an nginx.
Here is a little more info:
# gluster volume info
Volume Name: gv1
Type: Replicate
Volume ID: f1c955a1-7a92-4b1b-acb5-8b72b41aaace
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: IMG-01:/images/storage/brick1
Brick2: IMG-02:/images/storage/brick1
Options Reconfigured:
nfs.disable: true
diagnostics.count-fop-hits: on
diagnostics.latency-measurement: on
server.statedump-path: /tmp
performance.readdir-ahead: on
# gluster volume status
Status of volume: gv1
Gluster process                             TCP Port  RDMA Port Online  Pid
------------------------------------------------------------------------------
Brick IMG-01:/images/storage/brick1         49152     0 Y       3577
Brick IMG-02:/images/storage/brick1         49152     0 Y       21699
Self-heal Daemon on localhost               N/A       N/A Y       24813
Self-heal Daemon on IMG-01                  N/A       N/A Y       3560
Task Status of Volume gv1
------------------------------------------------------------------------------
There are no active volume tasks
    
    
More information about the Gluster-users
mailing list