Quote From : timothyham November 1, 2024, 7:33 am Hello,
installed virtualizor on a dedicated server with 2x240GB in raid mirror. When i try to add storage i was told i need to add it as
Type: file
path: /dev/md3
Which seems to work as it adds ~200GB storage. However when i then try to create a VM it show me the following error:
Starting Task : 3 Syncing up with Slave Creating VPS : 1 setlocale: No such file or directory /dev/md3/v1001-dd4ybpgnwc9lq5is-wiay9jnveg9xhggb.raw: error while converting raw: Not a directory Errors: Array ( [0] => QEMU : File Convert Error [derr] => Array ( [command] => qemu-img convert -f raw -O raw /var/virtualizor/kvm/centos-7.1-x86_64.img /dev/md3/v1001-dd4ybpgnwc9lq5is-wiay9jnveg9xhggb.raw [output] => Array ( ) [return] => 1 ) [err_create] => QEMU : File Convert Error There was an error in creating the VPS. Click here to reinstall the Virtual Server )
When i read this page at the type file section:
virtualizor.com/wiki/Add_New_Storage#LVM_Based_Storage
it says to create a directory and add that as storage path with QCOW2 file format
"root> mkdir /vms # You can create any path as per your choice."
When i do that and i add it to storage in virtualizor it only shows 20GB diskspace. But on that 20GB diskspace i can create a vm that shows no error. It also says its started but when i try to connect to it through putty it does not allow me to connect.
Any clues what i am doing wrong here?
Since you have RAID 1, you should use LVM-based storage instead of file-based storage.
|