On 2010-07-21, at 12:56, Mark Nelson wrote: > I'm trying to figure out a way to get a list of files with objects > present on an OST that is down. Normally one could do: > > lfs find -O <OST> dir > > but that is giving us Input/output errors (I assume because the OST is > down). Is there a good way to get a list of objects (Maybe from the > MDS?), what OSTs they are on, and correlate them with files?
You should use "lfs getstripe -O <OST> <mountpoint>" instead. The "lfs find" code incorrectly tries to access some OST information when it isn't needed just to determine the layout. Cheers, Andreas -- Andreas Dilger Lustre Technical Lead Oracle Corporation Canada Inc. _______________________________________________ Lustre-discuss mailing list [email protected] http://lists.lustre.org/mailman/listinfo/lustre-discuss
