Details

    • 3
    • 9223372036854775807

    Description

      1. If a pipe file exist in a directory, lfs project command stops there.

      Create a pipe file.  
      [root@s17 lustre]# mkfifo tmp/pipe
      Set project ID.  
      [root@s17 lustre]# lfs project -srp 500 tmp
      <This command does not return...>
      

      2.If a symbolic link with missing target exists, lfs project command returns error and does not process remaining entries.

      Create a symbolic file and remove target.  
      [root@s17 tmp]# ls -l
      total 0
      -rw-r--r-- 1 root root  0 Apr 26 13:47 aaa
      -rw-r--r-- 1 root root  0 Apr 26 13:47 bbb
      lrwxrwxrwx 1 root root 18 Apr 26 13:50 ccc -> ../test1/4MB_file1
      -rw-r--r-- 1 root root  0 Apr 26 13:52 ddd
      [root@s17 tmp]# rm -f ../test1/4MB_file1
      [root@s17 tmp]# cd ..
      [root@s17 lustre]# lfs project -r tmp/
        500 P tmp//ddd
        500 P tmp//bbb
      lfs: failed to open 'tmp//ccc': No such file or directory
      lfs: failed to handle dir 'tmp/': No such file or directory
      [root@s17 lustre]#
      Information about "aaa" is not displayed.  
      

      Attachments

        Issue Links

          Activity

            [LU-10986] make lfs project tolerant errors

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34102/
            Subject: LU-10986 lfs: make lfs project tolerant errors
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set:
            Commit: ffa453b2aa1ad7659b186bd8f729035f7060f075

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34102/ Subject: LU-10986 lfs: make lfs project tolerant errors Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: ffa453b2aa1ad7659b186bd8f729035f7060f075

            Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/34102
            Subject: LU-10986 lfs: make lfs project tolerant errors
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set: 1
            Commit: db6c606005337ed71c033e4b04ebe731e93b850c

            gerrit Gerrit Updater added a comment - Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/34102 Subject: LU-10986 lfs: make lfs project tolerant errors Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: db6c606005337ed71c033e4b04ebe731e93b850c

            Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/34100
            Subject: LU-10986 lfs: make lfs project tolerant errors
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set: 1
            Commit: 312becf8afa3d709f38f8e7ae8836b57622fac23

            gerrit Gerrit Updater added a comment - Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/34100 Subject: LU-10986 lfs: make lfs project tolerant errors Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 312becf8afa3d709f38f8e7ae8836b57622fac23
            pjones Peter Jones added a comment -

            Landed for 2.12

            pjones Peter Jones added a comment - Landed for 2.12

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32243/
            Subject: LU-10986 lfs: make lfs project tolerant errors
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: d189024bd3065c69c51ba90f6228c3ea28419dd0

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32243/ Subject: LU-10986 lfs: make lfs project tolerant errors Project: fs/lustre-release Branch: master Current Patch Set: Commit: d189024bd3065c69c51ba90f6228c3ea28419dd0

            Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/32243
            Subject: LU-10986 lfs: make lfs project tolerant errors
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 8aba9b3e2657f1669fd12529c4f752e511b7ce86

            gerrit Gerrit Updater added a comment - Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/32243 Subject: LU-10986 lfs: make lfs project tolerant errors Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 8aba9b3e2657f1669fd12529c4f752e511b7ce86

            People

              wangshilong Wang Shilong (Inactive)
              wangshilong Wang Shilong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: