Larvoire, Jean-Francois
2006-Oct-25 11:59 UTC
[Lustre-discuss] Enumerating Lustre filesystems, services, and devices
Hello, In Lustre 1.6, I''d like to enumerate the available Lustre file systems, and for each of them the server and devices the MDT and OSTs use. Is it possible for a script to query the MGS, and retrieve all this information? If so how? Jean-Fran?ois ======================================================================== Jean-Fran?ois Larvoire ========= _/ =========== Hewlett-Packard ======= _/ ======= 5 Avenue Raymond Chanas, Eybens ===== _/_/_/ _/_/_/ ===== 38053 Grenoble Cedex 9, FRANCE ===== _/ _/ _/ _/ ===== Phone: +33 476 14 13 38 ===== _/ _/ _/_/_/ ===== Fax: +33 476 14 45 19 ======= _/ ======= Email: jean-francois.larvoire@hp.com ========== _/ =================================================================================
Nathaniel Rutman
2006-Oct-25 13:07 UTC
[Lustre-discuss] Enumerating Lustre filesystems, services, and devices
On my list of things I want to do is provide all this information via a
proc file on the MGS.
Right now, there''s no easy way to get it.
You could potentially use debugfs to get a listing of the config files
on the MGS, which would at least tell you the server names.
> debugfs -c -R "ls -l CONFIGS" /dev/sda5 | tail +4 | awk
''{print $9}''
debugfs 1.39.cfs1 (29-May-2006)
/dev/sda5: catastrophic mode - not reading inode or group bitmaps
lustre-client
lustre-MDT0000
lustre-OST0000
lustre-OST0001
Larvoire, Jean-Francois wrote:> Hello,
>
> In Lustre 1.6, I''d like to enumerate the available Lustre file
systems,
> and for each of them the server and devices the MDT and OSTs use.
> Is it possible for a script to query the MGS, and retrieve all this
information?
> If so how?
>
> Jean-Fran?ois
>
> =======================================================================>
= Jean-Fran?ois Larvoire ========= _/ ==========> =
Hewlett-Packard ======= _/ ======> = 5
Avenue Raymond Chanas, Eybens ===== _/_/_/ _/_/_/ ====> = 38053
Grenoble Cedex 9, FRANCE ===== _/ _/ _/ _/ ====> = Phone: +33
476 14 13 38 ===== _/ _/ _/_/_/ ====> = Fax: +33 476
14 45 19 ======= _/ ======> = Email:
jean-francois.larvoire@hp.com ========== _/ =========>
=======================================================================>
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss@clusterfs.com
> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
>
>