[one-users] Disable unarchiving in datastores
Javier Fontan
jfontan at opennebula.org
Thu Jul 12 03:55:58 PDT 2012
Right now there's no option to disable the unarchive feature of the
downloader but I've just openend a ticket to add it.
http://dev.opennebula.org/issues/1352
Meanwhile you can change the file
/var/lib/one/remotes/datastore/downloader.sh and change the function
--8<------
function get_type
{
command=$1
( $command | head -n 1024 | file -b --mime-type - ) 2>/dev/null
}
------>8--
to
--8<------
function get_type
{
echo "none"
}
------>8--
Make sure you run "onehost sync" so this file is updated in the remote nodes.
On Thu, Jul 12, 2012 at 11:37 AM, Alexander Zinenko <ftynse at gmail.com> wrote:
> Hello!
>
> I'm using OpenNebula with OpenVZ backed implemented by our own driver
> (https://bitbucket.org/gribozavr/opennebula-openvz) as well as I'm trying
> out recently announced dirver by Dariusz Charszik
> (https://github.com/dchrzascik/one-ovz-driver). Since 3.6 version,
> OpenNebula datastore manager tries to unarchive gzipped images before
> placing them into datastore which is no good for OpenVZ because it uses
> targzipped filesystem instead of disk image. Is there any possibility to
> disable this procedure without patching the source?
>
> Best regards,
> Alexander Zinenko,
> Engineer @ High-performance computing center NTUU KPI
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfontan at opennebula.org | @OpenNebula
More information about the Users
mailing list