* Information gathering script
@ 2010-03-24 15:10 Brad Campbell
2010-03-24 15:51 ` Kristleifur Daðason
0 siblings, 1 reply; 2+ messages in thread
From: Brad Campbell @ 2010-03-24 15:10 UTC (permalink / raw)
To: RAID Linux
G'day all,
Having just dropped a drive (it turns out 1TB SATA drives don't bounce) that belonged in my 10 drive
RAID-6 and having replaced it this afternoon, I had a thought.
When things go wrong (particularly those nasty things that cause the sick feeling in the pit of your
stomach) the best help is always available give the right information.
If there was a script that one could run when things were healthy that dumped all the relevant
information for safe keeping, would it reduce the nightmare that is recovering a broken raid?
I'd imagine an mdadm --examine on each component of a RAID, partition tables and perhaps a --detail
on each md device. Is there anything else that might be handy that could be dumped to a verbose
output just in case?
Is there already such a thing?
Regards,
Brad
--
Dolphins are so intelligent that within a few weeks they can
train Americans to stand at the edge of the pool and throw them
fish.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Information gathering script
2010-03-24 15:10 Information gathering script Brad Campbell
@ 2010-03-24 15:51 ` Kristleifur Daðason
0 siblings, 0 replies; 2+ messages in thread
From: Kristleifur Daðason @ 2010-03-24 15:51 UTC (permalink / raw)
To: Brad Campbell; +Cc: RAID Linux
On Wed, Mar 24, 2010 at 3:10 PM, Brad Campbell <brad@wasp.net.au> wrote:
> G'day all,
>
> Having just dropped a drive (it turns out 1TB SATA drives don't bounce) that
> belonged in my 10 drive RAID-6 and having replaced it this afternoon, I had
> a thought.
>
> When things go wrong (particularly those nasty things that cause the sick
> feeling in the pit of your stomach) the best help is always available give
> the right information.
>
> If there was a script that one could run when things were healthy that
> dumped all the relevant information for safe keeping, would it reduce the
> nightmare that is recovering a broken raid?
>
> I'd imagine an mdadm --examine on each component of a RAID, partition tables
> and perhaps a --detail on each md device. Is there anything else that might
> be handy that could be dumped to a verbose output just in case?
>
> Is there already such a thing?
>
> Regards,
> Brad
In my paranoia, I did this type of thing manually the other day.
(Great minds think alike?)
- I took the output of "lshw". Handy overview. Shows drive types,
serial numbers, drive-to-controller connections.
- It'd be very useful to have the UUID serials of each drive plus the
exact order they are assembled into the raid.
- And well, having a binary copy of all the superblocks and partition
tables sure can't hurt.
-- Kristleifur
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-24 15:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-24 15:10 Information gathering script Brad Campbell
2010-03-24 15:51 ` Kristleifur Daðason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).