Hi,

It doesnt seems to work, if I look in my data directory I've all this files
:

apshot.20081015172840  snapshot.20081015183901  snapshot.20081015195358 
snapshot.20081015210546  snapshot.20081015224244  snapshot.20081016013035 
snapshot.20081016105617
snapshot.20081015172841  snapshot.20081015183903  snapshot.20081015195400 
snapshot.20081015210547  snapshot.20081015224247  snapshot.20081016013039 
snapshot.20081016105632
snapshot.20081015172842  snapshot.20081015183905  snapshot.20081015195401 
snapshot.20081015210548  snapshot.20081015224251  snapshot.20081016013042 
snapshot.20081016105714
snapshot.20081015172843  snapshot.20081015183906  snapshot.20081015195402 
snapshot.20081015210550  snapshot.20081015224254  snapshot.20081016013045 
snapshot.20081016105721
snapshot.20081015172844  snapshot.20081015183908  snapshot.20081015195403 
snapshot.20081015210551  snapshot.20081015224258  snapshot.20081016013048 
spellchecker1
snapshot.20081015172845  snapshot.20081015183910  snapshot.20081015195404 
snapshot.20081015210552  snapshot.20081015224301  snapshot.20081016013051 
spellchecker2
snapshot.20081015172846  snapshot.20081015183912  snapshot.20081015195409 
snapshot.20081015210553  snapshot.20081015224302  snapshot.20081016013053 
spellcheckerFile

If I check logs nothing seems to be wrong after : /data/solr/video#
./bin/snapcleaner -D 1

My logs:

2008/10/17 09:10:17 command: ./bin/snapcleaner -D 1
2008/10/17 09:10:17 cleaning up snapshots more than 1 days old
2008/10/17 09:10:17 ended (elapsed time: 0 sec)

Thanks a million,


Chris Haggstrom wrote:
> 
> 
> On Oct 16, 2008, at 4:29 AM, sunnyfr wrote:
> 
>>
>> still nothing changed :
> 
> It looks like it worked better to me, in that it resulted in a valid  
> find command for any snapshots with an -mtime of +1:
> 
> ++ find /data/solr/video/data -maxdepth 1 -name 'snapshot.*' -mtime +1  
> -print
> 
> instead of showing an error like before:
> 
> ++ find /data/solr/video/data -maxdepth 1 -name 'snapshot.*' -mtime  
> +-1 -print
> find: invalid argument `+-1' to `-mtime'
> 
> But it didn't find any snapshots to remove.   Do you have any  
> snapshots that haven't been modified in 2+ days?  Due to the way find - 
> mtime works (looking at the modification day, and ignoring fractions  
> of days), for a snapshot to match, it would have to not have been  
> modified for a couple days.
> 
> -Chris
> 
> 

-- 
View this message in context: 
http://www.nabble.com/snapcleaner-%3E%3E-problem-solr-1.3-tp20010689p20027791.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to