Windows server 2008 R2 crashes
Hi, colleagues! Guest server works in a bhyve as WSUS server and has 3 disks. One of this disk (not system) is used as backup disk for an application. I have forgotten about this backup scheduler and disk sometimes become full. And I have figured out that when disk full, virtual machine crashes. Command to run bhyve vm: bhyve -c 3 -p 0:1 -p 1:2 -p 2:3 -s 0,hostbridge -s 3,ahci-hd,/dev/zvol/my_zroot/VM/img/win2008r2/disk0 -s 4,ahci-hd,/dev/zvol/my_zroot/VM/img/win2008r2/disk1 -s 5,ahci-hd,/dev/zvol/my_zroot/VM/img/win2008r2/disk2 -s 6:0,ahci,hd:/dev/zvol/my_zroot/VM/img/win2008r2/disk3 -s 10,virtio-net,tap0 -s 31,lpc -l bootrom,/VM/distro/BHYVE_UEFI.fd -m 6G -H -w windows1 &" -- Vitalic ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"
Re: bhyve - windows7 installation
--- Original message --- From: "Ludovit Koren"Date: 1 March 2018, 11:40:05 > > > Hi, > > on FreeBSD 11.1-STABLE #0 r329013, I was trying to install windows7 > using bhyve. I run the following commands: > > mkdir -p iso-remaster/virtio > /usr/local/bin/7z x > en_windows_7_professional_with_sp1_vl_build_x64_dvd_u_677791.iso > -oiso-remaster > tar xf virtio-win-0.1.141.iso -C iso-remaster/virtio/ > mkisofs -b boot/etfsboot.com -no-emul-boot -c BOOT.CAT -iso-level 4 -J -l -D > -N -joliet-long -relaxed-filenames -v -V "Custom" -udf -boot-info-table > -eltorito-alt-boot -eltorito-platform 0xEF -eltorito-boot > efi/microsoft/boot/efisys_noprompt.bin -no-emul-boot -o > install_windows_w7_professional_x64.iso iso-remaster > > ifconfig bridge0 create > ifconfig bridge0 up > ifconfig tap1 create > ifconfig bridge0 addm em0 addm tap1 > > and I was able to install windows successfully: > > bhyve -S -c 1 -s 0,hostbridge -s > 3,ahci-hd,/dev/zvol/zroot/msw7,sectorsize=512 -s > 4,ahci-cd,install_windows_w7_professional_x64.iso -s 2:0,virtio-net,tap1 -s > 31,lpc -s 29,fbuf,tcp=0.0.0.0:5900,w=1366,h=768,wait -l com1,/dev/nmdm0A -l > com2,/dev/nmdm1A -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -m > 4G -H -w windows7 > > > The windows seems to be working fine. The problem is, I have no working > network interface, nor can I install one. > > I do not know, what I am doing wrong. Any help appreciated. Just download virtio driver from here https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.141-1/ Then add this ISO as ahci-cd to your virtual machine, next from Windows go to the Hardware Manager and update virtio driver for Network Card. -- Vitaly ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"
Re[2]: Migrate from real server to virtual
--- Original message --- From: "Peter Grehan"Date: 27 February 2018, 20:40:52 > > But I think the bigger problem is that this is an MBR disk with Windows 7 > > in it, I > > do not believe that bhyve can run Windows 7 at this time. > > Bhyve has been able to run Win7 since 2015, though x64 only and in > UEFI mode. > Yes, Windows 7 is from the same "brunch" as Windows 2008. And I think my problem is that hardware server has been installed without UEFI, just in Legacy mode. So, in this situation it is unable run this server in Bihyve with UEFI. Am I right? -- Vitaly ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"
Re[2]: Re[2]: Re[2]: Migrate from real server to virtual
--- Original message --- From: "Rodney W. Grimes"Date: 27 February 2018, 09:13:56 > ... > > > > Boot Failed? So windows never started. > > > Your not having a shutdown problem your having a start up failure. > > > > > > What is the output of: > > > file /vm/img/disk1.raw > > > file /VM/distro/null.iso > > > > > > And do you really have /vm and /VM? Or is that a typo? > > > You have not answered these 3 questions > what is output of "file /vm/img/disk1.raw" > what is output of "file /VM/distro/null.iso" > > Is there a possible typo here in your command line??? vm vs VM? This files are present and without typo as I have copied path and filenames via clipboard. Next I will try with sysutils/uefi-edk2-bhyve-csm. -- Vitaly ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"
Re[2]: Re[2]: Migrate from real server to virtual
--- Original message --- From: "Rodney W. Grimes"Date: 26 February 2018, 17:08:06 > > > > ? > > > > --- Original message --- > > From: "Rodney W. Grimes" > > Date: 26 February 2018, 16:17:44 > > > > > > > > Hi, colleagues. > > > > > > > > There is a server running with Windows Server 2008 R2 and I am > > > > attempting launch this server in virtual environment as a back up. But > > > > there is one big problem - I can not shutdown this server. > > > > My first step was creating a VHD image with help of Disk2vhd. Then a > > > > converted this image from VHD to raw image with qemu. > > > > I don't know boot setting of BIOS. > > > > > > > > With this command I am unable to start the server. > > > > > > > > bhyve -c 2 -s 0,hostbridge -s 3,ahci-hd,/vm/img/disk1.raw -s > > > > 4,ahci-cd,/VM/distro/null.iso -s 10,virtio-net,tap1 -s > > > > 20,fbuf,tcp=192.168.0.254:5900,w=800,h=600,wait -s 21,lpc -l > > > > bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -m 6G -H -w > > > > windows2 > > > > > > > > Boot Filed. UEFI Hard Drive > > > > > > > > Any ideas? > > > > > > You mention how you start it, what are you using to try and stop it? > > > > Ctrl+C then bhyvectl --vm windows2 --destroy > > Ok, thats to clean up after a crashed VM, not the way to shutdown > a running system. > > > > Also what version of FreeBSD are you running as a host? > > > > FreeBSD 11.1-STABLE r329364 > > Thanks, wanted to make sure this was a 10.x system. > > > > Are you saying you can not connect to the vnc on 192.168.0.254:5900 > > > and tell windows to shutdown? > > > > I can connect to the 192.168.0.254:5900, but error is displayed: Boot > > Filed. UEFI Hard Drive > > Boot Failed? So windows never started. > Your not having a shutdown problem your having a start up failure. > > What is the output of: > file /vm/img/disk1.raw > file /VM/distro/null.iso > > And do you really have /vm and /VM? Or is that a typo? > > > -- > Rod Grimes rgri...@freebsd.org I said not clear. I can not reboot hardware server for some reason and therefore do not know boot settings: or this is UEFI boot or Legacy. But problem is in inability to boot the virtual server. After I connect via VNC I see this error: Boot Filed. UEFI Hard Drive Without parameter "-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd" bhyve does not start at all with error virtual machine cannot be booted. -- Vitaly ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"
Re[2]: Migrate from real server to virtual
--- Original message --- From: "Rodney W. Grimes"Date: 26 February 2018, 16:17:44 > > Hi, colleagues. > > > > There is a server running with Windows Server 2008 R2 and I am attempting > > launch this server in virtual environment as a back up. But there is one > > big problem - I can not shutdown this server. > > My first step was creating a VHD image with help of Disk2vhd. Then a > > converted this image from VHD to raw image with qemu. > > I don't know boot setting of BIOS. > > > > With this command I am unable to start the server. > > > > bhyve -c 2 -s 0,hostbridge -s 3,ahci-hd,/vm/img/disk1.raw -s > > 4,ahci-cd,/VM/distro/null.iso -s 10,virtio-net,tap1 -s > > 20,fbuf,tcp=192.168.0.254:5900,w=800,h=600,wait -s 21,lpc -l > > bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -m 6G -H -w windows2 > > > > Boot Filed. UEFI Hard Drive > > > > Any ideas? > > You mention how you start it, what are you using to try and stop it? Ctrl+C then bhyvectl --vm windows2 --destroy > Also what version of FreeBSD are you running as a host? FreeBSD 11.1-STABLE r329364 > Are you saying you can not connect to the vnc on 192.168.0.254:5900 > and tell windows to shutdown? I can connect to the 192.168.0.254:5900, but error is displayed: Boot Filed. UEFI Hard Drive > Or are you saying you connect to that vnc and even though you told > windows to shutdown it fails to do so? > > Sorry for all the questions, and no answer, > but it is not clear exactly what your problem is. > > -- > Rod Grimes rgri...@freebsd.org ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"
Migrate from real server to virtual
Hi, colleagues. There is a server running with Windows Server 2008 R2 and I am attempting launch this server in virtual environment as a back up. But there is one big problem - I can not shutdown this server. My first step was creating a VHD image with help of Disk2vhd. Then a converted this image from VHD to raw image with qemu. I don't know boot setting of BIOS. With this command I am unable to start the server. bhyve -c 2 -s 0,hostbridge -s 3,ahci-hd,/vm/img/disk1.raw -s 4,ahci-cd,/VM/distro/null.iso -s 10,virtio-net,tap1 -s 20,fbuf,tcp=192.168.0.254:5900,w=800,h=600,wait -s 21,lpc -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -m 6G -H -w windows2 Boot Filed. UEFI Hard Drive Any ideas? -- Vitaly ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"
Re[2]: Bhyve. Unable install Windows 7/Server 2008R2
Hi, as I said the problem is still here even without ahci-hd device. Below the command: bhyve -c 2 -s 0,hostbridge -s 3,ahci-hd,/dev/zvol/my_zroot/VM/img/win7/disk0 -s 4,ahci-cd,/VM/distro/win7.iso -s 10,virtio-net,tap0 -l bootrom,/VM/distro/BHYVE_UEFI_20160526.fd -m 4G -H -w -s 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,wait -s 31,lpc windows7 And device: root@XXX: zfs get all my_zroot/VM/img/win7/disk0 NAMEPROPERTY VALUE SOURCE my_zroot/VM/img/win7/disk0 type volume - my_zroot/VM/img/win7/disk0 creation Нд лист. 12 15:22 2017 - my_zroot/VM/img/win7/disk0 used 21,3G - my_zroot/VM/img/win7/disk0 available 652G - my_zroot/VM/img/win7/disk0 referenced442M - my_zroot/VM/img/win7/disk0 compressratio 1.00x - my_zroot/VM/img/win7/disk0 reservation none default my_zroot/VM/img/win7/disk0 volsize 20G local my_zroot/VM/img/win7/disk0 volblocksize 4K - my_zroot/VM/img/win7/disk0 checksum on default my_zroot/VM/img/win7/disk0 compression off local my_zroot/VM/img/win7/disk0 readonly off default my_zroot/VM/img/win7/disk0 copies1 default my_zroot/VM/img/win7/disk0 refreservation21,3G local my_zroot/VM/img/win7/disk0 primarycache all default my_zroot/VM/img/win7/disk0 secondarycacheall default my_zroot/VM/img/win7/disk0 usedbysnapshots 0 - my_zroot/VM/img/win7/disk0 usedbydataset 442M - my_zroot/VM/img/win7/disk0 usedbychildren0 - my_zroot/VM/img/win7/disk0 usedbyrefreservation 20,8G - my_zroot/VM/img/win7/disk0 logbias latency default my_zroot/VM/img/win7/disk0 dedup off default my_zroot/VM/img/win7/disk0 mlslabel - my_zroot/VM/img/win7/disk0 sync standard default my_zroot/VM/img/win7/disk0 refcompressratio 1.00x - my_zroot/VM/img/win7/disk0 written 442M - my_zroot/VM/img/win7/disk0 logicalused 438M - my_zroot/VM/img/win7/disk0 logicalreferenced 438M - my_zroot/VM/img/win7/disk0 volmode dev local my_zroot/VM/img/win7/disk0 snapshot_limitnone default my_zroot/VM/img/win7/disk0 snapshot_countnone default my_zroot/VM/img/win7/disk0 redundant_metadataall default --- Original message --- From: "Harry Schmalzbauer" <free...@omnilan.de> Date: 4 December 2017, 15:23:13 > Bezüglich wishmaster's Nachricht vom 04.12.2017 13:32 (localtime): > > Hi, > > > > guys, what happened with bhyve after 11.1-RELEASE. I am unable install > > neither Windows 7 nor Windows Server 2008R2. > > I have attempted with HDD as raw file, ZFS dev - without success. > > > > root@XXX: uname -a > > FreeBSD XXX 11.1-STABLE FreeBSD 11.1-STABLE #0 r325503: Tue Nov 7 13:38:44 > > EET 2017 wishmaster@XXX:/usr/obj/usr/src/sys/MY amd64 > > Since you don't tell us what error you get from the guest setup program, > I can only guess that you are using a ZFS volume with a block size of 8k > (default). > My next guess is that you use BHYVE_UEFI.fd for bootrom. > The latter can't boot from 8k drives, > Make sure you define something like this: > -s 3,virtio-blk,/dev/zvol/hostPool/bhyveVOL/sys/guest1,sectorsize=512/4096 > > If that power guess didn't hit, you need to provide some details (boot > method at very first along with some kind of error description). > > -harry > > ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"
Bhyve. Unable install Windows 7/Server 2008R2
Hi, guys, what happened with bhyve after 11.1-RELEASE. I am unable install neither Windows 7 nor Windows Server 2008R2. I have attempted with HDD as raw file, ZFS dev - without success. root@XXX: uname -a FreeBSD XXX 11.1-STABLE FreeBSD 11.1-STABLE #0 r325503: Tue Nov 7 13:38:44 EET 2017 wishmaster@XXX:/usr/obj/usr/src/sys/MY amd64 Cheers, Vit ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"
Re[2]: Enabling VIMAGE by default for FreeBSD 11?
--- Original message --- From: Alexander V. Chernikov melif...@ipfw.ru Date: 11 October 2014, 23:20:39 On 11 Oct 2014, at 21:58, Craig Rodrigues rodr...@freebsd.org wrote: Hi, What action items are left to enable VIMAGE by default for FreeBSD 11? Are there any tests results showing performance implications on different network-related workloads? https://wiki.freebsd.org/NetworkingPerformanceProject Last item: Add VNET to any of the above as well. Not everyone uses bhyve, so VIMAGE is quite useful when using jails. -- Craig ___ freebsd-...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org ___ freebsd-...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org ___ freebsd-virtualization@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to freebsd-virtualization-unsubscr...@freebsd.org
Re[2]: misc/187665: unable to disable IPFW with VIMAGE
--- Original message --- From: Andrey V. Elsukov a...@freebsd.org Date: 21 March 2014, 10:26:23 Hello, please, check the securelevel in your jail. What value does it have? I use securelevel 2 (in jail only. In host - default), but securelevel does not impact to net.inet.ip.fw.enable at all, because this OID is absent in base system too. This happens only if options VIMAGE present in kernel! Cheers, Vitaliy ___ freebsd-virtualization@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to freebsd-virtualization-unsubscr...@freebsd.org