Quantcast
Channel: Hyper-V forum
Viewing all 19461 articles
Browse latest View live

VHDX file corrupted

$
0
0

Hi guys,Really need your help on this one.

I have a customer that uses Hyper-V on Windows Server 2012 RTM.

The earlier IT guy (who was fired today) have been running the whole setup on dynamic disks.

One of the disks have 3,5 TB of data, and is therefore a VHDX file.
Today because of the heat the RAID controller reset, and that sadly corrupted the VHDX file.
Almost all of the VM's are dead, but this VHDX file holds ALL of the company data - such as dokuments, pictures, contracts, profiles, homedirs, and so on (you probably get the picture).
To top it all, the (now fired) IT guy didn't really check on the backup jobs - so no backup at all.

This company really needs help. I tried Bing'ing and Googling everything but no help as it is a VHDX and not a VHD file.

Whenever I try to start the machine, all I get is "Attachment 'D:\VHDs\FILESERVER1.vhdx' failed to open because of error: 'The file or directory is corrupted and unreadable.'."

I tried attaching it in disk manager with no luck (it will not open). I read that extending the size with VHDResize could uncorrupt the drive could help (but sadly it does not support VHDX format).

I really need your help here. Please join in with every crazy idea available.. These guys really need help.

The guy that comes up with a solution will not only recieve the credit, but I personally promise you an ice cold beer if you ever get to Denmark..

Or if you live in a country that I will ever visit, I will buy you one in your town.

THANK YOU SO MUCH!!


Microsoft: MCP, MCTS, MCITP: SA, MCITP: EA || CIW: Associate, Security Professional || CompTIA: A+, Server+, Linux+ || Citrix: CCA on XenApp || HP: ASP, ASP:SMB || Astaro: ACA, ACE


CSV volume issues

$
0
0

Hi,

We had network issue in our office and our VMs iscsi CSV volume got corrupted. What I did:

1. Removed CSV volume from the cluster completely.

2. On disk management after reconnecting iscsi volume I found is as foreign.

3. I added foreign disk and tried to mount to some folder. But was not able to access and it asks for format.

4. Can not format as volume has all data and also can not add it to cluster as cluster say no suitable disk available. All I see is:



Is any way we could get CSV back?

Thanks

Hyper-V Server 2016 Live Migration

$
0
0

Hi guys,

Maybe you can help me with this.

Just upgraded my lab from 2012 R2 to 2016 Hyper-V (cluster). I have 2 Hyper-V 2016 HV1/HV2 and 1 management machine M1 (Windows 10). Upgrade was completed with no issues.

Issue: Before upgrade Live migration was working with no issues (i have 1 VM on local HDD on one of the hosts). Now if i want to migrate the VM in question from one host to other one is failling with "No credentials are available in thesecurity package (0x8009030E)" giving the fact that Constrained Delegation is in place. I perform this operation from M1 machine.

I had no issues on Hyper-V 2012 R2. I have latest RSAT.

Tahnk you.

 

Win Svr 2012 R2 30-40% package loss

$
0
0

I ping to HV1 and HV2, always show "Request timed out" and the package loss 30-40%

but i ping the VM, it's normal, no any package loss.

Anyone have this issues?

Hyper-V Switch Vlan Tagging Issue

$
0
0

I'm trying to get vlans set up and I'm having an issue

I am using PFSense Firewall Virtualized in hyper-v

I'm trying to get vlans set up and I'm having an issue
Set up is as follows:
1 PC Running Server 2012 with Hyper-V Enabled with 2 Nic Ports
3 VMs
1 CiscoSG300 10 port small business switch
1 Laptop for testing Ports on Switch

PFSense in Hyper-v VM with 2 Virtual NICs
1 nic is attached to 1 physical nic acting as WAN
2nd nic is attached to 2nd physical port acting as LAN


PFSense is set up with 2 vNICs 1 is attached to a vswitch that is attached to 1 physical NIC Actinga s WAN PORT
2nd vNIC is attached to 2nd Hyper V Switch that all the Other VMs are attached to that is also attached to the 2nd Physical NIC Acting as LAN PORT
LAN Port is connected to a Cisco Small Business 10 port Switch


Other VMs
1 With AD,DNS,DHCP(With IP Address Scopes set up for Vlans)
1 For File Server


