Andres:
That will include everything? I am writing a script to alert me when a
OST is down. Thats my intention. Is this the right approach, or is
there something better?
TIA
On Wed, Sep 3, 2008 at 4:40 PM, Andreas Dilger <adilger at sun.com>
wrote:> On Sep 01, 2008 09:16 -0400, Mag Gam wrote:
>> How can I check if a filesystem is active. This meaning, if its
>> mgs/mdt and OSTs are all online? It seems even if I have 1 OST online
>> /proc/fs/lustre/health_check claims everything is okay, but thats
>> wrong. Any ideas?
>
> You can look at /proc/fs/lustre/lov/*/target_obds for "ACTIVE" vs
"INACTIVE"
> on MDS/clients.
>
> Cheers, Andreas
> --
> Andreas Dilger
> Sr. Staff Engineer, Lustre Group
> Sun Microsystems of Canada, Inc.
>
>