From: Christian Limpach <chris@Pin.LU>
To: linux-lvm@sistina.com, Ralf Eisinger <rei@ihs.uni-stuttgart.de>
Subject: Re: [linux-lvm] RAID extension and lvm
Date: Sun Jul 14 14:14:02 2002 [thread overview]
Message-ID: <1026674081.3d31cda16b6d1@lola.Pin.LU> (raw)
In-Reply-To: <Pine.LNX.4.44.0207142010160.29796-100000@poseidon.ihs.uni-stuttgart.de>
Quoting Ralf Eisinger <rei@ihs.uni-stuttgart.de>:
> 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.
You want to (find and) use the pvresize command, it is available at least in
1.1-rc2: ftp://linux.msede.com:21/lvm/1.1/lvm_1.1-rc2.tar.gz
This should work well if your pv spans your raid5 device completely or at
least your pv is at the end of your raid5 device.
If you don't want to try pvresize, you have two other options:
- if your raid5 device has a partition table, you can add the new space as a
new partition and pvcreate a new pv on this partition and add the new pv to
your volume group.
- you can use losetup with the -o option to create a loopback device covering
the new space. This is definitely not an ideal setup, but it should work and
most of all it should work even if you couldn't use pvresize.
Then there's a few more options if you use device-mapper which lets you map
multiple ranges of sectors into a device.
--
Christian Limpach <chris@Pin.LU>
prev parent reply other threads:[~2002-07-14 14:14 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
2002-07-14 14:14 ` Christian Limpach [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=1026674081.3d31cda16b6d1@lola.Pin.LU \
--to=chris@pin.lu \
--cc=linux-lvm@sistina.com \
--cc=rei@ihs.uni-stuttgart.de \
/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.