On Thu, Dec 03, 2015 at 12:59:06PM -0800, James Bottomley wrote:
> sg_map -i
> 
> in your system, you should see something with an inquiry string like
> enclosure.  It's the /dev/sg<n> of that you need to run sg_ses on.

root@glen:/home/gelma# sg_map -i
/dev/sg0  /dev/sda  ATA       Samsung SSD 850   1B6Q
/dev/sg1  /dev/sr0  HL-DT-ST  DVDRAM GU40N      QX23
/dev/sg2  /dev/sdb  WD        My Passport 0820  1007
/dev/sg3  WD        SES Device        1007

And following Douglas' instructions:

root@glen:/home/gelma# lsscsi -gs
[0:0:0:0]    disk    ATA      Samsung SSD 850  1B6Q  /dev/sda   /dev/sg0   
1.02TB
[1:0:0:0]    cd/dvd  HL-DT-ST DVDRAM GU40N     QX23  /dev/sr0   /dev/sg1        
-
[8:0:0:0]    disk    WD       My Passport 0820 1007  /dev/sdb   /dev/sg2   
2.00TB
[8:0:0:1]    enclosu WD       SES Device       1007  -          /dev/sg3       

root@glen:/home/gelma# sg_ses /dev/sg3
  WD        SES Device        1007
Supported diagnostic pages:
  Supported Diagnostic Pages [sdp] [0x0]
  Short Enclosure Status (SES) [ses] [0x8]
  <unknown> [0x80]
  <unknown> [0x83]
  <unknown> [0x84]
  <unknown> [0x85]


Well, if it's better for you, I can give you root access to a machine with this 
device
connected to.

Thanks a lot for your time,
Andrea

Attachment: signature.asc
Description: Digital signature

Reply via email to