Linux LVM users
 help / color / mirror / Atom feed
From: Sam Vilain <sam@vilain.net>
To: deant@hawaii.rr.com
Cc: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Resizing a volume group
Date: Wed, 12 Jan 2005 21:53:09 +1300	[thread overview]
Message-ID: <41E4E575.6030802@vilain.net> (raw)
In-Reply-To: <853E1A0C-6071-11D9-A1E3-000A95AF6760@hawaii.rr.com>

Dean Takemori wrote:
> I'm running a Fedora Core 1 box using LVM on RAID (lvm-1.0.3-13)  I moved
> from a pair of RAID1 hard drives to a larger pair of drives by 
> strategically
> failing and replacing the drives. 
> This has left me with the following situation : Volume group lv0 (26GB) 
> resides
> on /dev/md1, which are a pair of 250GB partitions.  But the lvm tools 
> only see
> /dev/md1 as being 26GB (which is what it was on the old hard drives).  
> (Oddly,
> vgdisplay does note that the maximum lv size is 250GB).
> 
> Is it possible to resize the pv and lv so that they use up the full 
> space of
> the partition?

so, blockdev -s /dev/md1 shows 26 or 250GB ?

I'm struggling to see how you would have changed the size of a block
device with "strategically failing and replacing" drives.

> ~ > pvdisplay /dev/md1
> PV Size               26.44 GB [55453952 secs] / NOT usable 4.19 MB 

If /dev/md1 really is 250GB then you might have some surgical disk 
partitioning to do.  ie, get it back to the size it was, then add the
rest of the disk as another /dev/md PV.

Sam.

      reply	other threads:[~2005-01-12  8:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-07  6:01 [linux-lvm] Resizing a volume group Dean Takemori
2005-01-12  8:53 ` Sam Vilain [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=41E4E575.6030802@vilain.net \
    --to=sam@vilain.net \
    --cc=deant@hawaii.rr.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