Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

resize physical volume

Zio_mangroviaSep 26 2017 — edited Oct 26 2017

In Oracle Linux 5.11 I have disk /dev/sdb of 160 GB where the LVM partition type 8e (/dev/sdb1) include the whole disk.

/dev/sdb is VMware virtual disk and /dev/sdb1 is LVM physical volume, now I need to increase /dev/sdb1 size without reboot.

I followed these steps:

i increased Vmware virtual disk size to 200 GB and I run fdisk to delete /dev/sdb1 and to recreate /dev/sdb1 partition with the first and the last available cylinder. I change partition to 8e type.

I saved changes in fdisk.

I have to take effects with no reboot because machine is working so I tried to run partbrobe, "echo  1 > /sys/class/scsi_device/x:x:x:x/device/rescan", hdparm ... , partx

Fstab show right dimension.

I run pvresize /dev/sdb1 but my physical volume continue to be the old size.

Suggestions please?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 23 2017
Added on Sep 26 2017
8 comments
3,176 views