Page 1 of 1

LED Utility for OWC Thunderbay/Raid enclosures

PostPosted: Fri Aug 20, 2021 1:34 am
by mike0810
Hi,

I use OWC Thunderbay with Openzfs on OSX. I also tested out Softraid which is some bad piece of Software but it has one neat feature.
You can activate the blinking light which identifies the disk in question.

Especially when disks fail, one big drawback of Openzfs is to identify the broken disk (not even complete fail but smart errors or failure prognosis) so you dont accidentially pull the wrong disk (which could be devastating in some circumstances)

Is anybody aware of utilities such as ledmon or similar in the linux world?

https://github.com/intel/ledmon

Thanks!

Re: LED Utility for OWC Thunderbay/Raid enclosures

PostPosted: Fri Aug 20, 2021 4:27 am
by jawbroken
I don't know, but personally I just identify the disks by serial number.

Re: LED Utility for OWC Thunderbay/Raid enclosures

PostPosted: Sun Aug 22, 2021 7:05 am
by mike0810
So how do you do this with hot swap enclosures? Do you write S/N on the front? I would love to just blink the light of the failed disk.
Can be a pain with 60 Disk enclosures

Re: LED Utility for OWC Thunderbay/Raid enclosures

PostPosted: Sun Aug 22, 2021 7:54 am
by jawbroken
I don't have the uptime requirements where hot swapping is important, and only 16 disks, so I just turn it off and pull them out until I find it. Otherwise I would label them, yeah. I can't say I would particularly trust the LED blinking script in the rare situation that a drive is failing, anyway.

Re: LED Utility for OWC Thunderbay/Raid enclosures

PostPosted: Sun Aug 22, 2021 6:13 pm
by FadingIntoBlue
I don't know, but personally I just identify the disks by serial number.


So if you have 1-4 slots labelled in an enclosure, and map the numbers to the disk serial number when you install them [I keep a text file for that purpose]:

To use the names in / var / run / disk /by-serial,

```
Code: Select all
$ sudo zpool export tank
$ sudo zpool import -d /var/run/disk/by-serial tank
$ zpool status


will give you the list of disks in the enclosure by serial number.

Bit of a pain to scale out to multiple enclosures, but better than pulling them one by one.

I suspect that was meant by the quote, just thought I'd spell it out in detail