This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Identify a Harddisk - LED Blinking

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
diamondave
Starter
Starter
Posts: 18
Joined: 10 Sep 2014 21:50
Status: Offline

Identify a Harddisk - LED Blinking

Post by diamondave »

Dear all

I have a storage with 8 Disks and want to be shure to replace the right disk in the case of a failure. The harddisks are connected directly to the board (no RAID-Controller between Mainboard and Server), I have a ZFS Storage called "pool1". Is it possible to let the LED Blinking for a while so that I can identify the failed Disk?

Thanks for any answers, Dave

Onichan
Advanced User
Advanced User
Posts: 238
Joined: 04 Jul 2012 21:41
Status: Offline

Re: Identify a Harddisk - LED Blinking

Post by Onichan »

I'm not sure a good way to keep a drive blinking, but if the drive has some functionality then you could either try using dd to /dev/[ada#|da#] to directly write to the bad drive, which would cause the activity light to stay busy. Also could use camcontrol to force the bad drive to sleep, which should cause the activity light to blink once for a quarter of a second or so, but if you're paying attention you should notice it.

c71clark
Starter
Starter
Posts: 15
Joined: 07 Sep 2014 17:05
Status: Offline

Re: Identify a Harddisk - LED Blinking

Post by c71clark »

I think I proactively learned this lesson by browsing this site: Physically label your drives as you put them in, one at a time, starting N4F after each drive is in so you can then Label in N4F it for future identification. Whatever you do to solve your current problem, I would suggest you do this now to save yourself more grief in the future.

diamondave
Starter
Starter
Posts: 18
Joined: 10 Sep 2014 21:50
Status: Offline

Re: Identify a Harddisk - LED Blinking

Post by diamondave »

Yes shure, I labeled the disk drives with the results of zpool status. But I like a double net :-)

Thanks for the Hints!

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Identify a Harddisk - LED Blinking

Post by b0ssman »

instead of writing to the drive with dd you can get the same result by reading from the drive without destroying the data.

if you have a sgpio backplane you can do more advanced stuff to identify your drive.
see
http://people.freebsd.org/~mav/Enclosur ... ent_en.pdf
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

Post Reply

Return to “ZFS (only!)”