Linux LVM users
 help / color / mirror / Atom feed
From: "Perplexer" <perplexer@thz.net>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Re: What if a drive dies ?
Date: Tue Mar  2 13:34:02 2004	[thread overview]
Message-ID: <002a01c40085$2c03e680$0400a8c0@vector> (raw)
In-Reply-To: yw1xy8qjxxgt.fsf@kth.se

Ahh I made a major typo .... it's a linear setup, not a striped one.

You mentioned anyway that a recovery would be somewhat possible.
I'm using ext3 journaling fs on my LV. Would I be able to mount this
LV if one PV died, meaning I would see all data except the part that
was lost with that drive or would I need to do anything special to make
the LV mountable again ?

---------
Perplexer

----- Original Message ----- 
From: "M�ns Rullg�rd" <mru@kth.se>
To: <linux-lvm@sistina.com>
Sent: Tuesday, March 02, 2004 1:08 PM
Subject: [linux-lvm] Re: What if a drive dies ?


> "Perplexer" <perplexer@thz.net> writes:
>
> > Hello.
> >
> > I'm sorry if I ask something that's be asked a million times before but I
> > prefer answers to my specific questions. I hope someone will try to help.
> >
> > I have a VG with several differently sized PVs and one LV. It is working
> > fine but I am affraid that one day one of the drives would fail.
>
> It happened to me.
>
> > I'd like to know what I'll be looking at when that happens. What if
> > one drive would fail in that VG ? Can I remove it and 'repair' the
> > VG/LV to run on with one drive less
>
> LVM2 can run readonly with some drives missing.
>
> > (data is written in striped mode).
>
> That lowers your odds considerably.  I wouldn't count on recovering
> anything at all.
>
> > That would mean I got my VG/LV back on-line but the data that was on
> > the bad disk would be missing (a small price to pay actually). Would
> > I need to resize the filesystem again with some tool or anything
> > special ?
>
> If you didn't run in striped mode you'd probably be able to recover
> most of the data from the remaining disks, the exact results would
> depend on the filesystem used and which part of it was lost.  However,
> in striped mode you'll lose fragments all over the place.  Recovering
> from that is more or less impossible.
>
> If your data is precious, use RAID1 or RAID5 and make regular backups.
>
> -- 
> M�ns Rullg�rd
> mru@kth.se
>
> _______________________________________________
> 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:[~2004-03-02 18:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-02  5:29 [linux-lvm] What if a drive dies ? Perplexer
2004-03-02  7:07 ` [linux-lvm] " Måns Rullgård
2004-03-02 13:34   ` Perplexer [this message]
2004-03-02 14:31     ` Måns Rullgård

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='002a01c40085$2c03e680$0400a8c0@vector' \
    --to=perplexer@thz.net \
    --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