I’m currently discovering Opennebula for testing pupose.
My set-up : an old-good baremetal server (DELL)
I’ve configured my raid controller as usual:
- 2 disks 300 Go raid1
- 4 disks 1 To raid 5
and i installed successfuly Ubuntu 18.04 Server on the 300 Go mirrored disk
After that, i’ve installed Opennnebula, i can login in the GUI with Sunstone.
the command (CLI) onedatastore list returns:
ID NAME SIZE AVAIL CLUSTERS IMAGES TYPE DS TM STAT
0 system - - 0 0 sys - ssh on
1 default 135.8G 87% 0 0 img fs ssh on
2 files 135.8G 87% 0 0 fil fs ssh on
After that, i’ve created a 4.4 To partition (/dev/sdc1) and i’ve mount it in /storage folderas showed below:
Filesystem Size Used Avail Use% Mounted on
udev 111G 0 111G 0% /dev
tmpfs 23G 2.3M 23G 1% /run
/dev/mapper/ubuntu–vg-ubuntu–lv 136G 12G 118G 9% /
tmpfs 111G 0 111G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 111G 0 111G 0% /sys/fs/cgroup
/dev/sdb2 976M 145M 765M 16% /boot
/dev/sdc1 4.4T 89M 4.2T 1% /storage
tmpfs 23G 0 23G 0% /run/user/1000
Is there a way to change the path from /var/lib/one/datastore to /storage ?
if not, how can I create a new datastore ID (ex: 100) inside /var/lib/one/datastore targeting /storage
Or maybe, it’s not the right way to go about it.
Thanks for your help.