importing existing storage domain

Say I have backed up a storage domain to another NFS. I now want to restore that backup. What would be the best method to restore all the disk images on that domain? I have tried export domains and importing existing domains but every time it says they are not empty and they "may be from somewhere else". They are in fact from somewhere else but that is somewhat the point of the exercise I am attempting to simulate a restore-from-backup (basically just an rsync of the entire storage domain to an offsite location) and its not going as planned. I have all the VM images and can ensure they are all in tact but ovirt refuses to acknowledge it I have also tried setting up a new storage domain and then copying the backup images directory to the new images directory under the newly established storage domain. ovirt sees the used space go down but does not reference / acknowledge / view any of the data actually there unless it creates it itself How can I restore an rsync backup of a storage domain? I am feeling like there isnt a way to readily do it so if not, how can I restore these backed up images? -- *Charles Kozler* *Vice President, IT Operations* FIX Flyer, LLC 225 Broadway | Suite 1600 | New York, NY 10007 1-888-349-3593 http://www.fixflyer.com <http://fixflyer.com> NOTICE TO RECIPIENT: THIS E-MAIL IS MEANT ONLY FOR THE INTENDED RECIPIENT(S) OF THE TRANSMISSION, AND CONTAINS CONFIDENTIAL INFORMATION WHICH IS PROPRIETARY TO FIX FLYER LLC. ANY UNAUTHORIZED USE, COPYING, DISTRIBUTION, OR DISSEMINATION IS STRICTLY PROHIBITED. ALL RIGHTS TO THIS INFORMATION IS RESERVED BY FIX FLYER LLC. IF YOU ARE NOT THE INTENDED RECIPIENT, PLEASE CONTACT THE SENDER BY REPLY E-MAIL AND PLEASE DELETE THIS E-MAIL FROM YOUR SYSTEM AND DESTROY ANY COPIES.

Hi, Did you try to import the data domain as an existing one to the DC [1]? [1] http://www.ovirt.org/Features/ImportStorageDomain On Tue, Feb 2, 2016 at 3:25 PM, Charles Kozler <charles@fixflyer.com> wrote:
Say I have backed up a storage domain to another NFS. I now want to restore that backup. What would be the best method to restore all the disk images on that domain? I have tried export domains and importing existing domains but every time it says they are not empty and they "may be from somewhere else". They are in fact from somewhere else but that is somewhat the point of the exercise
I am attempting to simulate a restore-from-backup (basically just an rsync of the entire storage domain to an offsite location) and its not going as planned. I have all the VM images and can ensure they are all in tact but ovirt refuses to acknowledge it
I have also tried setting up a new storage domain and then copying the backup images directory to the new images directory under the newly established storage domain. ovirt sees the used space go down but does not reference / acknowledge / view any of the data actually there unless it creates it itself
How can I restore an rsync backup of a storage domain? I am feeling like there isnt a way to readily do it so if not, how can I restore these backed up images?
--
*Charles Kozler* *Vice President, IT Operations*
FIX Flyer, LLC 225 Broadway | Suite 1600 | New York, NY 10007 1-888-349-3593 http://www.fixflyer.com <http://fixflyer.com>
NOTICE TO RECIPIENT: THIS E-MAIL IS MEANT ONLY FOR THE INTENDED RECIPIENT(S) OF THE TRANSMISSION, AND CONTAINS CONFIDENTIAL INFORMATION WHICH IS PROPRIETARY TO FIX FLYER LLC. ANY UNAUTHORIZED USE, COPYING, DISTRIBUTION, OR DISSEMINATION IS STRICTLY PROHIBITED. ALL RIGHTS TO THIS INFORMATION IS RESERVED BY FIX FLYER LLC. IF YOU ARE NOT THE INTENDED RECIPIENT, PLEASE CONTACT THE SENDER BY REPLY E-MAIL AND PLEASE DELETE THIS E-MAIL FROM YOUR SYSTEM AND DESTROY ANY COPIES.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

