On Mar 25, 2010, at 6:25 PM, Christopher J. Morrone wrote:

> Cliff White wrote:
> 
>> I don't know what your constraints are, but should note that this sort
>> of information (number of OSTs) can be obtained rather trivially from 
>> any lustre client via shell prompt, to wit:
>> # lctl dl |grep OST |wc -l
>> 2
>> or:
>> # ls /proc/fs/lustre/osc | grep OST |wc -l
>> 2
> 
> IF you only have one lustre filesystem mounted on that node.

How about /proc/fs/lustre/lov/<filesystem-*/numobd

$ cat /proc/fs/lustre/lov/nbp10-clilov-ffff81007e33b800/numobd 
120

j

--
Jason Rappleye
System Administrator
NASA Advanced Supercomputing Division
NASA Ames Research Center
Moffett Field, CA 94035





_______________________________________________
Lustre-discuss mailing list
Lustre-discuss@lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss

Reply via email to