pvresize


Description:

[ Version ( since = "1.0.26" ) ]
public bool pvresize (string device) throws Error

resize an LVM physical volume

This resizes (expands or shrinks) an existing LVM physical volume to match the new size of the underlying device.

This function depends on the feature "lvm2". See also feature_available.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error