[Users] Import pre-configured storage domain

Hi, What's the procedure for importing a previously-conifgured NFS storage domain? I reinstalled the ovirt-engine recently and wondered what the process is for keeping my preexisting VMs. I've tried using the "Import Domain" feature, but it appears that regardless of whether I provide the full path to the storage domain parent directory or the GUID directory within, I get an error: "There is no storage domain under the specified path. Please check path". I've tried both "host.domain.name:/path/to/export" and "host.domain.name:/path/to/export/dce1cb9f-50ff-4d6d-9681-d901c53da684" to no avail. Thanks, Ian

On 07/18/2012 10:20 PM, Ian Levesque wrote:
Hi,
What's the procedure for importing a previously-conifgured NFS storage domain? I reinstalled the ovirt-engine recently and wondered what the process is for keeping my preexisting VMs.
Do you mean to NFS-based ISO/Export storage domain or NFS Data domain? NFS Data domain can not be imported, only ISO/Export domains can, and if the later is the case - you probably have chosen ISO instead of Export in the UI's drop-down list or vice versa.
I've tried using the "Import Domain" feature, but it appears that regardless of whether I provide the full path to the storage domain parent directory or the GUID directory within, I get an error: "There is no storage domain under the specified path. Please check path". I've tried both "host.domain.name:/path/to/export" and "host.domain.name:/path/to/export/dce1cb9f-50ff-4d6d-9681-d901c53da684" to no avail.
Thanks, Ian
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Thanks, Rami Vaknin, QE @ Red Hat, TLV, IL.

On Jul 18, 2012, at 3:38 PM, Rami Vaknin wrote:
What's the procedure for importing a previously-conifgured NFS storage domain? I reinstalled the ovirt-engine recently and wondered what the process is for keeping my preexisting VMs.
Do you mean to NFS-based ISO/Export storage domain or NFS Data domain?
NFS Data domain can not be imported, only ISO/Export domains can, and if the later is the case - you probably have chosen ISO instead of Export in the UI's drop-down list or vice versa.
Sorry I wasn't clear - I'm trying to import a data domain, where all one's VMs are stored. It just occurred to me that the "Import Domain" only gives me the option to import an "Export" domain. I'm not sure what an Export domain's purpose is, but it's not the default location of VMs. So… is there really no way to re-introduce one's preconfigured VMs to a new ovirt install? Best regards, Ian

On 07/18/2012 10:44 PM, Ian Levesque wrote:
On Jul 18, 2012, at 3:38 PM, Rami Vaknin wrote:
What's the procedure for importing a previously-conifgured NFS storage domain? I reinstalled the ovirt-engine recently and wondered what the process is for keeping my preexisting VMs.
Do you mean to NFS-based ISO/Export storage domain or NFS Data domain?
NFS Data domain can not be imported, only ISO/Export domains can, and if the later is the case - you probably have chosen ISO instead of Export in the UI's drop-down list or vice versa.
Sorry I wasn't clear - I'm trying to import a data domain, where all one's VMs are stored. It just occurred to me that the "Import Domain" only gives me the option to import an "Export" domain. I'm not sure what an Export domain's purpose is, but it's not the default location of VMs. So… is there really no way to re-introduce one's preconfigured VMs to a new ovirt install?
an export domain is a domain you can export and import VMs from. there is currently no API to attach an existing data domain. as a workaround, you can try and change the metadata of the data domain to make it into an export domain, than attach it, and import the VMs from it to another data domain. (yes, we need to allow importing existing data domains)
Best regards, Ian _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
Ian Levesque
-
Itamar Heim
-
Rami Vaknin