[one-users] Change datastore location

Javier Alvarez javier.alvarez at bsc.es
Mon Aug 6 06:57:13 PDT 2012


This means that is not possible to create a datastore in a different 
place than the default one? However, if I instantiate an image stored 
there, OpenNebula fails because it expects to find it in the customized 
location:

Mon Aug  6 15:40:59 2012 [TM][D]: Message received: LOG E 20 clone: 
Command "cd /data2/OpenNebula/datastores/0/20; cp -r 
../../1/e8aa02fe4e65531ae8cf8aad7d888de6 
/data2/OpenNebula/datastores/0/20/disk.0" failed: cp: cannot stat 
`../../1/e8aa02fe4e65531ae8cf8aad7d888de6': No such file or directory

e8aa02fe4e65531ae8cf8aad7d888de6 is actually in $ONE_LOCATION/var since 
I can't store images in a different place.

Best,

Javi

On 06/08/12 15:18, Daniel Molina wrote:
> Note that changing the DATASTORE_LOCATION will only apply to the
> Hosts, the frontend will keep using the same path
> ('/var/lib/one/datastores')
>
> On 6 August 2012 15:10, Javier Alvarez <javier.alvarez at bsc.es> wrote:
>> Yes, and the value showed at the beginning of oned.log is correct.
>>
>> Thanks
>>
>> Javi
>>
>>
>> On 06/08/12 13:20, Daniel Molina wrote:
>>> Hi Javier,
>>>
>>> On 6 August 2012 12:52, Javier Alvarez <javier.alvarez at bsc.es> wrote:
>>>> Hello,
>>>>
>>>> Is it possible to change the location of the datastores? I have tried
>>>> changing DATASTORE_LOCATION in oned.conf but when I create a new
>>>> datastore
>>>> it is placed in the default location.
>>> Did you restart oned after changing the DATASTORE_LOCATION value?
>>>
>>> Cheers
>>>
>>>> Thanks,
>>>>
>>>> Javi
>>>>
>>>> --
>>>> Javier Álvarez Cid-Fuentes
>>>> Grid Computing and Clusters Group
>>>> Barcelona Supercomputing Center (BSC-CNS)
>>>> Tel. (+34) 93 413 72 46
>>>>
>>>>
>>>> WARNING / LEGAL TEXT: This message is intended only for the use of the
>>>> individual or entity to which it is addressed and may contain
>>>> information which is privileged, confidential, proprietary, or exempt
>>>> from disclosure under applicable law. If you are not the intended
>>>> recipient or the person responsible for delivering the message to the
>>>> intended recipient, you are strictly prohibited from disclosing,
>>>> distributing, copying, or in any way using this message. If you have
>>>> received this communication in error, please notify the sender and
>>>> destroy and delete any copies you may have received.
>>>>
>>>> http://www.bsc.es/disclaimer
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opennebula.org
>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>> --
>> Javier Álvarez Cid-Fuentes
>> Grid Computing and Clusters Group
>> Barcelona Supercomputing Center (BSC-CNS)
>> Tel. (+34) 93 413 72 46
>>
>>
>> WARNING / LEGAL TEXT: This message is intended only for the use of the
>> individual or entity to which it is addressed and may contain
>> information which is privileged, confidential, proprietary, or exempt
>> from disclosure under applicable law. If you are not the intended
>> recipient or the person responsible for delivering the message to the
>> intended recipient, you are strictly prohibited from disclosing,
>> distributing, copying, or in any way using this message. If you have
>> received this communication in error, please notify the sender and
>> destroy and delete any copies you may have received.
>>
>> http://www.bsc.es/disclaimer
>
>


-- 
Javier Álvarez Cid-Fuentes
Grid Computing and Clusters Group
Barcelona Supercomputing Center (BSC-CNS)
Tel. (+34) 93 413 72 46


WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer



More information about the Users mailing list