PFsense is setup as follows:

LAN          10.100.1.1/24
VLAN 2     10.100.2.1/24
VLAN 25   10.100.25.1/24
VLAN 100 10.100.100.1/24
VLAN 150 10.100.150.1/24


VLANS are set up in PFSense and Configured correctly

Ran this command on the Hyper-V Server to set the vNIC for LAN in the PFSENSE VM to Trunk mode and allow the VLAN IDs

Set-VMNetworkAdapterVlan -VMName PFSENSE -Trunk -VMNetworkAdapterName LAN -AllowedVlanidList 1-150 -NativeVlanID 1

VMName  VMNetworkAdapterName Mode     VlanList
------        --------------------           ----     --------
PFSENSE    LAN                              Trunk    1,1-150
PFSENSE    WAN                             Untagged

My Other VMs are set up with the vlan tag turned on and they are working an will pull an ip address and can talk to devices on other Vlans

My issue is the Physical Cicso Switch doesn't seem to be passing traffic

The Switch is Configured as Follows:

10 port switch
Switch IP 10.100.2.200

Port        Mode         VLANID
1            Access         2    Untagged
2            Access         25  Untagged
3            Access         25  Untagged
4            Access        150 Untagged
5            Access        150 Untagged
6            Access        100 Untagged
7            Access        100 Untagged
8            Access        100 Untagged
9            Access         2    Untagged
10          Trunk         1,2,25,100,150 Tagged

Port 10 is connected to the Lan port on the Physical Server witch is attached to the V-Switch that PFsense is attached to but I am unable to get anything to pass to this switch in pfsense I cant even ping the switch 10.100.2.200

Any suggestions on what I have wrong here?


Hyper-V Guest Memory Demand appears to be wrong

$
0
0

I have a hyper-v guest that is displaying an odd behavior.  Both Host and Guest are running 2012 R2 server core.   The guest is a DC/DNS/DHCP/Print server.  Printing is very low volume.  Both host and guest are current on updates, including integration services.  

The guest is configured with Dynamic Memory using the following settings:

Startup: 1024
Minimum: 512
Maximum: 6144
Buffer: 20%

The issue is that the Memory Demand reported by the host doesn't reflect the memory current in use on the guest. Here is an example:
Guest Memory Available: 1.6 GB
Guest Memory Usage:1.6GB (100%)
Host Assigned Memory: 1682MB (1.6GB)
Host Memory Demand: 1446MB (1.4GB)

You will note that I have 6GB available to the the guest, which its not using, and a 20% buffer that its not getting.  It appears to me that the Host is behaving correctly because it thinks the guest is at 85 percent utilization (it ticked up to 1.7GB Assigned shortly after this reading).  What I can't figure out is why the host thinks this guest is using less than it is.  What is also interesting is that it seems to scale with increased memory.

Any ideas?

 


Joshua Shaw

Live Migration Network Drop

$
0
0

I'm running a Hyper-V cluster(2016 TP5) and my Microsoft VMs are reporting event ID 14, task category 1003.  Event text is "Miniport NIC 'Microsoft Hyper-V Network Adapter' network has changed."  This is logged in the VM every time I live migrate to a different Hyper-V host.  I'm RDP'ed in to the VM when it live migrates, and I don't lose my connection.  However, some of my apps are very sensitive and lose their connection during the live migration.  So, I have two questions.

1) Is this event normal for a live migration?  It's only informational, so I'm assuming it's normal.

2) Is anyone running any type of sensitive app(database or live stream of data) and seeing an impact to their applications from this?  I have had to turn off Dynamic Optimization because of the hit the apps will take.


EDIT: It looks like one missed ping is expected based on this thread.  Frustrating, but seems like this is expected behavior and "you should just write better apps".

Visual Studio Emulators for Android doesn't work on Windows 10

$
0
0

Hi,

When I try to start emulator the start task fails, with message like below.

10.08.2015 14:06:01: [Critical] Unable to add user to the Hyper-V Administrators group. Exit code 2220.

I was using it on Windows 8.1 where it worked well on the same PC. This proves that my PC meets all requirements and it is properly configured. After clean install of Windows 10 emulator doesn't work. 

Hyper-V on my PC is running well. I can create and run 32 and 64 bit vm's. There is problem with creating android vm's by vs emulator. There is no group "Hyper-V Administrators" and it can't be created.

