Date: Sat, 21 Sep 2019 00:06:45 +0300 From: Slawa Olhovchenkov <slw@zxy.spb.ru> To: Garrett Wollman <wollman@hergotha.csail.mit.edu> Cc: freebsd-current@freebsd.org Subject: Re: Lockdown adaX numbers to allow booting ? Message-ID: <20190920210645.GO3953@zxy.spb.ru> In-Reply-To: <201909201706.x8KH6Tov048682@hergotha.csail.mit.edu> References: <20190919140219.GE2863@home.opsec.eu> <7E0AE025-596C-457E-BC40-41217857A3CD@me.com> <20190919155713.GG2863@home.opsec.eu> <3C855A39-BF79-4430-98CB-CB9174768E11@freebsd.org> <20190920143531.GB38096@zxy.spb.ru> <CAOjFWZ6O4H9atcV-C-ZV0xye24P%2B69frgaVez98ZiGytzweOuw@mail.gmail.com> <20190920155304.GN3953@zxy.spb.ru> <201909201706.x8KH6Tov048682@hergotha.csail.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 20, 2019 at 01:06:29PM -0400, Garrett Wollman wrote: > In article <20190920155304.GN3953@zxy.spb.ru>, slw@zxy.spb.ru writes: > > >Location of device in multi-chassis storage system is different story. > >I am don't know how to field engineer insert disks in chassis. > >For me simple is find in /var/run/dmesg.boot S/N <=> daXY mapping and > >turn ON led by sas2ircu. > > sesutil does this for you! > > # sesutil locate daXY on > # sesutil locate daXY off > > So long as your enclosure supports SES (all the modern ones I've seen > do) and is enumerable by ses(4). In theory there is no difference between theory and practice. But, in practice, there is. # sesutil map ses0: Enclosure Name: AHCI SGPIO Enclosure Enclosure ID: 0 Element 0, Type: Array Device Slot Status: Unsupported (0x00 0x00 0x00 0x00) Element 1, Type: Array Device Slot Status: Unknown (0x06 0x00 0x00 0x00) Description: SLOT 000 Element 2, Type: Array Device Slot Status: Unknown (0x06 0x00 0x00 0x00) Description: SLOT 001 Element 3, Type: Array Device Slot Status: Unknown (0x06 0x00 0x00 0x00) Description: SLOT 002 Element 4, Type: Array Device Slot Status: Unknown (0x06 0x00 0x00 0x00) Description: SLOT 003 ses1: Enclosure Name: AHCI SGPIO Enclosure Enclosure ID: 0 Element 0, Type: Array Device Slot Status: Unsupported (0x00 0x00 0x00 0x00) Element 1, Type: Array Device Slot Status: Unknown (0x06 0x00 0x00 0x00) Description: SLOT 000 Element 2, Type: Array Device Slot Status: Unknown (0x06 0x00 0x00 0x00) Description: SLOT 001 Element 3, Type: Array Device Slot Status: Unknown (0x06 0x00 0x00 0x00) Description: SLOT 002 Element 4, Type: Array Device Slot Status: Unknown (0x06 0x00 0x00 0x00) Description: SLOT 003 Element 5, Type: Array Device Slot Status: Unknown (0x06 0x00 0x00 0x00) Description: SLOT 004 Element 6, Type: Array Device Slot Status: Unknown (0x06 0x00 0x00 0x00) Description: SLOT 005 # sesutil locate ada0 on sesutil: Count not find the SES id of device 'ada0' # sesutil locate da0 on sesutil: Count not find the SES id of device 'da0' # sas2ircu 0 DISPLAY LSI Corporation SAS2 IR Configuration Utility. Version 20.00.00.00 (2014.09.18) Copyright (c) 2008-2014 LSI Corporation. All rights reserved. Read configuration has been initiated for controller 0 ------------------------------------------------------------------------ Controller information ------------------------------------------------------------------------ Controller type : SAS2308_1 BIOS version : 7.39.02.00 Firmware version : 20.00.07.00 Channel description : 1 Serial Attached SCSI Initiator ID : 0 Maximum physical devices : 255 Concurrent commands supported : 8192 Slot : 1 Segment : 0 Bus : 1 Device : 0 Function : 0 RAID Support : No ------------------------------------------------------------------------ IR Volume information ------------------------------------------------------------------------ ------------------------------------------------------------------------ Physical device information ------------------------------------------------------------------------ Initiator at ID #0 Device is a Hard disk Enclosure # : 1 Slot # : 0 SAS Address : 4433221-1-0300-0000 State : Ready (RDY) Size (in MB)/(in sectors) : 7630885/15628053167 Manufacturer : ATA Model Number : TOSHIBA HDWN180 Firmware Revision : GX2M Serial No : 79HSK0PHFAVG GUID : N/A Protocol : SATA Drive Type : SATA_HDD Device is a Hard disk Enclosure # : 1 Slot # : 1 SAS Address : 4433221-1-0200-0000 State : Ready (RDY) Size (in MB)/(in sectors) : 7630885/15628053167 Manufacturer : ATA Model Number : TOSHIBA HDWN180 Firmware Revision : GX2M Serial No : 79CVK0OEFAVG GUID : N/A Protocol : SATA Drive Type : SATA_HDD ....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190920210645.GO3953>