How to drive the locate LED of a drive which is part of SCSI enclosure?

Run the following tool to identify the expander device.

lsscsi -g

 

Suppose it is sg0

 

to locate the drive in slot 1.

sg_ses –dsn=1 –set=ident /dev/sg0

 

to turn off locating the drive 1.

sg_ses –dsn=1 –clear=ident /dev/sg0

 

About the Author

Yogi

24 years of experience in various layers of software. Primarily experienced in system side software design and development on server management software. Interested in linux development in x86 and arm architecture.