vgmeta
Description:
[ CCode ( array_length_pos = 1.1 , array_length_type = "gsize" ) ]
[ Version ( since = "1.17.20" ) ]
public uint8[] vgmeta (string vgname) throws Error
[ Version ( since = "1.17.20" ) ]
public uint8[] vgmeta (string vgname) throws Error
get volume group metadata
vgname
is an LVM volume group. This command examines the volume group and returns its metadata.
Note that the metadata is an internal structure used by LVM, subject to change at any time, and is provided for information only.
This function depends on the feature "lvm2". See also feature_available.
Parameters:
this |
A GuestfsSession object |
size_r |
The size of the returned buffer, in bytes |
Returns:
an array of binary data, or NULL on error |