Hi Andrew,

There are no such things as a filesystem version, as a filesystem is made of 
MDTs, OSTs and clients. Each of them could have different Lustre versions (even 
if running too much different lustre versions between MDT and OST is not really 
supported).
So, to get the Lustre version, you should check server versions, with this 
command by example:

$ lctl get_param *.*.import | grep target_version

The local Lustre client version could be read with


$ lctl get_param version


Aurélien

Le 19/01/2021 05:56, « lustre-discuss au nom de Andrew Elwell » 
<lustre-discuss-boun...@lists.lustre.org au nom de andrew.elw...@gmail.com> a 
écrit :

    CAUTION: This email originated from outside of the organization. Do not 
click links or open attachments unless you can confirm the sender and know the 
content is safe.



    Hi All,

    Is there a trivial command to determine the server side version of
    lustre (in my case, trying to confirm what types of quotas are allowed
    (project - 2.10+, default - 2.12+) ?

    I was hoping there'd be something in lfs, such as lfs getname
    --version which would ideally spit out something like

    $ lfs getname --version
    fs1-ffff9920dde7d000 /fs1 2.10.4
    testfs-ffff992073597800 /testfs 2.12.5

    but that's wishful thinking :-) as lfs --version merely gives me the
    client version as expected

    Is this something that's fairly trivial and I'll open a jira ticket
    for the request - I know it's done at mount time as the kernel can log
    kernel: Lustre: Server MGS version (2.5.1.0) is much older than
    client. Consider upgrading server (2.12.5)

    Many thanks

    Andrew
    _______________________________________________
    lustre-discuss mailing list
    lustre-discuss@lists.lustre.org
    http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

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

Reply via email to