[Lustre-discuss] Cluster Status Confusion - lctl dl

Andreas Dilger adilger at sun.com
Tue Jan 19 15:41:08 PST 2010


On 2010-01-20, at 01:33, Jagga Soorma wrote:
> I have unmounted my lustre filesystem from my clients and then  
> umounted all of my OST's.  However, the lctl dl output from my  
> active MDS server still shows the OST as being UP:
>
> lctl dl
>   0 UP mgs MGS MGS 5
>   1 UP mgc MGC10.0.250.48 at o2ib3 64453d97-c46b-6d8c-f4cf-7fbbac1f3aee 5
>   2 UP mdt MDS MDS_uuid 3
>   3 UP lov fsname-mdtlov fsname-mdtlov_UUID 4
>   4 UP mds fsname-MDT0000 fsname-MDT0000_UUID 3
>   5 UP osc fsname-OST0000-osc fsname-mdtlov_UUID 5
>   6 UP osc fsname-OST0001-osc fsname-mdtlov_UUID 5
>
> Shouldn't the status for 5 & 6 not be UP.


The status shown from "lctl dl" is only the local configuration  
status.  It should basically always be "up".

You can instead use the command "lfs osts" to report the connection  
status of the OSTs, or read from /proc/fs/lustre/lov/*/target_obds  
(which contains the same data).

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.




More information about the lustre-discuss mailing list