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

Tuning max_sectors_kb on mount

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.10.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Sometimes user doesn't want the max_sectors_kb being overwritten on MDT/OST mount, we should provide a way for user to have more control over this important parameter, a environment variable MOUNT_LUSTRE_MAX_SECTORS_KB is introduced for this purpose:

      • When MOUNT_LUSTRE_MAX_SECTORS_KB isn't set, change the max_sectors_kb to max_hw_sectors_kb;
      • When MOUNT_LUSTRE_MAX_SECTORS_KB is set to 0 or a non-decimal value, leave the old max_sectors_kb setting untouched;
      • When MOUNT_LUSTRE_MAX_SECTORS_KB is set to a valid decimal value, change the max_sectors_kb to this value;

      Attachments

        Issue Links

          Activity

            People

              niu Niu Yawei (Inactive)
              niu Niu Yawei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: