Re: expand physical volume

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





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?
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?

Thomas
_______________________________________________
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