Author Topic: Virtual machines and storage  (Read 165 times)

JasonWard

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Virtual machines and storage
« on: January 26, 2012, 01:05:11 am »
I need to change the location where Virtual machines are stored.

I have a boot drive with Zentyal installed and a RAID array mounted.

I've created a number of shares on the RAID array already, and now I want to a couple of VM's using the QEMU default that Zentyal uses.

So how do I either direct Zentyal to create them somewhere other than "/var/lib/zentyal/machines/" or how do I make that location point to somewhere on my RAID array?

minos

  • Zen Apprentice
  • *
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Re: Virtual machines and storage
« Reply #1 on: January 27, 2012, 11:38:16 pm »
Not tested yet... but it should work ;)

I think you can use a symbolic link.
you can make a directory in your raid storage to carry your vm's hdd and other stuff (iso...)
and with the command to create a sym link :
sudo ln -s /YourFolderInYourRaid/virtualmachines /var/lib/zentyal/machines