How do I find which virtual server is using this vDisk?
Please refer to the Access the MySQL Database in OnApp page for additional details about working with the OnApp database.
If you have the disk identifier, use the following MySQL query to find which virtual server it belongs to:
select id,identifier,label,hostname,booted from virtual_machines where id in (select virtual_machine_id from disks where identifier='asdfasdfasdf12');
Be sure to replace
asdfasdfasdf12 with the relevant disk identifier.
If it returns nothing, check if this vDisk exists:
lvscan | grep <<identifier>>CODE
for Integrated Storage:
onappstore list | grep -A10 <identifier>>CODE
These commands should run on a compute resource with access to the appropriate datastore.