Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-8920

don't print permanently deactivated OSTs in lfs df output

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.10.0
    • None
    • 9223372036854775807

    Description

      If OSTs are permanently deactivated via lctl conf_param <fsname>.OSTnnnn.active=0 they still appear in the lfs df output, which can be annoying to users.

      lfs df
      UUID                   1K-blocks        Used   Available Use% Mounted on
      myth-MDT0000_UUID        9174328     1213448     7436592  14% /myth[MDT:0]
      myth-OST0000_UUID     3880285544  3528483608   157762960  96% /myth[OST:0]
      myth-OST0001_UUID     3886052008  3412584200   279155192  92% /myth[OST:1]
      myth-OST0002_UUID     3880285544  3555131444   208731780  94% /myth[OST:2]
      myth-OST0003_UUID     5840741952  4523261952  1025405712  82% /myth[OST:3]
      OST0004             : inactive device
      
      filesystem summary:  17487365048 15019461204  1671055644  90% /myth
      

      If the OST is permanently deactivated (as opposed to disconnected or otherwise unavailable due to error) don't list the OST in lfs df unless -v is also given. That will remove this annoying output from normal usage, but still allow the full OST listing to be generated if needed for some reason.

      Attachments

        Issue Links

          Activity

            [LU-8920] don't print permanently deactivated OSTs in lfs df output
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-7668 [ LU-7668 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is duplicated by LU-6818 [ LU-6818 ]
            mdiep Minh Diep made changes -
            Link New: This issue is related to JFC-17 [ JFC-17 ]
            bobijam Zhenyu Xu made changes -
            Link New: This issue is duplicated by DOE-5 [ DOE-5 ]
            mdiep Minh Diep made changes -
            Link New: This issue is related to LDEV-367 [ LDEV-367 ]
            mdiep Minh Diep made changes -
            Link Original: This issue is related to LDEV-267 [ LDEV-267 ]
            mdiep Minh Diep made changes -
            Link New: This issue is related to LDEV-267 [ LDEV-267 ]
            mdiep Minh Diep made changes -
            Link New: This issue is related to LDEV-567 [ LDEV-567 ]
            mdiep Minh Diep made changes -
            Link New: This issue is related to LDEV-341 [ LDEV-341 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LDEV-301 [ LDEV-301 ]

            People

              adilger Andreas Dilger
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: