[Solved] No pool in virtual machine proxmox

Fredware

Cadet
Joined
Jun 5, 2019
Messages
4
Hello,
I installed FreeNas 11.2-U4 in proxmox 5.4.6 VM.

Installer detect ad0 disk.

System boot.

But when I try to create pool, it's empty.

Disk is detected.

Code:
root@freenas[~]# df -h
Filesystem                   Size    Used   Avail Capacity  Mounted on
freenas-boot/ROOT/default     31G    756M     30G     2%    /
devfs                        1.0K    1.0K      0B   100%    /dev
tmpfs                         16G     10M     16G     0%    /etc
tmpfs                        2.0G    8.0K    2.0G     0%    /mnt
tmpfs                        1.3T     24M    1.3T     0%    /var
fdescfs                      1.0K    1.0K      0B   100%    /dev/fd
tmpfs                        1.0G     38M    986M     4%    /var/db/collectd/rrd


Host is Intel NUC6i3SYH.
proxmox is on M.2
FreeNAS VM is on Samsung SSD in ZFS format.
VM is configured with default SCSI controller and SeaBIOS and install in BIOS mode and SATA for disk.

What I can do to use FreeNAS in this configuration?

Thanks
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
What disks or disk controller have you added to the virtual machine?
 

Fredware

Cadet
Joined
Jun 5, 2019
Messages
4
Capture d’écran 2019-06-06 à 11.47.24.png



Capture d’écran 2019-06-06 à 11.48.53.png


Thanks for your help!
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
So it's clear that you haven't added any other disks to the VM, so you cant see any.

FreeNAS really needs direct access to the disk controller to run ZFS properly, so the best option if you want to virtualize it is to pass-through a disk controller with your intended target disks connected to it... FreeNAS will then see the disks attached to the passed-through controller (assuming you have one of those).

If your intention is just to run a test system, creating some new virtual disks and adding them would be fine to get some experience and practice with it, but not storing any data you care about.
 

Fredware

Cadet
Joined
Jun 5, 2019
Messages
4
Hello,
Thanks, it's work.
So I created another SATA disk on ZFS volume in proxmox and add it to VM.

Just last thing, I unable to stop VM FreeNAS, from GUI or by commandline or by proxmox UI. Each time, shutdown not working, VM automatically reboot. Any ideas.

Thanks a lot for your help!
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
So I created another SATA disk on ZFS volume in proxmox and add it to VM.
Just to be sure that you understand, what you are doing there is not good for FreeNAS to run in a production environment and you are at risk of losing your data (it's Ok if you just want to test things).

I don't know of any reason why shutdown wouldn't work... it works fine for me on my 4 boxes (3 physical + 1 virtual on ESXi). Perhaps it's crashing when trying to sync out the disks and the behavior after crash is to reboot.
 

Fredware

Cadet
Joined
Jun 5, 2019
Messages
4
Sure! I understand risk. Just to test FreeNAS in VM rather on PC.

Thanks again for your help!
 
Top