I did read that but that doc doesnt seem to have any real actionable items. It seems more like a design spec rather than a walkthrough / README or HOWTO on how to recover from a backed up storage domain I tried 'An import screen for NFS Storage Domain' by doing the following : system -> "storage tab" -> import existing domain Below you can see the CLI of the backed up domain [root@node01 t]# ll total 4 drwxr-xr-x. 5 vdsm kvm 4096 Dec 8 10:05 c2ce3235-1e09-46b6-9dcd-3fffd6238879 -rwxr-xr-x. 1 vdsm kvm 0 Feb 1 23:14 __DIRECT_IO_TEST__ [root@njsevcnp01 t]# du -sch ./* | grep G 29G ./c2ce3235-1e09-46b6-9dcd-3fffd6238879 29G total and this is the result I received (before/after) http://imgur.com/a/UvGmr On Tue, Feb 2, 2016 at 9:20 AM, Elad Ben Aharon <ebenahar@redhat.com> wrote:
Hi,
Did you try to import the data domain as an existing one to the DC [1]?
[1] http://www.ovirt.org/Features/ImportStorageDomain
On Tue, Feb 2, 2016 at 3:25 PM, Charles Kozler <charles@fixflyer.com> wrote:
Say I have backed up a storage domain to another NFS. I now want to restore that backup. What would be the best method to restore all the disk images on that domain? I have tried export domains and importing existing domains but every time it says they are not empty and they "may be from somewhere else". They are in fact from somewhere else but that is somewhat the point of the exercise
I am attempting to simulate a restore-from-backup (basically just an rsync of the entire storage domain to an offsite location) and its not going as planned. I have all the VM images and can ensure they are all in tact but ovirt refuses to acknowledge it
I have also tried setting up a new storage domain and then copying the backup images directory to the new images directory under the newly established storage domain. ovirt sees the used space go down but does not reference / acknowledge / view any of the data actually there unless it creates it itself
How can I restore an rsync backup of a storage domain? I am feeling like there isnt a way to readily do it so if not, how can I restore these backed up images?
--
*Charles Kozler* *Vice President, IT Operations*
FIX Flyer, LLC 225 Broadway | Suite 1600 | New York, NY 10007 1-888-349-3593 http://www.fixflyer.com <http://fixflyer.com>
NOTICE TO RECIPIENT: THIS E-MAIL IS MEANT ONLY FOR THE INTENDED RECIPIENT(S) OF THE TRANSMISSION, AND CONTAINS CONFIDENTIAL INFORMATION WHICH IS PROPRIETARY TO FIX FLYER LLC. ANY UNAUTHORIZED USE, COPYING, DISTRIBUTION, OR DISSEMINATION IS STRICTLY PROHIBITED. ALL RIGHTS TO THIS INFORMATION IS RESERVED BY FIX FLYER LLC. IF YOU ARE NOT THE INTENDED RECIPIENT, PLEASE CONTACT THE SENDER BY REPLY E-MAIL AND PLEASE DELETE THIS E-MAIL FROM YOUR SYSTEM AND DESTROY ANY COPIES.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- *Charles Kozler* *Vice President, IT Operations* FIX Flyer, LLC 225 Broadway | Suite 1600 | New York, NY 10007 1-888-349-3593 http://www.fixflyer.com <http://fixflyer.com> NOTICE TO RECIPIENT: THIS E-MAIL IS MEANT ONLY FOR THE INTENDED RECIPIENT(S) OF THE TRANSMISSION, AND CONTAINS CONFIDENTIAL INFORMATION WHICH IS PROPRIETARY TO FIX FLYER LLC. ANY UNAUTHORIZED USE, COPYING, DISTRIBUTION, OR DISSEMINATION IS STRICTLY PROHIBITED. ALL RIGHTS TO THIS INFORMATION IS RESERVED BY FIX FLYER LLC. IF YOU ARE NOT THE INTENDED RECIPIENT, PLEASE CONTACT THE SENDER BY REPLY E-MAIL AND PLEASE DELETE THIS E-MAIL FROM YOUR SYSTEM AND DESTROY ANY COPIES.

