From: Eric Hopper <hopper@omnifarious.org>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Is LVM safe?
Date: Mon, 20 Jun 2005 09:10:21 -0700 [thread overview]
Message-ID: <20050620161021.GG25606@omnifarious.org> (raw)
In-Reply-To: <1119279649.18965.24.camel@volt>
[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]
On Mon, Jun 20, 2005 at 04:00:49PM +0100, John Rowe wrote:
>
> > > Yes, it's easy. You just need a kernel with DM-Support and the
>
> > But this is similar to what
> > happens if the partition table gets busted on a normal disk.
>
> So the previous poster's "Yes" actually means "No". And a broken
> partition table will zap a disk with an LVM partition too won't it? So
> the bottom line is that if I want to move an LVM partition to a
> different system I have to hold my breath and pray.
No, it means "Yes" just like he said. There is a condition that you
didn't explicitly state in the original question. If the LVM metadata
is messed up somehow (which doesn't generally happen unless you do
something stupid), you can't recover the LVM volumes without a
filesystem backup of the metadata.
> The idea that a disk partition needs Unix file to be able to read it is
> absolutely astonishing.
Umm, try this sometime...
dd if=/dev/zero of=/dev/hda bs=512 count=1
Then just try to resurrect the partition.
Unless you've created a backup of your partition table into a Unix file,
then you aren't going to recover the partition table, period.
So, poof, there, you have a disk partition that needs a Unix file to be
able to read it.
Since LVM maintains backups of all of this metadata in files, it's
signficantly better for recovery than Unix partitions are.
*sigh*,
--
"It does me no injury for my neighbor to say there are twenty gods or no God.
It neither picks my pocket nor breaks my leg." --- Thomas Jefferson
"Go to Heaven for the climate, Hell for the company." -- Mark Twain
-- Eric Hopper (hopper@omnifarious.org http://www.omnifarious.org/~hopper) --
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2005-06-20 16:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-20 12:02 [linux-lvm] Is LVM safe? John Rowe
2005-06-20 13:17 ` Rainer Krienke
2005-06-20 13:26 ` Erik Ohrnberger
2005-06-20 13:35 ` Andy Smith
2005-06-20 13:49 ` John Rowe
2005-06-20 14:09 ` Philipp Riegger
2005-06-20 14:34 ` John Rowe
2005-06-20 14:42 ` AJ Lewis
2005-06-20 15:00 ` John Rowe
2005-06-20 15:12 ` AJ Lewis
2005-06-20 15:27 ` John Rowe
2005-06-20 15:45 ` AJ Lewis
2005-06-20 16:10 ` Eric Hopper [this message]
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=20050620161021.GG25606@omnifarious.org \
--to=hopper@omnifarious.org \
--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).