Re: expand physical volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sunday 07 October 2007, Thomas Antony wrote:
> > The one and only partition on your device (sdb1) has the old size. That
> > is, there's free space on sdb. You have to either 1) create a partition
> > sdb2 (and then a pv on it etc.) or 2) resize the partition sdb1 (then
> > resize the pv etc.).
> >
> > I'd pick #1. remember to reread the partition table after creating the
> > partition (partprobe /dev/sdb or similar) before doing pvcreate on sdb2.
> >
> > The all you have left is to add the pv to your vg, resize the lv (or
> > create a new lv, whichever...). And finally resize the filesystem in the
> > lv.
>
> Hi Peter,
>
> How do i resize this partition?

Note that I suggested that you _dont_ resize partitions but create a new one 
(new partition with a new pv on it etc.). 

pvresize resizes the pv _if_ the containing block device or partition has 
already been grown.

> parted seems to want to resize the file system also and i think this
> would make some troubles.
> I thought pvresize would do this in one step?

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux