[CentOS] ssacli start rebuild?

Thu Nov 12 02:04:15 UTC 2020
Warren Young <warren at etr-usa.com>

On Nov 11, 2020, at 6:37 PM, Valeri Galtsev <galtsev at kicp.uchicago.edu> wrote:
> how do you map failed software RAID drive to physical port of, say, SAS-attached enclosure.

With ZFS, you set a partition label on the whole-drive partition pool member, then mount the pool with something like “zpool mount -d /dev/disk/by-partlabel”, which then shows the logical disk names in commands like “zpool status” rather than opaque “/dev/sdb3” type things.

It is then up to you to assign sensible drive names like “cage-3-left-4” for the 4th drive down on the left side of the third drive cage.  Or, maybe your organization uses asset tags, so you could label the disk the same way, “sn123456”, which you find by looking at the front of each slot.