From: Bán M. <ba...@vo...> - 2010-09-10 20:56:27
|
Hi, is there a way to find a file based on their chunk info? Today I found an error log on the cgiserv screen: "2010-09-10 21:19:58 on chunk: 372210" After I have found this line in the syslog of one of my chunkserver: mfschunkserver[15693]: read_block_from_chunk: file:/mnt/mfs_hd1/F2/chunk_000000000005ADF2_00000001.mfs - crc error Which is the affected file? After I greped the changelogs for "372210": changelog.8.mfs:3722100: 1284129925|AQUIRE(432537,30) changelog.8.mfs:3722101: 1284129925|WRITE(432537,0,1):440095 changelog.8.mfs:3722102: 1284129925|LENGTH(432537,16119) changelog.8.mfs:3722103: 1284129925|UNLOCK(440095) changelog.8.mfs:3722104: 1284129925|ATTR(432537,384,1011,100,1280486196,1209062162) changelog.8.mfs:3722105: 1284129925|ATTR(432537,420,1011,100,1280486196,1209062162) changelog.8.mfs:3722106: 1284129925|CREATE(428569,zzz.qd,f,384,1011,100,0):432538 changelog.8.mfs:3722107: 1284129925|AQUIRE(432538,30) changelog.8.mfs:3722108: 1284129925|WRITE(432538,0,1):440096 changelog.8.mfs:3722109: 1284129925|LENGTH(432538,17947) mfsfileinfo ./zzz.qd ./zzz.qd: chunk 0: 000000000005ADF2_00000001 / (id:372210 ver:1) no valid copies !!! I could replace that file from a backup, but I don't why happened this error and how can I find easily a file based on their chunk info. Is there any "reverse search" solution? Thanx, Miklos |