From: Michał B. <mic...@ge...> - 2010-09-13 11:17:37
|
For the moment there is no special method for finding such files. We will include it in future "mastertools". We use "mfsmetadump" and "grep" - so for now this is really "manual" search. Regards Michał -----Original Message----- From: Bán Miklós [mailto:ba...@vo...] Sent: Friday, September 10, 2010 10:56 PM To: moo...@li... Subject: [Moosefs-users] finding the files 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 ---------------------------------------------------------------------------- -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ moosefs-users mailing list moo...@li... https://lists.sourceforge.net/lists/listinfo/moosefs-users |