1 .TH PVRESIZE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
3 pvresize \- resize a disk or partition in use by LVM2
6 .RB [ \-d | \-\-debug ]
9 .RB [ \-v | \-\-verbose ]
10 .RB [ \-\-setphysicalvolumesize size ]
11 .IR PhysicalVolume " [" PhysicalVolume ...]
16 which may already be in a volume group and have active logical volumes
19 See \fBlvm\fP(8) for common options.
21 .BR \-\-setphysicalvolumesize " size"
22 Overrides the automatically-detected size of the PV. Use with care, or
23 prior to reducing the physical size of the device.
25 Expand the PV on /dev/sda1 after enlarging the partition with fdisk:
29 Shrink the PV on /dev/sda1 prior to shrinking the partition with fdisk
30 (ensure that the PV size is appropriate for your intended new partition
33 .B pvresize --setphysicalvolumesize 40G /dev/sda1
39 if it has allocated extents after where its new end would be. In the future,
40 it should relocate these elsewhere in the volume group if there is sufficient
46 won't currently work correctly on LVM1 volumes or PVs with extra
49 .BR lvm "(8), " pvmove "(8), " lvresize "(8), " fdisk "(8)"