[Gluster-users] files on gluster brick that have '---------T' designation.

Shishir Gowda sgowda at redhat.com
Tue Aug 21 02:42:35 UTC 2012


Hi Harry,

That is correct, the files wont be seen on the client.
Can you provide an output of these:
1. df of all exports
2. Provide remove-brick/rebalance (<volname>-rebalance.log) log (if large just the failure messages, and tail of the the file).

With regards,
Shishir

----- Original Message -----
From: "Harry Mangalam" <hjmangalam at gmail.com>
To: "Shishir Gowda" <sgowda at redhat.com>
Cc: "gluster-users" <gluster-users at gluster.org>
Sent: Tuesday, August 21, 2012 8:00:42 AM
Subject: Re: [Gluster-users] files on gluster brick that have '---------T' designation.

Hi Shishir, 


Thanks for your attention. 



Hmm - your explanation makes some sense, but those 'T' files don't show up in the client view of the dir - only in the brick view. Is that valid? 


I'm using 3.3 on 4 ubuntu 12.04 servers over DDR IPoIB, and the command to initiate the remove brick was: 


$ gluster volume remove-brick gli pbs3ib:/bducgl start 


and the current status is: 



$ gluster volume remove-brick gli pbs3ib:/bducgl status 
Node Rebalanced-files size scanned failures status 
--------- ----------- ----------- ----------- ----------- ------------ 
localhost 0 0 137702 21406 stopped 
pbs2ib 0 0 168991 6921 stopped 
pbs3ib 724683 594890945282 4402804 0 in progress 
pbs4ib 0 0 169081 7923 stopped 


(the failures were the same as were seen as when I tried the rebalance command previously). 


Best 
harry 


On Mon, Aug 20, 2012 at 7:09 PM, Shishir Gowda < sgowda at redhat.com > wrote: 


Hi Harry, 

These are valid files in glusterfs-dht xlator configured volumes. These are known as link files, which dht uses to maintain files on the hashed subvol, when the actual data resides in non hashed subvolumes(rename can lead to these). The cleanup of these files will be taken care of by running rebalance. 
Can you please provide the gluster version you are using, and the remove brick command you used? 

With regards, 
Shishir 

----- Original Message ----- 
From: "Harry Mangalam" < hjmangalam at gmail.com > 
To: "gluster-users" < gluster-users at gluster.org > 
Sent: Tuesday, August 21, 2012 5:01:05 AM 
Subject: [Gluster-users] files on gluster brick that have '---------T' designation. 


I have a working but unbalanced gluster config where one brick has about 2X the usage of the 3 others. I started a remove-brick to force a resolution of this problem (Thanks to JD for the help!), but it's going very slowly, about 2.2MB/s over DDR IPoIB or ~2.3 files/s. In investigating the problem, I may have found a partial explanation - I have found 100s of thousands (maybe millions) of zero-length files existing on the problem brick that do not exist on the client view that have the designation ' ---------T' via 'ls -l' 


ie: 



/bducgl/alamng/Research/Yuki/newF20/runF20_2513/data: 
total 0 
---------T 2 root root 0 2012-08-04 11:23 backward_sm1003 
---------T 2 root root 0 2012-08-04 11:23 backward_sm1007 
---------T 2 root root 0 2012-08-04 11:23 backward_sm1029 


I suspect that these are the ones that are responsible for the enormous expansion of the storage space on this brick and the very slow speed of the 'remove-brick' operation. 


Does this sound possible? Can I delete these files on the brick to resolve the imbalance? If not, is there a way to process them in some better way to rationalize the imbalance? 

-- 
Harry Mangalam - Research Computing, OIT, Rm 225 MSTB, UC Irvine 
[m/c 2225] / 92697 Google Voice Multiplexer: (949) 478-4487 
415 South Circle View Dr, Irvine, CA, 92697 [shipping] 
MSTB Lat/Long: (33.642025,-117.844414) (paste into Google Maps) 


_______________________________________________ 
Gluster-users mailing list 
Gluster-users at gluster.org 
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users 




-- 
Harry Mangalam - Research Computing, OIT, Rm 225 MSTB, UC Irvine 
[m/c 2225] / 92697 Google Voice Multiplexer: (949) 478-4487 
415 South Circle View Dr, Irvine, CA, 92697 [shipping] 
MSTB Lat/Long: (33.642025,-117.844414) (paste into Google Maps) 




More information about the Gluster-users mailing list