Linux LVM users
 help / color / mirror / Atom feed
From: Zac Slade <krakrjak@volumehost.net>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Right way to resize LVM Volume on SAN?
Date: Fri, 9 Jun 2006 02:36:16 -0500	[thread overview]
Message-ID: <200606090236.16205.krakrjak@volumehost.net> (raw)
In-Reply-To: <20060608195651.GF548@percy.comedia.it>

On Thursday 08 June 2006 14:56, Luca Berra wrote:
> On Thu, Jun 08, 2006 at 04:06:10PM +0200, Alen Salamun wrote:
> >Thank you. I read that already. And since it only says:
> >
> >"Expand the PV on /dev/sda1 AFTER enlarging the partition with fdisk"
That should probably be more generalized in the documentation.  Instead it 
should say "Expand the PV on /dev/<dev name> AFTER englarging the block 
device.  If the block device is a partition then you will need to enlarge the 
partition utilizing a tool for managing partitions like fdisk."

If the device in LVM is just a SAN backed LU then you really don't need 
partitions on it at all.  This would simplify your setup in the future if you 
just exposed the LU to the server and then just simply pvcreate the entire 
disk next time.  Then when you increase the size of the LU on the SAN you can 
validate its size using blockdev --getsize64 /dev/sda both before and after 
the change.  At that point a simple pvresize will pick up the new size and 
move forward.

Hope that sheds some light.
-- 
Zac Slade
krakrjak@volumehost.net
ICQ:1415282 YM:krakrjak AIM:ttyp99

      reply	other threads:[~2006-06-09  7:36 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
2006-06-08 14:06   ` Alen Salamun
2006-06-08 19:56     ` Luca Berra
2006-06-09  7:36       ` Zac Slade [this message]

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=200606090236.16205.krakrjak@volumehost.net \
    --to=krakrjak@volumehost.net \
    --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