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

only allow FID_SEQ_NORMAL from clients

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • None
    • Lustre 2.4.0, Lustre 2.1.4
    • # uname -r
      2.6.32-220.13.1.el6.l22.x86_64
      # cat /proc/fs/lustre/version
      lustre: 2.2.55
      kernel: patchless_client
      build: 2.2.55--CHANGED-2.6.32-220.13.1.el6.l22.x86_64
    • 2
    • 3
    • 3979

    Description

      [sanity@r62-lustre lustre]$ echo 'Achievement unlocked.' > .lustre/fid/[0xc:0x0:0x0]/SANITY
      [sanity@r62-lustre lustre]$ stat .lustre/fid/[0xc:0x0:0x0]/SANITY
      File: `.lustre/fid/[0xc:0x0:0x0]/SANITY'
      Size: 22 Blocks: 1 IO Block: 2097152 regular file
      Device: 2c54f966h/743766374d Inode: 144115205255725057 Links: 1
      Access: (0664/rw-rw-r-) Uid: ( 500/ sanity) Gid: ( 500/ sanity)
      Access: 2012-06-15 15:06:07.000000000 -0500
      Modify: 2012-06-15 15:06:05.000000000 -0500
      Change: 2012-06-15 15:06:05.000000000 -0500
      [sanity@r62-lustre lustre]$ cat .lustre/fid/[0xc:0x0:0x0]/SANITY
      Achievement unlocked.

      [root@r62-lustre lustre-release]# debugfs /dev/loop0
      debugfs 1.41.90.wc4 (01-Sep-2011)
      debugfs: ls CONFIGS
      12 (12) . 2 (12) .. 13 (20) mountdata 15 (20) _mgs-sptlrpc
      16 (24) lustre-client 17 (24) lustre-sptlrpc 18 (24) lustre-MDT0000
      19 (24) lustre-params 21 (28) changelog_catalog
      22 (44) changelog_users 93 (16) sptlrpc 95 (24) lustre-OST0000
      96 (24) lustre-OST0001 100 (3800) SANITY

      [sanity@r62-lustre lustre]$ rm .lustre/fid/[0xc:0x0:0x0]/mountdata

      Message from syslogd@r62-lustre at Jun 15 15:09:26 ...
      kernel:LustreError: 2858:0:(osd_internal.h:665:osd_fid2oi()) ASSERTION( !fid_is_igif(fid) ) failed:

      Message from syslogd@r62-lustre at Jun 15 15:09:26 ...
      kernel:LustreError: 2858:0:(osd_internal.h:665:osd_fid2oi()) LBUG

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              tappro Mikhail Pershin
              jhammond John Hammond
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: