Re: [Hampshire] Hard disks and LVM

Top Page

Reply to this message
Author: Keith Edmunds
Date:  
To: hampshire
Subject: Re: [Hampshire] Hard disks and LVM
On Thu, 29 Oct 2009 22:30:16 +0000, linux@??? said:

> if I used a
> RAID 1 device (e.g. md0) as a physical volume for LVM, and one of the
> disks in md0 went down, would LVM carry on regardless while I replace
> the disk?


Yes. You do, however, need some way of knowing that one of the disks has
failed. There are various strategies that can be employed, but if don't
know when one disk has failed then there is actually no point in having
RAID. mdadm, the tool that (usually) manages software RAID under Linux,
can be configured to generate an email when there are problems, which is
probably the minimum you should do.

> So I need a better backup strategy


Do not confuse RAID of any kind with backups: there are completely
different things. RAID provides some limited security against hardware
failure and may provide some performance increase or decrease. Backups are
what you turn to when the blood drains from your face after you realise
either a) the full impact of the command you have just typed or b) the
only evidence of the system you stored your data on is a gap where that
system used to be coupled with a marginally lower electricity bill and
maybe a broken window.

--
Keith Edmunds

+-------------------------------------------------------------------------+
|    Tiger Computing Ltd    |  Helping businesses make the most of Linux  |
|  "The Linux Specialists"  |       http://www.tiger-computing.co.uk      |

+-------------------------------------------------------------------------+