Hello, It somewhat continues the scan, but not in the directory where it encountered the error.
For example, the filesystem looks like: /a/one/* /a/two/* /a/three/* Robinhood is configured to scan /a. If it encounters /a/one/.snapshot , it will skip scanning anything else under /a/one, log an error, and move onto /a/two. Hopefully that helps clarify things. Thanks, Lewis Lewis Robbins | Systems Admin Engineer Sr. Information Technology [email protected] O. 774-455-4353 Follow us on: Twitter | LinkedIn ________________________________________ From: Thomas LEIBOVICI (mail perso) [[email protected]] Sent: Friday, April 01, 2016 2:16 PM To: Robbins, Lewis; [email protected] Subject: Re: [robinhood-support] Too many levels of symbolic links Thank you for the update. Indeed, ignoring ".snapshot" during the scan is a good thing. They often have non-posix beahaviors... However, I'm kind of surprised that this breaks your whole scan... Robinhood should log the error but continue scanning the rest of the filesystem. On 01/04/2016 18:59, Lewis Robbins wrote: > Hello, > > Come to find out, our NAS solution has a bug where there are two > .snapshot directories with the same inode, this appears to be the > underlying cause. > > Until we are able to upgrade production, is there any way to tell > robinhood to ignore the error and proceed with the FS scan? > > I've tried a few different methods of excluding .snapshot if the config, > but it does not seem to make a difference. > > FS_Scan { > Ignore { > name == ".snapshot" > } > Ignore { > #don't scan ".snapshot" directories > type == directory > and > name == ".snapshot" > } > Ignore { > type == symlink > } > > Thanks, > Lewis > >> Hello, >> >> We're using robinhood to scan a NFS export. There is a top level mount, >> and sub-directories beneath. >> >> The scan works well for the majority of directories, but we have a few >> where the scan errors with "FS_Scan | ERROR reading directory >> </top_level/directory> (Too many levels of symbolic links)". On the >> directories it errors on, it doesn't update the DB for that directory. >> >> I've tried adding the below stanza to the config, but it does not appear >> to have made a difference. >> >> FS_Scan { >> Ignore { >> #don't scan ".snapshot" directories >> type == directory >> and >> name == ".snapshot" >> } >> Ignore { >> type == symlink >> } >> >> Any suggestions would be appreciated. >> >> Thanks, >> Lewis > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > https://urldefense.proofpoint.com/v2/url?u=http-3A__pubads.g.doubleclick.net_gampad_clk-3Fid-3D278785471-26iu-3D_4140&d=BQIF-g&c=WJBj9sUF1mbpVIAf3biu3CPHX4MeRjY_w4DerPlOmhQ&r=Y2GqWu9sOKPVdPiY70uUaj-KjbtJK6hmzuQK1edrp-o&m=7PpcXiyK2z_uDRwivZlBfIxQDPpXuLa0ijpqx-HLmzw&s=tQWpJpVa1c5hCo6IV5WIanw8A-Qmdd8NRok-upGzLx8&e= > _______________________________________________ > robinhood-support mailing list > [email protected] > https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_robinhood-2Dsupport&d=BQIF-g&c=WJBj9sUF1mbpVIAf3biu3CPHX4MeRjY_w4DerPlOmhQ&r=Y2GqWu9sOKPVdPiY70uUaj-KjbtJK6hmzuQK1edrp-o&m=7PpcXiyK2z_uDRwivZlBfIxQDPpXuLa0ijpqx-HLmzw&s=VwLg1_qM8p1MDBZh7pGvE1JbvfcRrukby100t2ZPB0s&e= > > --- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avast.com&d=BQIF-g&c=WJBj9sUF1mbpVIAf3biu3CPHX4MeRjY_w4DerPlOmhQ&r=Y2GqWu9sOKPVdPiY70uUaj-KjbtJK6hmzuQK1edrp-o&m=7PpcXiyK2z_uDRwivZlBfIxQDPpXuLa0ijpqx-HLmzw&s=KyJm6k7LbqXWOdvj1ZKTWBE8Ot6Eml80xyeLrxTgJx4&e= ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 _______________________________________________ robinhood-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/robinhood-support
