[one-users] Changing /var/lib/one location

kerryhall . kerryhall at gmail.com
Tue Jun 17 11:51:32 PDT 2014


This seems to have _mostly_ worked. I created a logical volume and mounted
it at /var/lib/one, installed the opennebula packages, and then changed the
ownership to the "oneadmin" user.

However, I have noticed two issues.
1. .ssh was not created. (but all other files appear to have been created
normally afaik)
2. The "system" data store does not report capacity. (but the "files" and
"default" datastores do)

My guess is that when the opennebula packages are installed, there is an
"if statement" being run by the installer that checks to see if the
/var/lib/one directory already exists, and if so, does not do certain
things. (like set up .ssh, perhaps)

Any suggestions would be appreciated!
Kerry


On Tue, Jun 17, 2014 at 11:09 AM, kerryhall . <kerryhall at gmail.com> wrote:

> That's a good idea. Let me give that a try.
>
> Thank you!
> Kerry
>
>
> On Tue, Jun 17, 2014 at 10:21 AM, Alberto Zuin - Liste <
> liste at albertozuin.eu> wrote:
>
>>  Hi,
>> you can mount your partition directly on /var/lib/one or you can bind
>> your mount to /var/lib/one (for ex. mount -o bind /mnt/newpart /var/lib/one)
>> My 2 cents,
>> Alberto
>>
>> Il 17/06/14 18:18, kerryhall . ha scritto:
>>
>>  Hi folks,
>>
>> I was wondering how to change the location of /var/lib/one. I have tried
>> making a symlink from /var/lib/one to a new location before installing the
>> ONE packages, but for some reason generating the ssh key (and possibly
>> other installation steps) failed. My reason for doing so is that I am
>> working with systems that have /var as a separate 10 gig partition, and it
>> is not something I can change.
>>
>>  Thanks!
>>
>>
>> _______________________________________________
>> Users mailing listUsers at lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140617/e8f90b9c/attachment.htm>


More information about the Users mailing list