[LU-14313] mount.lustre fails silently when built without server support Created: 08/Jan/21  Updated: 14/Mar/21  Resolved: 26/Feb/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.15.0

Type: Bug Priority: Minor
Reporter: Olaf Faaland Assignee: Olaf Faaland
Resolution: Fixed Votes: 0
Labels: llnl, llnlfixready

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

If mount.lustre was built without server support, attempting to mount a target without the colon that identifies client mounts fails without an error message.  In addition, the exit code is returned to the user is "234" because the code returns -22 instead of 22.

The issue exists in both master and 2.12

 



 Comments   
Comment by Gerrit Updater [ 08/Jan/21 ]

Olaf Faaland-LLNL (faaland1@llnl.gov) uploaded a new patch: https://review.whamcloud.com/41182
Subject: LU-14313 utils: mount error when no server support
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: db7452d218a35b72ca074e457ba13fcc0b0a40c0

Comment by Peter Jones [ 09/Jan/21 ]

Thanks for the patch Olaf

Comment by Gerrit Updater [ 26/Feb/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41182/
Subject: LU-14313 utils: mount error when no server support
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 7af92d8843f7e526e69c7e6ca66352be1ea94174

Comment by Peter Jones [ 26/Feb/21 ]

Landed for 2.15

Generated at Sat Feb 10 03:08:40 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.