pvcreate


Description:

[ Version ( since = "0.8" ) ]
public bool pvcreate (string device) throws Error

create an LVM physical volume

This creates an LVM physical volume on the named device, where device should usually be a partition name such as /dev/sda1.

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

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error