[CentOS] not using LVM for Linux VM guests?

Thu Nov 17 22:00:42 UTC 2011
Smithies, Russell <Russell.Smithies at agresearch.co.nz>

Perhaps I'm doing it wrong then.

1). In Vmware, extend the existing disk by changing the provisioned size in the vSphere client.
2). In Centos, create an additional partition with fdisk, 
3). Somehow reread the partition table without rebooting??
4). pvcreate
5). vgextend
6). lvextend
7). resize2fs

What I find is that without a reboot, the OS doesn't see the partition so can't pvcreate etc.


> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Reindl Harald
> Sent: Friday, 18 November 2011 10:48 a.m.
> To: centos at centos.org
> Subject: Re: [CentOS] not using LVM for Linux VM guests?
> Am 17.11.2011 22:36, schrieb Smithies, Russell:
> > Tried that, as well as rescanning the scsi bus, Everything I've tried
> > returns a warning about kernel unable to reread partition table and
> > requiring a reboot to see any modifications.
> gparted does tell you this since years after modify but i have never in my life
> rebooted a linux system because partition changes

Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.