Uploaded image for project: 'Lustre Documentation'
  1. Lustre Documentation
  2. LUDOC-377

Lustre Manual Bug Report: 25.2.2. Enabling and Tuning Root Squash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • None
    • None

    Description

      Hi,

      I think I’ve found a bug in the manual: https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#dbdoclet.50438221_48757 I’ve included it below in case this is the correct place to report it. If not please let me know and I’ll submit it elsewhere.

      In section 25.2.2. Enabling and Tuning Root Squash, the bit that says:

      Root squash parameters can also be changed with the lctl conf_param command. For example:
      
      mgs# lctl conf_param testfs.mdt.root_squash="1000:101"
      mgs# lctl conf_param testfs.mdt.nosquash_nids="*@tcp"
      

      Should be IMHO:

      Root squash parameters can also be changed with the lctl conf_param command. For example:
      
      mgs# lctl conf_param mdt.testfs-MDT0000.root_squash="1000:101"
      mgs# lctl conf_param mdt.testfs-MDT0000.nosquash_nids="*@tcp"
      

      Here is an example of me using my version compared to the documentation version using Lustre 2.8 on RHEL 7:

      0 edi-vf-1-5:audiodb-MDT0000# lctl get_param mdt.audiodb-MDT0000.root_squash
      mdt.audiodb-MDT0000.root_squash=0:0
      0 edi-vf-1-5:audiodb-MDT0000# lctl set_param mdt.audiodb-MDT0000.root_squash="0:1"
      mdt.audiodb-MDT0000.root_squash=0:1
      0 edi-vf-1-5:audiodb-MDT0000# lctl get_param mdt.audiodb-MDT0000.root_squash
      mdt.audiodb-MDT0000.root_squash=0:1
      0 edi-vf-1-5:audiodb-MDT0000# lctl set_param mdt.audiodb-MDT0000.root_squash="0:0"
      mdt.audiodb-MDT0000.root_squash=0:0
      # Using the documented version.
      0 edi-vf-1-5:audiodb-MDT0000# lctl set_param audiodb.mdt.root_squash="0:1"
      error: set_param: param_path 'audiodb/mdt/root_squash': No such file or directory
      0 edi-vf-1-5:audiodb-MDT0000#
      

      Yours
      Faye Gibbins

      Attachments

        Activity

          People

            jgmitter Joseph Gmitter (Inactive)
            faye Faye Gibbins (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: