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

sanity test_27a: setstripe failed with "error on ioctl 0x8008669a for '*' (3): Invalid argument"

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.13.0, Lustre 2.12.3
    • Lustre 2.11.0, Lustre 2.12.0, Lustre 2.13.0, Lustre 2.12.1
    • trevis, full, x86_64 servers, ppc clients
      servers: el7.4, ldiskfs, branch master, v2.10.53.1, b3642
      clients: el7.4, branch master, v2.10.53.1, b3642
    • 3
    • 9223372036854775807

    Description

      https://testing.whamcloud.com/test_sessions/ba995751-659c-4e63-9b5b-fbf101137b78

      From test_log:

      stripe_count:  1 stripe_size:   1048576 stripe_offset: -1
      error on ioctl 0x8008669a for '/mnt/lustre/d27/f0' (3): Invalid argument
      error: setstripe: create striped file '/mnt/lustre/d27/f0' failed: Invalid argument
       sanity test_27a: @@@@@@ FAIL: setstripe failed 
        Trace dump:
        = /usr/lib64/lustre/tests/test-framework.sh:5289:error()
        = /usr/lib64/lustre/tests/sanity.sh:1357:test_27a()
        = /usr/lib64/lustre/tests/test-framework.sh:5565:run_one()
        = /usr/lib64/lustre/tests/test-framework.sh:5604:run_one_logged()
        = /usr/lib64/lustre/tests/test-framework.sh:5451:run_test()
        = /usr/lib64/lustre/tests/sanity.sh:1361:main()
      

      Attachments

        Issue Links

          Activity

            [LU-10100] sanity test_27a: setstripe failed with "error on ioctl 0x8008669a for '*' (3): Invalid argument"
            yujian Jian Yu added a comment -

            The patch for client has landed for Lustre 2.13.0. Patch for MDS will be worked in LU-12673.

            yujian Jian Yu added a comment - The patch for client has landed for Lustre 2.13.0. Patch for MDS will be worked in LU-12673 .

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35633/
            Subject: LU-10100 llite: swab LOV EA user data
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: 7995349a2032f39ed83005b977462523864d72fa

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35633/ Subject: LU-10100 llite: swab LOV EA user data Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: 7995349a2032f39ed83005b977462523864d72fa

            Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35633
            Subject: LU-10100 llite: swab LOV EA user data
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 4df8c490ac6e4c40043e1e4dc991617e6cb61599

            gerrit Gerrit Updater added a comment - Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35633 Subject: LU-10100 llite: swab LOV EA user data Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 4df8c490ac6e4c40043e1e4dc991617e6cb61599

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35291/
            Subject: LU-10100 llite: swab LOV EA user data
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 9d17996766e0fa93b1029d2422d45d087edde389

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35291/ Subject: LU-10100 llite: swab LOV EA user data Project: fs/lustre-release Branch: master Current Patch Set: Commit: 9d17996766e0fa93b1029d2422d45d087edde389
            yujian Jian Yu added a comment -

            Sure, Andreas. Let me work on this.

            yujian Jian Yu added a comment - Sure, Andreas. Let me work on this.

            Jian, can you please also make a separate patch for the MDS to swab the layout received from the client if it is in big-endian format. This will simplify interop for deployment on systems where there are lots of PPC clients that have not been upgraded.

            adilger Andreas Dilger added a comment - Jian, can you please also make a separate patch for the MDS to swab the layout received from the client if it is in big-endian format. This will simplify interop for deployment on systems where there are lots of PPC clients that have not been upgraded.
            yujian Jian Yu added a comment -

            Besides lmm_magic, other fields in struct lov_user_md also need to be converted.

            yujian Jian Yu added a comment - Besides lmm_magic, other fields in struct lov_user_md also need to be converted.

            Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35291
            Subject: LU-10100 utils: convert magic number into little-endian form
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: dd838b085d88d25f1091b12b88eb160dc8bf7edc

            gerrit Gerrit Updater added a comment - Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35291 Subject: LU-10100 utils: convert magic number into little-endian form Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: dd838b085d88d25f1091b12b88eb160dc8bf7edc
            yujian Jian Yu added a comment -

            In llapi_file_open_param(), while setting lmm_magic, we need use cpu_to_le32() to convert the format into little-endian form. I'm creating the patch.

            yujian Jian Yu added a comment - In llapi_file_open_param(), while setting lmm_magic, we need use cpu_to_le32() to convert the format into little-endian form. I'm creating the patch.
            pjones Peter Jones added a comment -

            Jian

            Can you please follow up on this?

            Thanks

            Peter

            pjones Peter Jones added a comment - Jian Can you please follow up on this? Thanks Peter

            People

              yujian Jian Yu
              jcasper James Casper (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: