From: Ricardo J. B. <ric...@da...> - 2011-12-14 21:35:19
|
El Miércoles 14 Diciembre 2011, René Pfeiffer escribió: > On Dec 14, 2011 at 1400 +0100, Michał Borychowski appeared and said: > > No, but you can try with sth like: > > > > "find . -type f | xargs mfsfilerepair" > > I did that, and we're currently assessing the file system. > I asked for the recursive option, because it is easier for operators to > deal with these situations. Also a "--dry-run" option would be nice (just > as rsync has), so mfsfilerepair can generate a preview before an admin > decides to run the actual repair task. Exactly my concern. Whenever I get unavailable chunks (not many times fortunately) but I don't know which files they belong to, I do this: find /path/to/mfs/mount -type f | xargs mfsfileinfo > /tmp/mfsfileinfo.log grep -B2 "no valid copies" /tmp/mfsfileinfo.log And then I mfsfilrepair only those files that have chunks with invalid copies. But, I don't know before hand if the missing chunk will be zeroed or restored from another (maybe older) version, so a --dry-run would be more than welcome :) Regards, -- Ricardo J. Barberis Senior SysAdmin / ITI Dattatec.com :: Soluciones de Web Hosting Tu Hosting hecho Simple! ------------------------------------------ |