Detecting volume and storagepool and making the ORM instances.