PV Device Has Size Which Is Smaller Than Corresponding PV Size
(Doc ID 2405221.1)
Last updated on AUGUST 04, 2018
Applies to:Linux OS - Version Oracle Linux 6.4 and later
When running a LVM command like "pvscan" it can show a message about PV size like this:
PV /dev/sda1 VG rootvg lvm2 [30.00 GiB / 25.11 GiB free]
Device /dev/sdc1 has size of 104856192 sectors which is smaller than corresponding PV size of 104857537 sectors. Was device resized?
One or more devices used as PVs in VG uservg have changed sizes.
PV /dev/sdb1 VG uservg lvm2 [59.99 GiB / 5.06 GiB free]
PV /dev/sdc1 VG uservg lvm2 [50.00 GiB / 0 free]
Total: 3 [139.98 GiB] / in use: 3 [139.98 GiB] / in no VG: 0 [0 ]
The disk partition has, in fact, smaller value size than the LVM PV registered. Checking disk device using parted:
Disk /dev/sdc: 104857600s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 63s 104856254s 104856192s primary <--------------------- CONFIRMED 104856192 SECTOR IN PARTITION 1
And verified in LVM archives at /etc/lvm/archive/*.bkup in old configuration files if PV has changes:
id = "xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"
device = "/dev/sdc1" # Hint only
status = ["ALLOCATABLE"]
flags = 
dev_size = 104857537 # 50 Gigabytes
pe_start = 2048
pe_count = 12799 # 49.9961 Gigabytes
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document