From: Tony S. <sch...@bc...> - 2009-10-02 14:41:08
|
On Oct 2, 2009, at 10:33 AM, Holger Parplies wrote: > Hi, > > Tony Schreiner wrote on 2009-09-30 14:46:09 -0400 [Re: [BackupPC- > users] unclean pool]: >> On Sep 29, 2009, at 12:06 PM, Tony Schreiner wrote: >>> On Sep 28, 2009, at 10:00 PM, Holger Parplies wrote: >>>> Tony Schreiner wrote on 2009-09-28 20:01:24 -0400 [[BackupPC- >>>> users] unclean pool]: >>>>> [...] >>>>> Today I looked at the pool directory and found that many (even >>>>> a majority) of the files there have a single link, shouldn't >>>>> BackupPC_nightly be removing those? >>>> >>>> yes, it should. Is BackupPC_nightly being run (check the log files >>>> under $LogDir)? > > let me repeat that question, it was important: > > *Is BackupPC_nightly actually being run?* > >>>> What are the values of >>>> >>>> $Conf{BackupSchedule} > > Yes, that should of course be WakeupSchedule. Sorry about the typo. > Note that > the '7' is in there twice. I don't know if that may be confusing > BackupPC. I > don't think it should, but the code in question is confusing me > right now :). > >> I'm trying to investigate further why my cpool is (apparently) not >> getting cleaned up. I'm looking at the code to BackupPC_nightly, >> but >> I admit I'm not the l33test of perl programmers. I wonder if someone >> familiar with the code can help me a bit. > > Yes, but we should first make sure the code is in fact being run. > >> The GetPoolStatus routine is using the find function (from Lib?) to >> scan the pool. > > Actually, it's the other way around. find() is using GetPoolStats() > to scan > the pool. > > What file system type is your pool on? Have you recently installed > IO::Dirent? > Hi Yes, you're right about find calling GetPoolStats, I write my message in too much haste. But I think you are on the right track with your question about IO::Dirent; I reached this same conclusion just an hour or two ago. My files system is XFS, which I failed to mention originally. I have just set IODirentOK=0 in Lib.pm and BackupPC_nightly is now actually doing some work. Thanks, Tony |