lvresize


Description:

[ Version ( since = "1.0.27" ) ]
public bool lvresize (string device, int32 mbytes) throws Error

resize an LVM logical volume

This resizes (expands or shrinks) an existing LVM logical volume to mbytes. When reducing, data in the reduced part is lost.

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

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error