Tried these solutions:
http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/09/28/creating-a-hyper-v-administrators-local-group-through-powershell.aspx

http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/01/17/allowing-non-administrators-to-control-hyper-v.aspx

also i tried to recreate InitialStore.xml for Hyper-V with needed group and operations but without success. It seems that hyper-v bundled with windows 10 doesn't require any special group to run, create, manage and remove vm's, switches, etc. Emulator thinks different and it can't assign me to group which does not exists. 


VHDs

$
0
0

Hi there

we are using host server and 4 virtual server

VHDs ON host server seems to be full , only 22 gb space left , how can I increase the space in it.

Thanks

Devan

Hyper-v Network management category changed to "Public"

$
0
0

I recently configured NIC Teaming on a new 2012 r2 Hyper-V server in our environment. From that NIC team 3 virtual converged networks were setup. One of those virtual network adapters is used to manage our Hyper-V Host server.

The issue were experiencing is that the management NIC is being categorized as "public network" instead of a "domain" network. This Host server is joined to the domain and does not have any virtual machines configured yet. Each of the three net adapters were setup with separate VLANs and QOS.

The only time I can get this server to stay in the "Domain" category is if I disable and re-enable the network adapter or if I restart the Network Location Awareness service. The Host will stay in this category until it is rebooted.


newest version broken: cant start a session on an additional screen only!

$
0
0

Way it used to be:

I used to be able to start a hyper-V-vc on my additional screen (1920x1200).
Advantage: when connecting I could "share" guest drive with vc and benefit from higher res.

Since a while now that doesn't work anymore:

I can still start a session and log on to vc and use it BUT:
it always wants to start on main screen (1920x1080)
If I choose connect I can share my drive D with the vc BUT even if I move the vc to the OTHER screen (1920x1200) the vc WILL NOT PICK UP the high resolution, so I'm stuck with a 1920x1080 res on a 1920x1200 screen.
So either I can share D with vc using lower res OR I can use higher res but CANT share D.

I'm running Win10 with Hypoer-V-Manager 10.0.10586

This didn't use to be an issue.

Can somebody explain how to work around this of just repair it in next version?

Thanks


If you don't dig, you won't find it

Blank Setup Screen during 2012R2->2016 Upgrade

$
0
0

Greetings.
Basically making a copy of this thread from another resource, but "when I run the setup wizard after "Making Sure you are ready to install" screen the next screen is empty" (c) Mayank

Did anyone else have the same problem? What's the workaround to this issue? I can't afford complete reinstalling here, since I work remotely.

______
~ ShadowDweller


Live Migration throughput: running vs off

$
0
0

Hi,

I have two hosts who's Live Migration interface (a teamed interface of 2 x 1Gpbs NICs) are directly connected to each other (no switch involved).

If I move a running VM, I see the throughput in Task Manager at around 600 Mpbs.
If I move a turned off VM, I see the throughput in Task Manager at around 1.9-2Gbps

I'm just curious why moving a running VM takes such a hit. Is Hyper-V throttling it on purpose? 

Some observations...

  • I have moved several running VMs and they all transfer with the same 600Mbps throughput.
  • The Load on the server at the time was virtually nil - the transfer was done out of business hours with no other tasks (eg backup) happening
  • The storage in both hosts is RAID10 (8-disk, 15K SAS) so fast enough to saturate a 2Gbps link (as shown above)

Can anyone suggest a reason? If you have a similar setup (teamed LM network) then what are your speeds?

Thanks


Installing Hyper-V 2016 on a USB memory stick

$
0
0

Hi!

I've been using VMware in the past, but I'm currently setting up a 2016 std server, where I'd like Hyper-V 2016 to run on a USB stick. I've heard that this is a good idea, especially when you're trying to preserve disk space.

2012 R2 has a write-up on how to install Hyper-V to a USB memory stick, how about 2016? 

Is it still a good practice?

Which USB drives are recommended? The ones listed from the 2012 R2 article are not available anymore.

Regarding licensing, if I install Hyper-V 2016 on a USB stick, does the Standard license allow me two instances of Server 2016 to run on that hypervisor?

The system has rebooted without cleanly shutting down first (Blue dump)

$
0
0

Hi,

I am receiving blue dump error within every 10-15 days and receiving below error while blue dump.

A problem has been detected and windows has been shut down to prevent damage to your computer
MEMORY_MANAGEMENT

Event ID: 6008,41,1001,1076 appearing while blue dump. 

Windows server 2008 R2 SP1 running on Hyper V guest OS( Windows server 2012 std).


Thanks, Manish


Server 2016 Hyper-V Virtual Machine Always Turns Off

$
0
0

If I try to restart a virtual machine, hyper-v always turns them off instead of rebooting.  I have to use the hyper-v manager to manually start every instance if a restart was issued within the VM.  It does not seem to matter what OS the VM is, it happens with Linux, server 2016 and 2012 R2 instances.

I notice an error:  'VM-****' could not reinitialize. (Virtual machine ID *******-****-****-****-************)

I thought at first it might be permissions but the hyper-v host is in an OU with blocked inheritance.

What might be causing VM's to fail to reinitialize? 

Re-Enable Hyper V Replica

$
0
0

Hi,

I am trying to re-enable hyper v replication but I get an error:-

[Window Title]
Enable Replication

[Main Instruction]
Enabling replication failed.

[Content]
Hyper-V failed to enable replication.

Hyper-V is not in a state to accept replication on the Replica server for virtual machine 'EX2010'.

[Expanded Information]
Hyper-V failed to enable replication for virtual machine 'EX2010': Operation aborted (0x80004004). (Virtual Machine ID F80A330B-9D0A-4CFD-B6B1-B69C023B2D69)

Hyper-V could not replicate changes for virtual machine 'EX2010' as Hyper-V is not in a state to accept replication on the Replica server. (Virtual machine ID F80A330B-9D0A-4CFD-B6B1-B69C023B2D69)

Replication was working great however I wanted to only replicate 2 out of the 3 VHD's for this machine. I removed replication and tried to enable again but this time I deselected the vhd I didn't want and choose "use existing virtual machine on replic server as the initial copy"

Any help would be appreciated.

Thanks,



In-place upgrade of a Server 2012 VM

$
0
0
I have a Hyper-V 2012 Server Core Host. I have several VMs on this host. The VMs are Server 2012. I want to upgrade some VMs to Server 2012 R2. Is this process simply going into the settings of the VM and changing the DVD Drive Image file from vmguest.iso to the .iso of the Server 2012 R2 install...and then starting the VM and selecting the upgrade option?

Moving storage to a new folder but not all drives in the same folder.

$
0
0

Howdy,

We are reorganizing our Cluster Shared Volumes so we can have better redundancy.  We are going to need to move all of our VM's Storage to new folder.  Same Cluster.  Same Host.  Just a different folder.  But we have 100+ VMs we'll need to move

I found this blog that explains the move-vmstorage command but I have a question:
https://blogs.msdn.microsoft.com/taylorb/2012/07/18/performing-storage-migrations-with-move-vmstorage/

Our VMs usually have 3 VHDx files.  C drive, D drive, and Pagefile drive.  What I want to do is move the VM, the main VHDX file, the Pagefile Drive, the snapshots, config files, etc all to one folder.  Except, I want to move the "D drive" to it's own folder.

The blog states how to move individual files but not everything except certain pieces or how to do the snapshots, config filesm etc.

Would it be easiest to do a move-vmstorage to move everything to one folder and then run it again and specify just to move the D drive to its own folder?  Or would it be better to manually specify moving the individual things to the first location and then again to the second?

Does that make sense?

Thanks.

Checkpoint issue

$
0
0

The client has Windows 2008 R2 as Hyper-V host and VM is windows 2003. vhd is located in the C: drive. Since the C drive is low spaces, they shutdown the VM and copied the whole Hyper-v folder to D drive. Re-pointing the vhd file located in D on VM settings. The VM starts, but it doesn't have current SQL data. We found the VM has checkpoint.

Now, shutdown the VM and re-point the vhd back to original location. That doesn't fix the problem. Deleting the checkpoint doesn't fix the problem. I do see the dated 10/13/2016 .avhd file. Then I try to merge .vhd and .avhd. It merges successfully, but still have the same problem. What should I do to fix it?


Bob Lin, MCSE & CNE Networking, Internet, Routing, VPN Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.com

Viewing all 19461 articles
Browse latest View live




Latest Images