Adding more than 2 serial ports
Server 2012 R2 Hyper-V with many .avhdx files
Hi everyone,
I have 2012 R2 Hyper V server with 3 VMs running. Everything works great, but for one machine which is Endian Firewall in Virtual hard disks folder I have multiple .avhdx files. These .avhdx filese are created everyday in the time when Windows backup starts and are not deleted. In Hyper-V manager I don't have Checkpoints for that machine, and I'm slowly running out of space on this server. This is production server and I have 100 (for 100 days) .avhdx files for that machine. That particular machine was Shutdowned in meantime but obviously files were not merged/deleted.
How can I delete that avhdx files?
Thank you
greets
Dario
How run Stop-VM without confirmation and without -Force
Stop-VM -Name "VMNAME" -confirm:$falseI receive prompt for confirmation:
Confirm
Hyper-V cannot shut down virtual machine VMNAME because the Shutdown integration service is
unavailable. To avoid potential data loss, you can pause or save the state of the virtual machine.
The
other option is to turn off the virtual machine, but data loss might occur.
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): NBut when I run the script (for example, cron), I do not want any interactive and pause on this team.
I would want that the command returned an error or does not return anything (and later deal with the result of the command), but does not stop the execution of waiting for a input in the console.
And I want an answer "No" to such a request (-Force I understand it gives the answer is always Yes).
Hyper-v unable to create checkpoint
Issue : Unable to create checkpoints on three vm's in Hyper-V manager and backups are failing with error: Failed to create VM recovery snapshot.
OS Name: Microsoft Windows Server 2019 Standard
Tried creating checkpoint on one of the VM,however getting error "the operation cant be performed while the object is in use"
configured and enabled shadow copy on the vm
The backup jobs for all three vm's are getting stored on the D drive (Backup Storage) of backup server
Could you please check if this is a bug or any known issue and help me
swathi
Hyper-V. Cannot share the hard drives with the default (quick create) ubuntu image in enhanced mode.
Hello,
I am struggling to share the disks between my windows 10 and Ubuntu 18.04.3 LTS VM.
I did everything like described in the official article (cannot share link but the title is "
Use local resources on Hyper-V virtual machine with VMConnect")
When I am running:
VMConnect.exe <ServerName> <VMName> /edit
I see that all the drives are checked in the VM remote desktop settings.
but ubuntu: mounted 'shared-drives' disk is completely empty!
Remote Desktop Services are running!
Could you please, point out what else can I check?
Thanks
Event ID 12240 - Cannot open VM attachment - Veeam Backup
Hi all, I apologies for the lengthy post, and any irrelevant information. I'm trying to provide as much information as I can.
I have been asked to log this ticket by Veeam, as they determine it is a Microsoft issue.
We use Veeam Backup and Replication to backup all of our Hyper-V guests.
We also use VeeamONE to report on issues.
Our environment is:
- a standalone physical server running our Veeam software
- two clustered servers with Fibre Channel storage (Cluster Shared Volumes) hosting our VMs (approx. 20 guests VMs)
For the most part, this all runs fine. Occasionally, however, VeeamONE reports the following error:
Description
Fired by event: 12240 Microsoft-Windows-Hyper-V-VMMS
Event description: '': Attachment 'C:\ClusterStorage\ServerName\Virtual Hard Disks\diskname_E40FF910-B414-4DFA-BDC3-BE02ACDCF27A.avhdx' not found. Error: 'The system cannot find the file specified.' (0x80070002). (Virtual machine ID )
Initiated by: DOMAIN\BackupAdmin
Knowledge
Cannot open VM attachment
It happens to random servers, on random dates, so no pattern to the issue.
The AVHDX files that is "not found" is the snapshot file created by Veeam during the Backup process.
Veeam uses an API to take the snapshot, then another one to remove it when the backup is complete.
So, in effect, the error is correct, as the file no longer exists, but why is it being logged, if the API is removing the snapshot correctly, should Windows be able to detect this and not log the error?
My main concern is that this then logs an error with VeeamONE, and makes our reports and KPIs look bad, with all these false reports.
I know that the easy solution is to turn off that Alert, but I would like to catch legitimate issues, not the false positives.
If relevant:
- All servers fully patched and restarted
- Integration services are up to date on most servers (issue happens regardless of version)
Again, I apologies for lengthy post. In summary, my question is: Why does Windows/Hyper-V log that error for a temporary Snapshot disk? Is it a bug in the API call? Is Veeam initiating the API call incorrectly?
PXE boot a vm 1gen with legacy network adaptor win1903 - not working?
Running windows 10 1903 - with hyper-v installed
PXE boot a vm 1 gen with legacy network adaptor - for running windows 7
getting this image - but it boot fine under win10_1809
'
Anyone with a solution for this?
#LnQ¯\_(ツ)_/¯
Microsoft Hyper-V 2016 Server
Slow network speeds on internal network
hi,
we have multiple Hyper-V servers in a cluster.
we have a virtual service that uses internal network switches within hyper v and we are seeing slow performance on this.
to test connectivity i just spun up a basic windows server and added it to the internal network.
when i copy a file using the internal network IP range i barely get about 80MBps per sec (less than 1Gbps).
we have physical networking of 10Gbps and the internal network is showing a status of 10Gbps so i dont understand how the internal network which is purely virtual gets such slow network speed.
hope someone can help me out here.
thanks
Problem installing Microsoft .NET Framework 4.7.2 and 4.8 on Two Physical Windows Server 2012 R2 x64 hosts
Hi all, I'm unable to install 4.72 and 4.8 .NET on the two 2012 R2 x64 Physical servers. Has anyone dealt with a similar issue before and has a solution? - EventData
- System
Hyper-V virtual machine versions after host OS upgrade from Server 2012R2 to 2019
Hi
Looking for advice on how virtual machine versions are handled during a host upgrade from Windows Server 2012r2 to Server 2019. The setup is as follows:
Production Site - 2 x Windows Server 2012 R2 hosts with Hyper-V Cluster
DR Site - 1 x Windows Server 2012 R2 host with Hyper-V configured as replica server.
The customer wish to upgrade the the 2 production hosts from Server 2012R2 to 2019 but leave the DR replica server running on Server 2012R2.
When upgrading the OS to 2019, will the virtual machine versions stay at 5.0 or are they automatically upgraded? Need confirmation on this as if the versions are auto upgraded then the OS would also need upgraded to 2019 to ensure the virtual machines versions are the same.
Thanks in advance
External USB Drive keeps disconnecting periodically
Hi
We have an external 2TB Seagate drive connected directly to a VM (Windows10) running on Hyper V. THe Disk is listed as OFFLINE in the host and the VM detects the drive fine. In the event viewer I can see a bad block error on DR1. These are the only errors relating to disk. I know seagate drives have loads of issues however in a VM where do I start looking. I want to run a chkdsk after backing up the drive contents. Any other ideas to look for? Could be the physical drive is failing.
The dynamic memory balancer could not add memory to the virtual machine Event ID 10020
Anyone knows how to fix this bug?
This happens on alot of our VM's running a 2016 Hyper-V Cluster - hardware is HPE BL460c G9.
"This is expected behavior if the virtual machine is booting" - True dat!
Hyper-V encountered an error trying to access an object...
I've Googled this issue on and off for most of the day, more or less attempting every potential fix in the hope of resolving this issue so that I can move on and deploy a bunch of servers via Docker. I've so far being unsuccessful.
Earlier today I installed Hyper-V. Simple enough (and throughout my attempts to get it to work I've uninstalled, reinstalled, purged and re-imaged OS backups countless times). Then I threw Docker into the mix. Docker complained with the noted error, so during my attempts to resolve it I ended up where I started: a recent OS image and a fresh install of Hyper-V.
When I attempt to use Hyper-V Manager, the issue is highlighted further because most entries within Hyper-V Settings, under Server, such as Virtual Hard Disks, Virtual Machines, NUMA Spanning and Enchanced Session Mode Policy list "Load Failed" as the only item, with the error "There was an error loading the data for this setting." explaining how Hyper-V encountered an error trying to access an object...
The same goes with the Global Network Settings, under Mac Address Range, where "Load Failed" rears its ugly head again. To cap it all, the Hyper-V Quick Create app throws the error the moment it starts.
No matter what I have attempted today, I simply cannot get Hyper-V working, and I've tried every solution Google has thrown at me. Therefore I'd be eternally greatful for any assistance resolving the issue.
Thanks.
avhdx leftover from backup tool - how to merge or delete those files?
I've dome some tests with a 3rd party backup tool for Hyper-V. Unfortunately it does not work as expected. I removed it from the system.
Now I have a differential avhdx and corresponding *vhdx.mrt and *vhdx.rct files sitting around, for each virtual disk.
The avhdx is not visible in the hyper-v GUI as a snapshot (I did not create snapshots), and alsoGet-VMSnapshot will not show it at all (thus Remove-VMSnapshot won't work). I only see them in the filesystem.
That would not bother me so much, but a side effect is that normal snapshots do seem to fail now.
I tried to merge the avhdx into the main vhdx with "manage disk" in the hyper-v GUI, but theID is not matching and I am not sure if and how to proceed. The GUI warns that there might be data loss.
How do I get rid of the .avhdx, .mrt and .rct files? As I mentioned, the usual way to merge snapshots does not seem to work.
Any pointer is very welcome.
Thanks
Dan
Hyper-v could not create virtual switch on window server 2019
hi,
I try to create a External Virtual switch on hyper-v virtual switch manager.
But it failed and shows as below, any idea?
[Window Title]Virtual Switch Manager for DC
[Main Instruction]
Error applying Virtual Switch Properties changes
[Content]
Adding ports to the switch 'New Virtual Switch' failed.
The operation failed because the file was not found.
[Close]
How to interpret Measure-VM cmdlet output
Hi guys,
I went through a number of articles related to the resource metering and VM-Measure cmdlet but still struggling to interpret an output related to disk usage.
For example the one below:
AggregatedAverageNormalizedIOPS is possibly just an average IOPS.
But what about the other three objects? I mean what those values mean in front of each of them?
Thanks.
hyper-v
HPE Gen9 and Gen10 mix in cluster
Hi,
I currently have 2-nodes Hyper-V cluster running on HPE Gen9 hardware. We have 2 new HPE Gen10 servers - can I join these 2 Gen10 server to the existing Gen9 cluster? All 4 servers are running the same Windows Server 2016 Standard version and build.
Thank you
Hyper-V reverse replication fails
Hi,
I setup two hosts with Server 2019 and enabled certificate based replication on both.
Failover between primary and secondary host works fine. However when I reverse the replication I get this error message:
Hyper-V could not replicate changes for virtual machine 'Lubuntu_test' as Hyper-V is not in a state to accept replication on the Replica server.
I have to remove the entire VM on the primary in order to have it succeed. This causes a lot of wasted bandwidth.
Both servers are in a different datacenter. I forwarded port 443 in the firewall.
If I create a new replication from secondary to primary host, it works fine.
What gives?