Am 2017-03-01 um 23:21 schrieb Bill Kenworthy:

> Is there actually a disk on that interface? - I have a system where one
> sdx allocated to an unused sata port with nothing attached - it returns
> similar information to yours above - check the other entries.

I checked them, sure.
to me it seems that there are 2 sg-devices created per port or so.

One as ICP-device: does not tell me serials or so, but has an sd-device
mapped to it according to sg_map

# smartctl -d auto -i /dev/sg2
smartctl 6.4 2015-06-04 r4109 [x86_64-linux-3.18.11-gentoo-smp] (local
build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               ICP
Product:              SAS1
Revision:             V1.0
User Capacity:        73,284,976,640 bytes [73.2 GB]
Logical block size:   512 bytes
scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
>> Terminate command early due to bad response to IEC mode page
A mandatory SMART command failed: exiting. To continue, add one or more
'-T permissive' options.

---

and the higher ones tell me stuff via smartctl, but I don't know exactly
which sd-device they are mapped to:


# smartctl -d auto -i /dev/sg11
smartctl 6.4 2015-06-04 r4109 [x86_64-linux-3.18.11-gentoo-smp] (local
build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               SEAGATE
Product:              ST373455SS
Revision:             0002
User Capacity:        73,407,868,928 bytes [73.4 GB]
Logical block size:   512 bytes
Rotation Rate:        15015 rpm
Logical Unit id:      0x5000c50002448407
Serial number:        3LQ11JWH00009748U10J
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Thu Mar  2 11:06:33 2017 CET
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

---


btw: the serial in this query is a valid one.
This is what I am looking for.


Reply via email to