This is a multi-part message in MIME format. --------------040905070400050201030004 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit On 2-2-2016 15:30, Charles Kozler wrote:
I did read that but that doc doesnt seem to have any real actionable items. It seems more like a design spec rather than a walkthrough / README or HOWTO on how to recover from a backed up storage domain
I tried 'An import screen for NFS Storage Domain' by doing the following :
system -> "storage tab" -> import existing domain
Below you can see the CLI of the backed up domain
[root@node01 t]# ll total 4 drwxr-xr-x. 5 vdsm kvm 4096 Dec 8 10:05 c2ce3235-1e09-46b6-9dcd-3fffd6238879 -rwxr-xr-x. 1 vdsm kvm 0 Feb 1 23:14 __DIRECT_IO_TEST__ [root@njsevcnp01 t]# du -sch ./* | grep G 29G./c2ce3235-1e09-46b6-9dcd-3fffd6238879 29Gtotal
and this is the result I received (before/after) http://imgur.com/a/UvGmr
What version of oVirt did create this storage domain? and what version are you using to import it? I have imported NFS storage domains multiple times and didn't have problems. oVirt-3.5 or higher should be able to import a storage domain. Joop --------------040905070400050201030004 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=windows-1252" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 2-2-2016 15:30, Charles Kozler wrote:<br> </div> <blockquote cite="mid:CACiW5V+WBerN6Ft5LMuokdtTrkJwTeDc328BDgfR51cZv81ucg@mail.gmail.com" type="cite"> <div dir="ltr">I did read that but that doc doesnt seem to have any real actionable items. It seems more like a design spec rather than a walkthrough / README or HOWTO on how to recover from a backed up storage domain <div><br> </div> <div>I tried 'An import screen for NFS Storage Domain' by doing the following :</div> <div><br> </div> <div>system -> "storage tab" -> import existing domain</div> <div><br> </div> <div>Below you can see the CLI of the backed up domain</div> <div><br> </div> <div> <div>[root@node01 t]# ll</div> <div>total 4</div> <div>drwxr-xr-x. 5 vdsm kvm 4096 Dec 8 10:05 c2ce3235-1e09-46b6-9dcd-3fffd6238879</div> <div>-rwxr-xr-x. 1 vdsm kvm 0 Feb 1 23:14 __DIRECT_IO_TEST__</div> <div>[root@njsevcnp01 t]# du -sch ./* | grep G</div> <div>29G<span class="" style="white-space:pre"> </span>./c2ce3235-1e09-46b6-9dcd-3fffd6238879</div> <div>29G<span class="" style="white-space:pre"> </span>total</div> </div> <div><br> </div> <div><br> </div> <div>and this is the result I received (before/after) <a moz-do-not-send="true" href="http://imgur.com/a/UvGmr"><a class="moz-txt-link-freetext" href="http://imgur.com/a/UvGmr">http://imgur.com/a/UvGmr</a></a> </div> </div> <br> </blockquote> What version of oVirt did create this storage domain? and what version are you using to import it?<br> I have imported NFS storage domains multiple times and didn't have problems. oVirt-3.5 or higher should be able to import a storage domain.<br> <br> Joop<br> <br> </body> </html> --------------040905070400050201030004--

