Hi Chris,
Just back from holiday so only getting a chance to reply to this email
now. I've got some information about removing orphaned files here:
http://www.gridpp.ac.uk/wiki/DCache_Administration_Scripts#Removing_orphaned_files_from_dCache
There's a script that you can run to remove the files for you.
(I think some restructuring of the wiki is required so that it is easier
for people to find these bits of information - suggestions are welcome).
Cheers,
Greig
Brew, CAJ (Chris) wrote:
> Hi Owen,
>
> If I just copy these files into an empty pool, would I still have the
> same options (whatever they might be)? I'd really like to get this
> machine shutdown and reinstalled.
>
> Thanks,
> Chris.
>
>> -----Original Message-----
>> From: [log in to unmask] [mailto:[log in to unmask]]
>> Sent: 15 March 2007 13:22
>> To: Brew, CAJ (Chris)
>> Cc: [log in to unmask]; [log in to unmask]
>> Subject: Re: Orphaned files
>>
>> I don't know of a solution myself, but I did see some code
>> developed by Tigran to do just this, unfortunately for you
>> and me is he is on holiday and the code is very very new.
>>
>> I don't know how to build it or even where in CVS it is. But
>> we will have a solution for this in the near future. Tigran
>> demonstrated it to me by deleting /pnfs with "rm -rf" and
>> then running this java program.
>> Unfortunately this is the wrong week to make this request.
>>
>> Regards
>>
>> Owen
>>
>>
>> On Wed, 14 Mar 2007 17:19:24 -0000
>> "Brew, CAJ (Chris)" <[log in to unmask]> wrote:
>>
>>> Hi,
>>>
>>> I'm in the process of decommisioning a server so am trying to empty
>>> the pool on it.
>>>
>>> I've used the copy module to copy out each VO storage class
>> to the VO
>>> pool group and then deleted all the files in the pool that
>> have more
>>> than 1 replica listed in the companion database (good notes
>> from Greig
>>> Cowen at http://www.gridpp.ac.uk/wiki/Draining_a_dCache_pool).
>>>
>>> Now I'm left with a about a thousand files which errored when
>>> copy-module tried to copy them.
>>>
>>> These all appear to be orphans, i.e the exist on the filesystem but
>>> not in pnfs.
>>>
>>> So I can see the file in the pool data directory, rep ls in
>> the pool
>>> admin interface sees them and cacheinfoof <pnfsid> in the
>> PnfsManager
>>> says they are in to pool but storageinfoof <pnfsid> reports
>>> "storageinfoof failed : Not a valid PnfsId <pnfsid>" and pathfinder
>>> <pnfsid> give " File not found : <pnfsid>"
>>>
>>> Is there any way to recover or do something sensible with
>> these files
>>> - without some sort of path information, I doubt the VO
>> will be able
>>> to do anything with them.
>>>
>>> Thanks,
>>> Chris.
|