lvremove


Description:

[ Version ( since = "1.0.13" ) ]
public bool lvremove (string device) throws Error

remove an LVM logical volume

Remove an LVM logical volume device, where device is the path to the LV, such as /dev/VG/LV.

You can also remove all LVs in a volume group by specifying the VG name, /dev/VG.

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

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error