All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kirby C. Bohling" <kbohling@birddog.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] RAID extension and lvm
Date: Sun Jul 14 13:45:01 2002	[thread overview]
Message-ID: <3D31C52B.6050000@birddog.com> (raw)
In-Reply-To: Pine.LNX.4.44.0207142010160.29796-100000@poseidon.ihs.uni-stuttgart.de

Did you partition the disk, or did you put LVM on the raw disk 
unpartitioned?

If the disk is partitioned, run fdisk/cfdisk/disk druid to add that 
partition on the end (I've never done this, so take it with a grain of 
salt).  I don't believe that the partition table has the complete size 
of the disk, I believe it just has the sizes of the current partitions. 
  So it should be safe (the key work being: should).

Run pvcreate on the newly created partition.

Now follow the HOWTO on adding another pv to a vg.  I believe all you do 
is run vgextend then lvextend or lvcreate.

If you didn't set it up using partitions, and it is a raw block device 
you have issues.  I've got no idea how to help.  Sorry...  Report back 
if what works :-)

	Thanks,
		Kirby


Ralf Eisinger wrote:
> Sorry, I think there is/was something confusing. We want to have the
> following scenario:
> 
> - we had an hardware raid5 with three disks (so we get the size from two
>   of them)
> - from the view of the kernel there is one big SCSI disk
> - on that disk I install lvm (for snapshots) and ext3
> - ...
> - we are working (heavily ;-) on that disks
> - ...
> - Because we are running out of disk space, I plug in a new disk
>   and add them to the existing raid5. So it will have now four disks.
>   This adding is done by the hardware.
> - Now the disk size of the "one big disk" is changed to the new
>   "netto" size of the raid5.
> 
> Is it possible to handle that with lvm and when the answer is "yes", in
> which way? One point was a command named "pvresize" but I didn't find it
> in my distribution (SuSE 8.0) and I find nothing about that in the HOWTO.
> 
> 

  reply	other threads:[~2002-07-14 13:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-12  9:17 [linux-lvm] RAID extension and lvm Ralf Eisinger
2002-07-12  9:27 ` Goetz Bock
2002-07-14  9:40   ` Ralf Eisinger
2002-07-14  9:55     ` Goetz Bock
2002-07-14 11:27     ` lembark
2002-07-14 12:41       ` Ralf Eisinger
2002-07-14 12:47         ` Tim
2002-07-14 13:20           ` Ralf Eisinger
2002-07-14 13:45             ` Kirby C. Bohling [this message]
2002-07-14 14:14             ` Christian Limpach

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=3D31C52B.6050000@birddog.com \
    --to=kbohling@birddog.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.