Or you can query the database itself, as I always do:
# mysql -D cns_db -h localhost -u root -p -e "Select t.fileid, t.sfn, m.filesize from Cns_file_replica t, Cns_file_metadata m where t.fs='/dpm_data' and t.fileid=m.fileid"
Run "desc cns_db.Cns_file_replica" and "desc cns_db.Cns_file_metadata"
and modify the "where" part in the SQL query as you require. In our
case, "/dpm_data" si the name of our file system.
Cheers,
Santanu
Jason Shih wrote:
> Hi Nagaraj,
>
> not sure if anyone have reply you already. from dpm forum, Greig (thanks)
> have post another thread regarding the dpm admin tool, and you can read
> more details from http://www.gridpp.ac.uk/wiki/DPM-admin-tools
>
> Br,
> J
>
>
> On Thu, 5 Jun 2008, P. Nagaraj wrote:
>
>
>> Hi,
>>
>> Given the DPM namespace listing of a file, how do I find out where the file
>> physically resides?
>>
>>
>> Thanks
>> Nagaraj
>>
>>
>>
|