Linux LVM users
 help / color / mirror / Atom feed
From: Jan Dittmer <j.dittmer@portrix.net>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] lvm2, extending a physical volume
Date: Sun Jul 13 03:17:02 2003	[thread overview]
Message-ID: <3F11153B.8080909@portrix.net> (raw)
In-Reply-To: <20030713005734.G23240@sistina.com>

Heinz J . Mauelshagen wrote:
> On Sat, Jul 12, 2003 at 11:09:13PM +0200, Jan Dittmer wrote:
> 
>>Hi,
>>
>>would this be a reasonable course of action?
>>
>>vgcfgbackup myraid
>>pvcreate -yff -u wZQg66-cWrF-VDi5-GcRN-aYVg-RQQ3-PPm5K5 /dev/md0
>>`take the size pvcreate reports and change the backup file accordingly`
>>vgcfgrestore myraid
> 
> 
> Yes, this is the workaround.
> (vgcfgbackup shouldn't be necessary though)
>

Being on the careful side here (don't want to restore 300GB of data).
pvdisplay reports (after pvcreate):
--- NEW Physical volume ---
   PV Name               /dev/md0
   VG Name
   PV Size               447.15 GB
   Allocatable           NO
   PE Size (KByte)       0
   Total PE              0
   Free PE               0
   Allocated PE          0
   PV UUID               wZQg66-cWrF-VDi5-GcRN-aYVg-RQQ3-PPm5K5

So how do I get the PEs? Can I also create a new Volumegroup without damaging 
anything? Or is there another way to get the total/free PEs?

Thanks for the insight,

Jan



-- 
Linux rubicon 2.5.75-mm1-jd10 #1 SMP Sat Jul 12 19:40:28 CEST 2003 i686

  reply	other threads:[~2003-07-13  3:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-08  5:00 [linux-lvm] lvm2, extending a physical volume Jan Dittmer
2003-07-09  3:05 ` Heinz J . Mauelshagen
2003-07-12 16:10   ` Jan Dittmer
2003-07-12 18:00     ` Heinz J . Mauelshagen
2003-07-13  3:17       ` Jan Dittmer [this message]
2003-07-13  3:27         ` Jan Dittmer

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=3F11153B.8080909@portrix.net \
    --to=j.dittmer@portrix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox