Lockdown adaX numbers to allow booting ?
Slawa Olhovchenkov
slw at zxy.spb.ru
Fri Sep 20 21:06:49 UTC 2019
On Fri, Sep 20, 2019 at 01:06:29PM -0400, Garrett Wollman wrote:
> In article <20190920155304.GN3953 at zxy.spb.ru>, slw at 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
....
More information about the freebsd-current
mailing list