All of lore.kernel.org
 help / color / mirror / Atom feed
From: Spam <spam@tnonline.net>
To: Heinz Mauelshagen <linux-lvm@sistina.com>
Subject: Re: [linux-lvm] Moving a PV to a new, larger, disk.
Date: Wed Jan 14 10:09:02 2004	[thread overview]
Message-ID: <751312142.20040114160809@tnonline.net> (raw)
In-Reply-To: <20040113162256.GA3756@redhat.com>


> On Tue, Jan 13, 2004 at 03:45:54PM +0100, Spam wrote:
>> 
>>   Hello,
>> 
>>   Is it possible to use dd/dd_rescue to simply copy a PV to a new disk
>>   that is slightly (16MiB)larger?
>> 
>>   The old pv is on /dev/hdb1 and the new disk is /dev/hdc and is
>>   unpartitioned so far. How would I proceed to make this work?

> Following procedure to make it happen:

> o partition the new disk with 1 partition of _exactly_
>   the same size (in units of sectors) as /dev/hdb1

> o dd(_rescue) content over
> o remove the old disk
> o vgscan
> o vgchange -ay

  Great! Thank you. Now I know who to blame if things does not work ;)

  //Anders

>>   
>>   This might seem odd to do as I could perhaps use pvmove, but pvmove
>>   requires the whole vg to be present in the system, right?
>> 
>>   //Anders
>> 

  reply	other threads:[~2004-01-14 10:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-13  9:47 [linux-lvm] Moving a PV to a new, larger, disk Spam
2004-01-14  8:37 ` Heinz Mauelshagen
2004-01-14 10:09   ` Spam [this message]
2004-01-14 18:22     ` Heinz Mauelshagen
2004-01-20 16:11 ` Steven Lembark

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=751312142.20040114160809@tnonline.net \
    --to=spam@tnonline.net \
    --cc=linux-lvm@sistina.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.