Hi Guys,

I've an answer... Here's how I did it...

First, I needed kpartx ... so

#apt-get install kpartx

Then setup a loopback device for the raw hdd image

#losetup /dev/loop4 [IMAGE FILE]

#kpartx -a /dev/loop4

This allowed me to mount the various partitions included in the VM. There you can modify the configs, make backups etc.

Thanks,

Hanson


On 06/19/2018 09:31 AM, Hanson Turner wrote:

Hi Sahina,

Thanks for your reply, I can copy the files off without issue. Using either a remote mount gluster, or just use the node and scp the files to where I want them.

I was asking how to/do I mount the VM's disk in a way to be able to pull/modify files that are on the HDD of the VM.

Thanks,

Hason


On 06/19/2018 05:02 AM, Sahina Bose wrote:


On Mon, Jun 18, 2018 at 5:12 PM, Hanson Turner <han...@andrewswireless.net <mailto:han...@andrewswireless.net>> wrote:

    Hi Guys,

    My engine has corrupted, and while waiting for help, I'd like to
    see if I can pull some data off the VM's to re purpose back onto
    dedicated hardware.

    Our setup is/was a gluster based storage system for VM's. The
    gluster data storage I'm assuming is okay, I think the hosted
    engine is hosed, and needs restored, but that's another thread.

    I can copy the raw disk file off of the gluster data domain.
    What's the best way to mount it short of importing it into
    another gluster domain?

    With vmware, we can grab the disk file and move it from server to
    server without issue. You can mount and explore contents with
    workstation.


If you want to copy the image file. you can mount the gluster volume and copy it.
using mount -t glusterfs <gluster-server>:/<volumename> <path-to-mount>


    What do we have available to us for ovirt?

    Thanks,

    _______________________________________________
    Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
    To unsubscribe send an email to users-le...@ovirt.org
    <mailto:users-le...@ovirt.org>
    Privacy Statement: https://www.ovirt.org/site/privacy-policy/
    <https://www.ovirt.org/site/privacy-policy/>
    oVirt Code of Conduct:
    https://www.ovirt.org/community/about/community-guidelines/
    <https://www.ovirt.org/community/about/community-guidelines/>
    List Archives:
    
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2AF5K2JERYH63K25XKA4FFP4QQDZSVWM/
    
<https://lists.ovirt.org/archives/list/users@ovirt.org/message/2AF5K2JERYH63K25XKA4FFP4QQDZSVWM/>




_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5ZBEM7WJ5SGRIQLC53GKZSFXYMEOXLRW/

Reply via email to