Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
Lustre 2.15.3
-
9223372036854775807
Description
When attempting to run sgpdd-survey on raw devices it refuses to continue after sg_readcap, returning:
read capacity(16): pass-through os error: Inappropriate ioctl for device READ CAPACITY (16) failed: Inappropriate ioctl for device sg_readcap failed: Inappropriate ioctl for device sg_readcap on device localhost:/dev/raw/raw1 failed, setting block size to 512 device localhost:/dev/raw/raw1 not big enough: 0 < 8388608. Consider reducing $size
In testing this could be bypassed by commenting out the relevant device size check (lines 217-221) and sgpdd-survey proceeds normally otherwise.