From: Stuart D Gathman <stuart@bmsi.com>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Need help with a particular use-case for pvmove.
Date: Sun, 14 Nov 2010 17:56:59 -0500 [thread overview]
Message-ID: <4CE0693B.3020509@bmsi.com> (raw)
In-Reply-To: <AANLkTinXXW_QFHa7wEM-rb8rvO-8iXmAzK3yEL1j79uL@mail.gmail.com>
On 11/13/2010 10:56 PM, Stirling Westrup wrote:
>
>> Then dd_rescue copy the disk image from bad-old to new, including
>> everything (partition table, if any, LVM signature, the full image).
>>
>> Remove bad-old drive, have all other old and the new plugged,
>> reboot normally
> Thanks. I did consider this, but the new drive is twice the size of
> the old one, so I would need to make sure I had created a partition on
> the new drive the exact size of the old one, and had dd-ed everything
> correctly. Even then, I wasn't sure if it would work, because I don't
> know what the metadata records in terms of the drive configurations.
The partition can be bigger. Just run pvresize on the new partition
when done. The metadata goes by UUID and doesn't
care what drive it is on (which results in a FAQ when cloning VGs via SAN).
next prev parent reply other threads:[~2010-11-14 22:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-13 21:45 [linux-lvm] Need help with a particular use-case for pvmove Stirling Westrup
2010-11-13 23:03 ` Lars Ellenberg
2010-11-14 3:56 ` Stirling Westrup
2010-11-14 21:58 ` Lars Ellenberg
2010-11-14 23:52 ` Stirling Westrup
2010-11-14 22:56 ` Stuart D Gathman [this message]
2010-11-14 3:57 ` Stirling Westrup
2010-11-14 23:05 ` Stuart D Gathman
2010-11-13 23:22 ` Ray Morris
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=4CE0693B.3020509@bmsi.com \
--to=stuart@bmsi.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).