Re: Which (physical) disk is broken?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> I was more thinking on the 'magic'. When I created the array, I included
> this broken disk. I later removed it, but there should still (?) be a
> record of it in the super block (or wherever mdadm checks).
>
> It knows how many disks there SHOULD be, and it knows how many is working.
>

How about something primitive as checking the syslog messages (sent to
facility kern)? You'll get messages from 'md' when you manipulate arrays, at
least this is true for kernel 2.4. You'll see something like this:

Dec 24 12:25:02 storm kernel: md: trying to remove hdk1 from md4 ...

--
Theepan


-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux