Sure, will do Yaniv, thanks! On Tue, Aug 30, 2016 at 9:52 PM, Yaniv Kaul <yk...@redhat.com> wrote:
> Can you please file a bug about this? I assume we could add a vdsm.conf > entry to use a different temp dir. > TIA, > Y. > > On Tue, Aug 30, 2016 at 6:16 PM, Cam Mac <iuco...@gmail.com> wrote: > >> Thanks Jakub. I thought I'd check if there was an official way before >> hacking it. I am going to try to set up a dedicated node running Fedora 23 >> as an import node with loads of disk space since I'll then be able to >> import Win 2012 as well, as hopefully the F23 version of virt-v2v supports >> 2012 (F24 does, but it isn't a supported oVirt node OS version). >> >> Cheers, >> >> Cam >> >> On Tue, Aug 30, 2016 at 2:49 PM, Jakub Niedermertl <jnied...@redhat.com> >> wrote: >> >>> Hi Cam, >>> >>> unfortunately there is no direct support for customizing TMPDIR in >>> engine. It can be solved by calling `virt-v2v` indirectly: >>> >>> # cp /usr/bin/virt-v2v /usr/bin/virt-v2v-original >>> # cat > /usr/bin/virt-v2v <<EOF >>> > #!/usr/bin/sh >>> > env TMPDIR=/path/to/custom/tmp /usr/bin/virt-v2v-original $@ >>> > EOF >>> >>> This solution will only survive till next virt-v2v update. >>> >>> Jakub >>> >>> >>> ----- Original Message ----- >>> >>> > From: "Cam Mac" <iuco...@gmail.com> >>> > To: "users" <users@ovirt.org> >>> > Sent: Thursday, August 25, 2016 5:36:17 PM >>> > Subject: Re: [ovirt-users] change tmp directory when importing VMs >>> >>> > Sorry to reply to my own post, but if the GUI uses virt-v2v, there is a >>> > TMPDIR option in there which defaults to /var/tmp, so my guess is that >>> this >>> > is what sets it, the only question is: how do I do this for the GUI? >>> I've >>> > had a poke around in /etc/ovirt* on the engine host and nodes, but >>> haven't >>> > seen it anywhere. >>> >>> > Cam >>> >>> > On Thu, Aug 25, 2016 at 12:28 PM, Cam Mac < iuco...@gmail.com > wrote: >>> >>> > > Hi, >>> > >>> >>> > > I'm importing VMs in ova format, and the size of the disk images >>> (vmdk) is >>> > > such that it fills up the partition where /var/tmp is located when >>> > > untarring >>> > > the ova. Can this be set to somewhere else? >>> > >>> >>> > > Thanks, >>> > >>> >>> > > Cam >>> > >>> >>> > _______________________________________________ >>> > 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 >> >> >
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users