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

lfs utils: misleading error messages when using multiple paths

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

      When using some lfs utils with multiple paths, and one of the paths has an error, it is possible to get misleading error messages:

      $ mkdir /mnt/lustre/d 
      
      $ lfs find /mnt/lustre/typo /mnt/lustre/d
      /mnt/lustre/d
      lt-lfs: failed for '/mnt/lustre/typo': Success
      $ lfs getstripe /mnt/lustre/typo /mnt/lustre/d 
      lt-lfs: getstripe for '/mnt/lustre/d' failed: No such file or directory
      /mnt/lustre/d
      stripe_count:  1 stripe_size:   4194304 pattern:       0 stripe_offset: -1
      

       

            bertschinger Thomas Bertschinger
            bertschinger Thomas Bertschinger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: