I have created a LOCALFS Storage Domain and I would like to use the VDSM API to
query the location of this storage on the filesystem. For example, if I created
the storage domain as:
s.createStorageDomain(LOCALFS_DOMAIN, sdUUID, "my local domain", path,
DATA_DOMAIN, 0)
How can I query to receive path back?
Unfortunately what would seem to be the obvious call:
s.getStorageDomainInfo(sd)
{'status': {'message': 'OK', 'code': 0}, 'info': {'uuid':
'24862862-f29b-40a6-8698-976dcfc42023', 'pool':
['dec54678-1c25-4234-9631-c3b7da8b0ef4'], 'lver': 6, 'version': '0', 'role':
'Master', 'remotePath': '', 'spm_id': 1, 'type': 'LOCALFS', 'class': 'Data',
'master_ver': 1, 'name': 'my local domain'}}
does not contain the information. Is it supposed to be in remotePath?
--
Adam Litke <agl(a)us.ibm.com>
IBM Linux Technology Center