[lustre-discuss] Determining server version from client

Degremont, Aurelien degremoa at amazon.com
Tue Jan 19 02:21:25 PST 2021

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


Le 19/01/2021 05:56, « lustre-discuss au nom de Andrew Elwell » <lustre-discuss-bounces at lists.lustre.org au nom de andrew.elwell at 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 ( is much older than
    client. Consider upgrading server (2.12.5)

    Many thanks

    lustre-discuss mailing list
    lustre-discuss at lists.lustre.org

More information about the lustre-discuss mailing list