H
H
hardr0m2020-12-16 08:53:56
mdadm
hardr0m, 2020-12-16 08:53:56

How can I find out in which bin the failed disk is physically located using the MDADM software raid?

Good afternoon.
I wanted to ask another stupid question. Using mdadm, I marked and removed the failed drive. If anyone needs these commands:
mdadm /dev/md0 --fail /dev/sdX
mdadm /dev/md0 --remove /dev/sdX
and this command when a new disk is inserted: mdadm /dev/md0 --add /dev/ sdX
sdX is your failing disk
Now the question. How to determine in which recycle bin the failed hard drive is physically located? I have 8 of them and there is no highlight about the failure.
PS. I solved the problem by the method of scientific poke - I alternately pulled out the disks and looked at which one disappeared.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sand, 2020-12-16
@sand3001

dd if=/dev/sdX of=/dev/null conv=noerr
If the disk is readable, the light on the required disk will be continuously on.
If the disk is not readable, iterate over the working disks and the exclusion method.
In addition, using hdparm, you can see the serial number of the disks

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question