Linux LVM users
 help / color / mirror / Atom feed
From: Heinz Mauelshagen <mauelshagen@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Right way to resize LVM Volume on SAN?
Date: Thu, 8 Jun 2006 11:42:46 +0200	[thread overview]
Message-ID: <20060608094246.GA2775@redhat.com> (raw)
In-Reply-To: <4487E578.2060202@alienworld.org>

On Thu, Jun 08, 2006 at 10:53:12AM +0200, Alen Salamun wrote:
> Hello All!
> 
> I have read all the archives, HOWTO etc. but I don't seem to find the 
> definitive guide to do it correctly.
> 
> My diskspace in Linux is on SAN. The last partition (/dev/sda3) is LVM, 
> ext3 and it represents my /home. Now I expanded the SAN volume and I 
> would like to add this additional space to this last LVM partition.
> 
> I already see larger disk space with fdisk. AFAIK I have now two 
> options. Either I create new partition (for example /dev/sda4) and 
> pvcreate it and add it to Logical Volume or I can resize existing 
> /dev/sda3 since it is the last partition and I can resize it to new end 
> sector.
> 
> I would prefer resizing existing partition. So I should make backup, 
> delete existing partition /dev/sda3. make new partition with new end 
> sector and same start sector and do pvresize, lvresize on it right?
> 
> Is there any other way to do it? It is after all quite something to 
> delete existing live partiton and hope it still work after resize :)

man pvresize

> 
> Thank you!
> 
> _______________________________________________
> 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/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
Storage Development                               56242 Marienrachdorf
                                                  Germany
Mauelshagen@RedHat.com                            PHONE +49  171 7803392
                                                  FAX   +49 2626 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  reply	other threads:[~2006-06-08  9:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-08  8:53 [linux-lvm] Right way to resize LVM Volume on SAN? Alen Salamun
2006-06-08  9:42 ` Heinz Mauelshagen [this message]
2006-06-08 14:06   ` Alen Salamun
2006-06-08 19:56     ` Luca Berra
2006-06-09  7:36       ` Zac Slade

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=20060608094246.GA2775@redhat.com \
    --to=mauelshagen@redhat.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