[ovirt-users] Re: Ovirt + Gluster : How do I gain access to the file systems of the VMs

2018-06-19 Thread Roy Golan
On Tue, 19 Jun 2018 at 18:51 Hanson Turner 
wrote:

> 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
>
>
Hi Hanson, also look at http://libguestfs.org/


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  > 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 :/ 
>
>
>> What do we have available to us for ovirt?
>>
>> Thanks,
>>
>> ___
>> 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/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/
>
___
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/UCZO7QL3ZG27DSCYKGMYI7BMB2HNRDJ7/


[ovirt-users] Re: Ovirt + Gluster : How do I gain access to the file systems of the VMs

2018-06-19 Thread Hanson Turner

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 
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 :/ 


What do we have available to us for ovirt?

Thanks,

___
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/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/


[ovirt-users] Re: Ovirt + Gluster : How do I gain access to the file systems of the VMs

2018-06-19 Thread Sahina Bose
On Mon, Jun 18, 2018 at 5:12 PM, Hanson Turner 
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 :/ 


> What do we have available to us for ovirt?
>
> Thanks,
>
> ___
> 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/communit
> y/about/community-guidelines/
> List Archives: https://lists.ovirt.org/archiv
> es/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/JOV4LWTXZD636WD3JHKFUIU76GZBEQLZ/