[Users] Documentation: Storage Domain conversion from Data Domain to Export Domain

Michael Ayers ayersmj at redhat.com
Tue Oct 30 15:29:42 EDT 2012


Hey All,

 

I ran into this issue myself where I needed to convert a data domain to an
export domain in order to recover virtual guests from a corrupted
ovirt/rhevm instance into a new ovirt/rhevm instance.  This wasn't
documented anywhere that I saw but with the help of Itamar Heim and an
well timed email to the list from Igor Lvovsky last night I was able to do
this and wanted to send to the list a documented procedure for how to
modify the metadata of the data domain prior to import as an export
domain.  This procedure works for both RHEV-M and Ovirt.  Let me know if
you have any questions.

 

Original Data Domain Metadata File

--------------------------------------------------

CLASS=Data

DESCRIPTION=vm-storage

IOOPTIMEOUTSEC=10

LEASERETRIES=3

LEASETIMESEC=60

LOCKPOLICY=

LOCKRENEWALINTERVALSEC=5

MASTER_VERSION=2

POOL_DESCRIPTION=MyPool

POOL_DOMAINS=dd8bc200-6e28-4185-bfe0-f0affb94f283:Active,ddefdf6c-ef68-419
c-9f72-76d27bf7d788:Active,66b3b243-6cc6-465f-b130-6f2cd0b70514:Active

POOL_SPM_ID=2

POOL_SPM_LVER=17

POOL_UUID=a207f052-f4bf-44a3-b637-c6d2020a7c41

REMOTE_PATH=nfsserver:/ovirt/vm-storage

ROLE=Master

SDUUID=66b3b243-6cc6-465f-b130-6f2cd0b70514

TYPE=NFS

VERSION=0

_SHA_CKSUM=009fa538321ac56749669127f43cc754aa59d398

 

 

Diff between Original DD Metadata File and ED Metadata File

--------------------------------------------------

--- metadata-data-storage       2012-10-30 12:24:52.484006958 -0700

+++ metadata-exp-storage        2012-10-30 12:14:59.043807789 -0700

@@ -1,5 +1,5 @@

-CLASS=Data

-DESCRIPTION=vm-storage

+CLASS=Backup

+DESCRIPTION=export-storage

IOOPTIMEOUTSEC=10

LEASERETRIES=3

LEASETIMESEC=60

@@ -7,13 +7,12 @@

LOCKRENEWALINTERVALSEC=5

MASTER_VERSION=2

POOL_DESCRIPTION=MyPool

-POOL_DOMAINS=dd8bc200-6e28-4185-bfe0-f0affb94f283:Active,ddefdf6c-ef68-41
9c-9f72-76d27bf7d788:Active,66b3b243-6cc6-465f-b130-6f2cd0b70514:Active

+POOL_DOMAINS=

POOL_SPM_ID=2

POOL_SPM_LVER=17

-POOL_UUID=a207f052-f4bf-44a3-b637-c6d2020a7c41

-REMOTE_PATH=nfsserver:/ovirt/vm-storage

-ROLE=Master

+POOL_UUID=

+REMOTE_PATH=nfsserver:/ovirt/export-storage

+ROLE=Regular

SDUUID=66b3b243-6cc6-465f-b130-6f2cd0b70514

TYPE=NFS

VERSION=0

-_SHA_CKSUM=009fa538321ac56749669127f43cc754aa59d398

 

Thanks,

 

Michael

-------------------------------------

Michael J. Ayers

Red Hat Inc.

Solutions Architect

e:  <mailto:ayersmj at redhat.com> ayersmj at redhat.com

w:  <http://www.redhat.com/> www.redhat.com

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20121030/4b601cde/attachment-0002.html>


More information about the Users mailing list