linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Ray Morris <support@bettercgi.com>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Securing against data lost
Date: Wed, 10 Aug 2011 14:54:33 -0500	[thread overview]
Message-ID: <20110810145433.4105bb6a@bettercgi.com> (raw)
In-Reply-To: <CAMN6oRmKSkiBqLwGjVyCFnoqGPbQYk=TTukFO_GdKO-M3FdcMw@mail.gmail.com>

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/
> 

  reply	other threads:[~2011-08-10 19:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-10 11:40 [linux-lvm] Securing against data lost Sun_Blood
2011-08-10 19:54 ` Ray Morris [this message]
2011-08-11  8:08 ` Georges Giralt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110810145433.4105bb6a@bettercgi.com \
    --to=support@bettercgi.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).