[Lustre-discuss] Getting a list of files on down OST
Andreas Dilger
andreas.dilger at oracle.com
Wed Jul 21 12:01:39 PDT 2010
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.
More information about the lustre-discuss
mailing list