'Gets the information of a given FS.
:param fs_label: Label of the filesystem
:returns: dictionary with FS information
.. code:: python
fs_info={
\'id\': a Logical Unit ID,
\'label\': a Logical Unit name,
\'evs_id\': the ID of the EVS in which the filesystem is created
(not present if there is a single EVS),
\'total_size\': the total size of the FS (in GB),
\'used_size\': the size that is already used (in GB),
\'available_size\': the free space (in GB)'

def get_fs_info(self, fs_label):

    def _convert_size(param):
        size = (float(param) * units.Mi)
        return six.text_type(size)
    fs_info = {}
    single_evs = True
    (id, lbl, evs, t_sz, u_sz, a_sz) = (0, 1, 2, 3, 5, 12)
    (t_sz_unit, u_sz_unit, a_sz_unit) = (4, 6, 13)
    (out, err) = self._run_cmd('df', '-af', fs_label)
    invalid_outs = ['Not    mounted', 'Not    determined', 'not    found']
    for problem in invalid_outs:
        if (problem in out):
            return {}
    if ('EVS' in out):
        single_evs = False
    fs_data = out.split('\n')[3].split()
    fs_info['id'] = fs_data[id]
    fs_info['label'] = fs_data[lbl]
    if (not single_evs):
        fs_info['evs_id'] = fs_data[evs]
    fs_info['total_size'] = (fs_data[t_sz] if (not single_evs) else fs_data[(t_sz - 1)])
    fs_info['used_size'] = (fs_data[u_sz] if (not single_evs) else fs_data[(u_sz - 1)])
    fs_info['available_size'] = (fs_data[a_sz] if (not single_evs) else fs_data[(a_sz - 1)])
    if (not single_evs):
        if (fs_data[t_sz_unit] == 'TB'):
            fs_info['total_size'] = _convert_size(fs_info['total_size'])
        if (fs_data[u_sz_unit] == 'TB'):
            fs_info['used_size'] = _convert_size(fs_info['used_size'])
        if (fs_data[a_sz_unit] == 'TB'):
            fs_info['available_size'] = _convert_size(fs_info['available_size'])
    else:
        if (fs_data[(t_sz_unit - 1)] == 'TB'):
            fs_info['total_size'] = _convert_size(fs_info['total_size'])
        if (fs_data[(u_sz_unit - 1)] == 'TB'):
            fs_info['used_size'] = _convert_size(fs_info['used_size'])
        if (fs_data[(a_sz_unit - 1)] == 'TB'):
            fs_info['available_size'] = _convert_size(fs_info['available_size'])
    fs_info['provisioned_capacity'] = 0
    LOG.debug('File    system    info    of    %(fs)s    (sizes    in    GB):    %(info)s.', {'fs': fs_label, 'info': fs_info})
    return fs_info
