[Lustre-discuss] programmatic access to parameters

Christopher J. Morrone morrone2 at llnl.gov
Fri Mar 26 01:25:49 UTC 2010


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.


More information about the lustre-discuss mailing list