linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Choque Virtual Informations" <info.choquevirtual@gmail.com>
To: tom@nethinks.com,
	LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Question about Physical volume
Date: Fri, 20 Oct 2006 10:04:57 +0100	[thread overview]
Message-ID: <da4b2d050610200204r4d95a1cclb33c3a5f2167112c@mail.gmail.com> (raw)
In-Reply-To: <45388202.7070305@nethinks.com>

[-- Attachment #1: Type: text/plain, Size: 1906 bytes --]

HI Thomas
I normally create a vg with vgcreate, with these steps:
1) Create the physical volume:
    pvcreate /dev/sdb
    pvcreate /dev/sdc
2) Then create the Volume Group:
    vgcreate vg00 /dev/sdb /dev/sdc
3) Create the lv
    lvcreate -L 40960M -n lvxpto /dev/vg00
4) then mke2fs -j /dev/vg00/lvxpto
5) This way, if you need more space to create new lv or to extende lvxpto,
you nedd to extend the vg00 with vgextend

I Hope that this helps you
Gonçalo

2006/10/20, Thomas Marmetschke <thomas.marmetschke@nethinks.com>:
>
> Hi,
>
> is it possible to extend a phyiscal volume?
>
> I have a strange problem, i resized the /dev/sda4 partion (8e Linux LVM)
> from 130GB to 220GB. so far so good.
>
> But with pvdisplay i still get the 130Gb Partion :
>
> pvdisplay
> --- Physical volume ---
> PV Name               /dev/sda4
> VG Name               msa
> PV Size               130,98 GB / not usable 0
> Allocatable           yes
> PE Size (KByte)       4096
> Total PE              33530
> Free PE               6394
> Allocated PE          27136
> PV UUID               TnggaW-0rIL-JaRp-JiwR-ZRlP-JJ83-LOjHfg
>
> Can i do something like a Rescan? that the Information will be updated.
> The big problem is that on this server a productive data so i can´t
> remove any partions.
>
> thx!
>
> -tom
>
> _______________________________________________
> 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/
>



-- 
-- 
Gonçalo José do Casal Ribeiro Mendes Ramos
System Administrator

Choque Virtual - Tecnologias de Informação Unipessoal, LDA
Edificio Colombo I
Rua Dr. Mário Sacramento, Nº 177 1ºK
3810-106 Aveiro
Portugal
www.choque-virtual.pt
Phone: (+351) 234 194 518
Fax:     (+351) 234 194 515
Mobile Phone: (+351) 936 987 583

[-- Attachment #2: Type: text/html, Size: 4435 bytes --]

  parent reply	other threads:[~2006-10-20  9:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-20  8:00 [linux-lvm] Question about Physical volume Thomas Marmetschke
2006-10-20  8:18 ` Mario Verbelen
2006-10-20  9:04 ` Choque Virtual Informations [this message]
2006-10-20  9:25 ` Bryn M. Reeves
2006-10-20 10:08   ` Thomas Marmetschke
2006-10-20 10:27     ` Bryn M. Reeves

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=da4b2d050610200204r4d95a1cclb33c3a5f2167112c@mail.gmail.com \
    --to=info.choquevirtual@gmail.com \
    --cc=linux-lvm@redhat.com \
    --cc=tom@nethinks.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).