[Gluster-users] Anyone have that find command handy
Joe Landman
landman at scalableinformatics.com
Thu Jul 21 15:11:07 UTC 2011
Ran into a situation that I thought had been corrected in the 2.0.x time
frame.
[root at X03 ~]# ls -alF
/data/brick-sdc2/glusterfs/dht/opra/20110502/options_20110502_opra_ch_015_.dat.zip.stats
/data/brick-sdd2/glusterfs/dht/opra/20110502/options_20110502_opra_ch_015_.dat.zip
---------T 1 root root 0 Jul 19 18:08
/data/brick-sdc2/glusterfs/dht/opra/20110502/options_20110502_opra_ch_015_.dat.zip.stats
---------T 1 root root 0 Jul 21 10:48
/data/brick-sdd2/glusterfs/dht/opra/20110502/options_20110502_opra_ch_015_.dat.zip
and the real files
[root at X02 ~]# ls -alF
/data/glusterfs/dht/opra/20110502/options_20110502_opra_ch_015_*
-rw-r--r-- 1 oracle oinstall 984227914 Jul 21 11:05
/data/glusterfs/dht/opra/20110502/options_20110502_opra_ch_015_.dat.zip
-rw-r--r-- 1 root root 17028780 Jul 20 13:00
/data/glusterfs/dht/opra/20110502/options_20110502_opra_ch_015_.dat.zip.stats
Note the permissions on the first as compared to the second. This came
from a rebalance operation with 3.1.5.
Anyone have that handy
find -perm XXXX -exec rm {}
command handy so we can scan for and remove the ghost files? I can
search for it in my old emails, just figured I'd ask.
--
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics, Inc.
email: landman at scalableinformatics.com
web : http://scalableinformatics.com
http://scalableinformatics.com/sicluster
phone: +1 734 786 8423 x121
fax : +1 866 888 3112
cell : +1 734 612 4615
More information about the Gluster-users
mailing list