lvcreate
Description:
[ Version ( since = "0.8" ) ]
public bool lvcreate (string logvol, string volgroup, int32 mbytes) throws Error
public bool lvcreate (string logvol, string volgroup, int32 mbytes) throws Error
create an LVM logical volume
This creates an LVM logical volume called logvol
on the volume group volgroup
, with size
megabytes.
This function depends on the feature "lvm2". See also feature_available.
Parameters:
this |
A GuestfsSession object |
Returns:
true on success, false on error |