[ovirt-users] importing existing storage domain

Charles Kozler charles at fixflyer.com
Tue Feb 2 14:30:43 UTC 2016


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 at 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 at 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 at 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 at 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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160202/f96f3146/attachment-0001.html>


More information about the Users mailing list