md_detail
Description:
obtain metadata for an MD device
This command exposes the output of 'mdadm -DY <md>'. The following fields are usually present in the returned hash. Other fields may also be present.
level
The raid level of the MD device.
devices
The number of underlying devices in the MD device.
metadata
The metadata version used.
uuid
The UUID of the MD device.
name
The name of the MD device.
This function depends on the feature "mdadm". See also feature_available.
Parameters:
this |
A GuestfsSession object |
Returns:
a GHashTable of results, or NULL on error |