vg_activate_all


Description:

[ Version ( since = "1.0.26" ) ]
public bool vg_activate_all (bool activate) throws Error

activate or deactivate all volume groups

This command activates or (if activate is false) deactivates all logical volumes in all volume groups.

This command is the same as running "vgchange -a y|n"

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

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error