Hi Guys, 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? Thanks, Mark -- Mark Nelson, Lead Software Developer Minnesota Supercomputing Institute Phone: (612)626-4479 Email: mark at msi.umn.edu
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.