[Gllug] Extending LVM volumes
Andy Smith
andy at lug.org.uk
Fri Oct 20 11:43:11 UTC 2006
On Fri, Oct 20, 2006 at 11:32:37AM +0100, - Tethys wrote:
> On 10/19/06, Mike Brodbelt <mike at coruscant.demon.co.uk> wrote:
>
> >Now if I want to extend this, I could of course add another disk, create
> >a PV on it, then use vgextend. However, when I add disks to this
> >machine, the result is that /dev/sdc will get bigger, as this itself is
> >a virtual device presented to the OS layer by a harware RAID controller.
> >I can't see any "pvextend" command, so if I double the size of /dev/sdc
> >one day, how do I extend the volume?
>
> pvresize /dev/sdc
This is only available in slightly newer versions of LVM than that
which ships with e.g. Debian Sarge, by the way. I had to do
something similar to this recently and was confused for a short
while about the "missing" pvresize command.
Installing newer lvm tools from source may also require a newer
kernel (I was already running a newer kernel so didn't check).
Cheers,
Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20061020/9ae62d30/attachment.pgp>
-------------- next part --------------
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list