Source was ovirt 3.5. Now using ovirt 3.6 on a new cluster On Feb 2, 2016 12:16 PM, "Joop" <jvdwege@xs4all.nl> wrote:
On 2-2-2016 15:30, Charles Kozler wrote:
I did read that but that doc doesnt seem to have any real actionable items. It seems more like a design spec rather than a walkthrough / README or HOWTO on how to recover from a backed up storage domain
I tried 'An import screen for NFS Storage Domain' by doing the following :
system -> "storage tab" -> import existing domain
Below you can see the CLI of the backed up domain
[root@node01 t]# ll total 4 drwxr-xr-x. 5 vdsm kvm 4096 Dec 8 10:05 c2ce3235-1e09-46b6-9dcd-3fffd6238879 -rwxr-xr-x. 1 vdsm kvm 0 Feb 1 23:14 __DIRECT_IO_TEST__ [root@njsevcnp01 t]# du -sch ./* | grep G 29G ./c2ce3235-1e09-46b6-9dcd-3fffd6238879 29G total
and this is the result I received (before/after) http://imgur.com/a/UvGmr
What version of oVirt did create this storage domain? and what version are you using to import it? I have imported NFS storage domains multiple times and didn't have problems. oVirt-3.5 or higher should be able to import a storage domain.
Joop
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

But to add to that I've tried 3.5 to 3.5 and I received the same issue On Feb 2, 2016 12:29 PM, charles@fixflyer.com wrote:
Source was ovirt 3.5. Now using ovirt 3.6 on a new cluster On Feb 2, 2016 12:16 PM, "Joop" <jvdwege@xs4all.nl> wrote:
On 2-2-2016 15:30, Charles Kozler wrote:
I did read that but that doc doesnt seem to have any real actionable items. It seems more like a design spec rather than a walkthrough / README or HOWTO on how to recover from a backed up storage domain
I tried 'An import screen for NFS Storage Domain' by doing the following :
system -> "storage tab" -> import existing domain
Below you can see the CLI of the backed up domain
[root@node01 t]# ll total 4 drwxr-xr-x. 5 vdsm kvm 4096 Dec 8 10:05 c2ce3235-1e09-46b6-9dcd-3fffd6238879 -rwxr-xr-x. 1 vdsm kvm 0 Feb 1 23:14 __DIRECT_IO_TEST__ [root@njsevcnp01 t]# du -sch ./* | grep G 29G ./c2ce3235-1e09-46b6-9dcd-3fffd6238879 29G total
and this is the result I received (before/after) http://imgur.com/a/UvGmr
What version of oVirt did create this storage domain? and what version are you using to import it? I have imported NFS storage domains multiple times and didn't have problems. oVirt-3.5 or higher should be able to import a storage domain.
Joop
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Can you send VDSM and engine logs ? On Tue, Feb 2, 2016 at 7:29 PM, Charles Kozler <charles@fixflyer.com> wrote:
But to add to that I've tried 3.5 to 3.5 and I received the same issue On Feb 2, 2016 12:29 PM, charles@fixflyer.com wrote:
Source was ovirt 3.5. Now using ovirt 3.6 on a new cluster On Feb 2, 2016 12:16 PM, "Joop" <jvdwege@xs4all.nl> wrote:
On 2-2-2016 15:30, Charles Kozler wrote:
I did read that but that doc doesnt seem to have any real actionable items. It seems more like a design spec rather than a walkthrough / README or HOWTO on how to recover from a backed up storage domain
I tried 'An import screen for NFS Storage Domain' by doing the following :
system -> "storage tab" -> import existing domain
Below you can see the CLI of the backed up domain
[root@node01 t]# ll total 4 drwxr-xr-x. 5 vdsm kvm 4096 Dec 8 10:05 c2ce3235-1e09-46b6-9dcd-3fffd6238879 -rwxr-xr-x. 1 vdsm kvm 0 Feb 1 23:14 __DIRECT_IO_TEST__ [root@njsevcnp01 t]# du -sch ./* | grep G 29G ./c2ce3235-1e09-46b6-9dcd-3fffd6238879 29G total
and this is the result I received (before/after) <http://imgur.com/a/UvGmr>http://imgur.com/a/UvGmr
What version of oVirt did create this storage domain? and what version are you using to import it? I have imported NFS storage domains multiple times and didn't have problems. oVirt-3.5 or higher should be able to import a storage domain.
Joop
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (4)
-
Charles Kozler
-
Elad Ben Aharon
-
Fred Rolland
-
Joop