vgcreate


Description:

[ Version ( since = "0.8" ) ]
public bool vgcreate (string volgroup, string[] physvols) throws Error

create an LVM volume group

This creates an LVM volume group called volgroup from the non-empty list of physical volumes physvols.

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

Parameters:

this

A GuestfsSession object

physvols

an array of strings

Returns:

true on success, false on error