[LU-4240] sgpdd-survey exits with misleading message Created: 09/Nov/13  Updated: 28/Nov/13

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Brett Lee (Inactive) Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: cdwgbl

Rank (Obsolete): 11538

 Description   

Use case: Running sgpdd-survey against devices that do not support the sg_readcap query.

Scenario 1: Running sgpdd-survey against a md (software) RAID device.

Expectation: When sg_readcap fails to read from the device, sgpdd-survey should exit with an appropriate message and exit code.

Notes: The sg_readcap command is called twice in sgpdd-survey. The first time it fails a default value of 512 is assigned to block size. After it fails on the second invocation, sgpdd-survey exits with an erroneous suggestion.

Implementation: Suggest that sgpdd-survey exit with an appropriate message after the first failure of sg_readcap.


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