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

Re: [linux-lvm] Securing against data lost



Obviously the number one answer on how to prevent data loss
is PROPER back up. That means off site, with multiple time 
points, so you can go back to an earlier back up if you 
recognize  problem a couple of days later.

> What happens if I accidental destroys the LVM information?

You use vgcfgrestore.

> What happens if the first disk fails do I lose everything on the two
> second disk too?

When a disk fails (not if) you replace it and rebuild the array.

Not using any RAID _and_ don't have a proper back up? In that 
case, retrieving the files from the other two disks could be a 
pain. It would be essentially the same thing as if you ran this 
to zero the first third of a filesystem:

dd if=/dev/zero of=/dev/sda2 bs=1024 count=66000000

You could probably restore some files from the last 2/3rds 
of the filesystem, but that would be a question for people 
who know about whatever filesystem was in use.
-- 
Ray Morris
support bettercgi com

Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/

Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/

Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user/register.php




On Wed, 10 Aug 2011 13:40:05 +0200
Sun_Blood <sblood gmail com> wrote:

> Hi
> 
> Hope someone have time to answer this because google is not giving me
> the answers I need.
> 
> I have just started to use LVM(a few years later then everyone) and
> I'm wondering how I can protect my self from failure to the LVM setup.
> Before when I had for example 3 harddisk at 200gb each (/dev/sd[b-d])
> with one partition each and a disk failed I would maximum lose 200gb.
> Now with LVM the LV is 600gb I'm worried that I can loose all if one
> disk have a problem.
> 
> So how can I protect myself from this?
> What happens if I accidental destroys the LVM information?
> What happens if the first disk fails do I lose everything on the two
> second disk too?
> 
> Best regards
> Martin
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm redhat com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 


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