Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
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
Attachments
Issue Links
- is related to
-
LU-5170 lfs usability
-
- Open
-
Activity
Fix Version/s | New: Lustre 2.16.0 [ 15190 ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Assignee | Original: WC Triage [ wc-triage ] | New: Thomas Bertschinger [ bertschinger ] |
Description |
Original:
When using some lfs utils with multiple paths, and one of the paths has an error, it is possible to get misleading error messages:
{code:bash} $ mkdir /mnt/lustre/d $ lfs find /mnt/lustre/typo /mnt/lustre/d /mnt/lustre/d lt-lfs: failed for '/mnt/lustre/typo': Success{code} {code:bash} $ 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 {code} |
New:
When using some lfs utils with multiple paths, and one of the paths has an error, it is possible to get misleading error messages:
{code:bash} $ mkdir /mnt/lustre/d $ lfs find /mnt/lustre/typo /mnt/lustre/d /mnt/lustre/d lt-lfs: failed for '/mnt/lustre/typo': Success{code} {code:bash} $ 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 {code} |
Landed for 2.16