Re: Disk in a raid array
Hi.
On Fri, Feb 13, 2015 at 12:53:29PM +0000, James Allsopp wrote:
> Hi,
> I've got home mounted on a LVM partition over two RAID 1 arrays. Unfortunately
> one of the disks in the second array has dropped out. I can still fdisk -l it,
> but when I ran dd if=/dev/sdd1 of=/dev/null it got about 132M through a 2Tb
> drive before crashing out. This doesn't bode well.
Indeed. Given that partition table is stored at the beginning of the
disk - 'fdisk -l' is not the tool you should use in this case.
Failing dd - that's bad indeed.
> I can't really afford a new drive, but was wondering if I should just reformat,
> try and check it for errors and then try and add it back to the array? I was
> hoping that doing that might allow it to exclude any bad blocks and get me
> something working for a while whilst I save up.
If I were you - I'd replaced this disk ASAP.
But, there's no need to reformat the disk. Not just yet.
Install smartmontools unless you did already.
Run 'smartctl -t long /dev/sdd'. Wait the amount of time smartctl tells
you.
Post the result of 'smartctl --all /dev/sdd'.
Reco
Reply to: