You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have setup a CentOS 7 VM under FreeNAS 11 U2 with the last version of iohyve (v0.7.9). My VM has the folowing properties:
# iohyve getall builder
Getting builder iohyve properties...
bargs -A_-H_-P
boot 1
con nmdm1
cpu 4
description Wed Jul 5 17:41:54 UTC 2017
fw BHYVE_UEFI.fd
install no
loader uefi
mac_tap1 00:a0:98:a5:f3:87
name builder
os custom
pcidev:1 ahci-hd,/dev/zvol/tank/vdisks/builder-intel
pcidev:2 ahci-hd,/dev/zvol/tank/vdisks/builder-home
persist 1
ram 8G
sectorsize 512
size 20G
tap tap1
template NO
vnc YES
vnc_h 1024
vnc_ip 0.0.0.0
vnc_port 5900
vnc_tablet YES
vnc_w 1280
vnc_wait NO
I installed the OS without problem using a VNC session and it was working for a while but now after a reboot of the machine I can't get the two ZVOL to be mounted in the VM again. Just to be clear:
The 2 ZVOLs do exist and are accessible.
From the VM I got that the two pcidev do no exist (I just have /dev/sda which is the VM main drive) so I don't believe it is a system configuration issue.
Any help is very welcome, thanks!
The text was updated successfully, but these errors were encountered:
I just solved it by reading iohyve's source, the solution might be useful here. For some reason a UEFI VM is not going to boot if the sector size is not passed explicitly to bhyve. I changed the properties to:
# iohyve getall builder
Getting builder iohyve properties...
bargs -A_-H_-P
boot 1
con nmdm1
cpu 4
description Wed Jul 5 17:41:54 UTC 2017
fw BHYVE_UEFI.fd
install no
loader uefi
mac_tap1 00:a0:98:a5:f3:87
name builder
os custom
pcidev:1 ahci-hd,/dev/zvol/tank/vdisks/builder-intel,sectorsize=512
pcidev:2 ahci-hd,/dev/zvol/tank/vdisks/builder-home,sectorsize=512
persist 1
ram 8G
sectorsize 512
size 20G
tap tap1
template NO
vnc YES
vnc_h 1024
vnc_ip 0.0.0.0
vnc_port 5900
vnc_tablet YES
vnc_w 1280
vnc_wait NO
Hi,
I have setup a CentOS 7 VM under FreeNAS 11 U2 with the last version of
iohyve
(v0.7.9). My VM has the folowing properties:I installed the OS without problem using a VNC session and it was working for a while but now after a reboot of the machine I can't get the two ZVOL to be mounted in the VM again. Just to be clear:
Any help is very welcome, thanks!
The text was updated successfully, but these errors were encountered: