md_detail


Description:

[ Version ( since = "1.15.6" ) ]
public HashTable<string,string> md_detail (string md) throws Error

obtain metadata for an MD device

This command exposes the output of 'mdadm -DY &lt;md&gt;'. 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