Date: Thu, 9 Feb 2017 07:04:46 -0600 From: Rajil Saraswat <rajil.s@gmail.com> To: freebsd-virtualization@freebsd.org Subject: Zvol, Bhyve/Pfsense and config restore Message-ID: <101c40b4-55fe-20ec-6ed0-ff77df9d2618@gmail.com>
next in thread | raw e-mail | index | archive | help
Hello, I am trying to setup a pfsense instance under bhyve. Until now i had a standalone machine for pfsense but it is going away for RMA so i am trying to replace it with a bhyve instance. The /cf/conf/config.xml file needs to be copied over to the bhyve instance. I created the zvol (zfs create -sV 8G "vmpool/os5") and used this zvol in the bhyve vm. To copy the config.xml, i mounted the zvol on the host which worked. But I am unable to list the contents of the zvol. # mount /dev/zvol/vmpool/os5 /mnt/tst #df /dev/zvol/vmpool/os5 8106716 6992 7451188 0% /mnt/tst #ls -la /mnt/tst ls: /mnt/tst: Bad file descriptor How can i access the vm filesystem on the host? Thanks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?101c40b4-55fe-20ec-6ed0-ff77df9d2618>