mirror of
https://github.com/ewwhite/zfs-ha.git
synced 2026-05-15 14:16:09 -06:00
[GH-ISSUE #31] Dell 1220 and /sys/class/enclosure #30
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/zfs-ha#30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rbicelli on GitHub (Feb 21, 2020).
Original GitHub issue: https://github.com/ewwhite/zfs-ha/issues/31
First of all, thanks for this beautiful and elegant solution. Using it for my XenServer pool and works great!
The only downside is that with Dell MD1220 there's no way to identify drives because /sys/class/enclosure isn't populated.
Any clue?
@milleroff commented on GitHub (Feb 21, 2020):
Hi,
We have several MD1220 enclosures.
lsscsi and sas2ircu both show all the needed information. Check the attached screenshots.
@rbicelli commented on GitHub (Feb 21, 2020):
Thanks, didn't think about sas2ircu. My problems were locating disks.
@jasonrm commented on GitHub (May 12, 2021):
Seems that while the device type is the expected 0x0d, the EncServ bit in the inquiry data isn't set so the scsi_device_enclosure check doesn't think it's supported (as expected, the enclosure is the non-standards compliant one here).
I'm not sure what issues might be encountered long term, but using some hacky string comparisons we can pretend it supports SES.
With that patch in place, tools like sdled/encled work. Although with multipath, the dev name isn't correct for the second connected controller, but the LED status is correct. (edit: looks like device detachment updates correctly, new attachments aren't picked up. Can't tell if it's my setup/kernel/etc, or the non-standard SES implementation being forced into service.)