I have disk /dev/sdb (160 GB) and it has only the primary partition 1 (/dev/sdb1 - type 8e LVM Linux) which includes the whole disk.
/dev/sdb is VMware virtual disk and /dev/sdb1 is LVM physical volume.
My scope is to increase PV size without reboot, so I followed these steps:
-I increased Vmware virtual disk size to 200 GB
-I run fdisk to delete /dev/sdb1 and I recreated it with the available first/last cylinder.
-I changed partition to 8e type.
-I saved changes
I'd like to resize PV online with no reboot I tried to run:
"echo 1 > /sys/class/scsi_device/xx:x/device/rescan"
hdparm ... ,
partx
partprobe -s
fstab output shows right dimension but
I run pvresize /dev/sdb1 but my physical volume continue to be the old size.
Suggestions please?
resize online LVM partition (PV)
General support questions
-
- Posts: 40
- Joined: 2015/06/11 08:34:13
Return to “CentOS 6 - General Support”
Jump to
- CentOS General Purpose
- ↳ CentOS - FAQ & Readme First
- ↳ Announcements
- ↳ CentOS Social
- ↳ User Comments
- ↳ Website Problems
- CentOS 8 / 8-Stream / 9-Stream
- ↳ 8 /8-Stream / 9-Stream - General Support
- ↳ 8 /8-Stream / 9-Stream - Hardware Support
- ↳ 8 /8-Stream / 9-Stream - Networking Support
- ↳ 8 /8-Stream / 9-Stream - Security Support
- CentOS 7
- ↳ CentOS 7 - General Support
- ↳ CentOS 7 - Software Support
- ↳ CentOS 7 - Hardware Support
- ↳ CentOS 7 - Networking Support
- ↳ CentOS 7 - Security Support
- CentOS Legacy Versions
- ↳ CentOS 5
- ↳ CentOS 5 - General Support
- ↳ CentOS 5 - Software Support
- ↳ CentOS 5 - Hardware Support
- ↳ CentOS 5 - Networking Support
- ↳ CentOS 5 - Server Support
- ↳ CentOS 5 - Security Support
- ↳ CentOS 5 - Oracle Installation and Support
- ↳ CentOS 5 - Miscellaneous Questions
- ↳ CentOS 6
- ↳ CentOS 6 - General Support
- ↳ CentOS 6 - Software Support
- ↳ CentOS 6 - Hardware Support
- ↳ CentOS 6 - Networking Support
- ↳ CentOS 6 - Security Support