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

Moving operation Error: Could not get VHD GUID

$
0
0

Hello!

I've posted this issue in Brazilian's fóruns without success. Please, I really need help!

I was moving a VM with several pass-through discs from one server to another (both having the same LUNs attached). I really don't know if the problem is with those disks because me error is about the OS disk which is a VHDX file. The erros message is about (translating):

The migration opration has failed in the origin of the migration

Could not get VHD GUID

The migration operation of the virtual machine "blablabla" has failed on the migration origin "origin-server". (Virtual machine's ID GUIDGUIDGUID-GUID-GUIDGUID-BLAHBLAH)

Migration failure. Could not get VHD GUID (\\destination-server\ORIGN-SERVER,1137784723$\E\hyper-v\virtual hard disks\VM-NAME.vhdx) 

I've already restarted the Hyper-V services on both machines and also have made a test with another VM with less passthrough disks.


Flávio


Disable VHD Sharing (Cannot Create VHD, Sharing Not Supported)

$
0
0

I feel like I must be missing something obvious. I have a single standalone Windows Server 2012 R2 box with Hyper-V installed. I need to host a Linux VM for some tasks that require Linux. When I create the VM and use the wizard to create a VHDX (standard 127GB size, dynamic, default storage location C:\Hyper-V\Virtual Hard Disks). It fails with this message:

The storage where the virtual hard disk is located does not support virtual hard disk sharing.

I have no intention of using VHD sharing, how do I disable this so that I can create a VHD!


Live Migration Failed while Quick Migration is Ok with all mapped drive lost

$
0
0

Hi All

We are continuously receiving event error Event ID 21502 in event viewer, quick migration is working perfectly but Live Migration for those VM who has Virtual Fiber Switch setup is being failed.

Event ID : 21502

Live migration of 'Virtual Machine Win_2012' failed.

Virtual machine migration operation for 'Win_2012' failed at migration destination 'Host2'. (Virtual machine ID 80301667-7C11-4C61-8E32-0D79C4066F3C)

'Win_2012' Synthetic FibreChannel Port: Failed to finish reserving resources with Error 'Unspecified error' (0x80004005). (Virtual machine ID 80301667-7C11-4C61-8E32-0D79C4066F3C)

'Win_2012' Synthetic FibreChannel Port: Failed to finish reserving resources with Error 'Unspecified error' (0x80004005). (Virtual machine ID 80301667-7C11-4C61-8E32-0D79C4066F3C)

Quick solution is awaited with the experts on the above to setup Microsoft Virtualization.

Thanks in Advance

csw5535

export vm from powershell

$
0
0

Hi

I am trying to export VM from my powershell to a shre on server 2008 r2

I run the command from a remote server 2008 r2

My Virtual machine is server 2008 r2 core hyper-v role

the command:

Export-VM -server "hv1" -vm "sql01" -path \\wsus\vhdexport -force -wait

the HV1 server have full control permishon over \\wsus\vhdexport

the error I get:

Test-WMIResult : Attempt to export sql01 to \\wsus\vhdexport failed. Failed to create export directory with error 'Gene
ral access denied error'(0x80070005): sql01 (3B5B2EFD-0B7D-4EF1-BA30-22DBCD78267E)
At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\hyperv\VM.ps1:27 char:113
+                 if ( ($VSMgtSvc.ExportVirtualSystem($VM.__path,($CopyState.Ispresent),$path)    | Test-wmiResult <<<<
  -wait:($wait -or $preserve) -JobWaitText ($lstr_ExportOfVm -f $vm.elementName)`
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Test-WMIResult

Any Idea?

Tanks

Provide a Static IP to non Domain join machine

$
0
0

Hello everyone

I need to give the Static IP address to one of my VM which is Non-Domain joinbut are in the network . The Vm get IP address from the Dhcp server but whenassign the Static IP to that VM it will show "undefined Network" in the Adapter. When domain join the VM it will take Static IP as well as show in the network . so any suggestion .

Both the AD and VM machine are having Server 2012 r2 OS installed .

Regards

Sunny


[Solution] HP printer software on Hyper-V with missing USB support...

$
0
0

All,

I would like to share my (free!) solution for installing software on a Hyper-V guest, when that installer checks for usb support.

My problem was that I tried to install a HP printer and scan driver in a Windows XP guest, running on Windows 8 Hyper-V. The installation failed with a message that no USB hardware and drivers were found and setup could not continue...
Duhhhh, I am trying to install it as a network printer/scanner, you HP morons!

After searching the web, I found various solutions. One of them was installing the Guest OS under VMWare Workstation, install the HP printer software (since VMWare workstation has USB support) and then migrate the VMWare guest to Hyper-V. I thought this was way too much work!

Then I stumbled on the KernelPro usb-over-ethernet solution. I downloaded the free client and installed it on the Windows XP guest under Hyper-V. I did not connect to any usb-over-ethernet server, as I do not have one. However, having the usb-over-ethernet client running, made the HP installer believe the Hyper-V guest had full USB support and happily installed the software.

Here you can find the free download for the KernelPro usb-over-ethernet client:http://www.usb-over-ethernet.com/download.html.

Kind regards,

Erik Cheizoo

excellence & Difference - the art of identity management
http://www.XenD.nl


eXcellence & Difference - We keep your business running

Hyper V + Sofs on same machine

$
0
0

Hey guys.

Last week i saw a presentation over Sofs and Hyper V Clustering.

My thoughts are now, is it supported to run a sofs and hyperv-cluster on the same Hardware?

I have 2 Host Systems which are connected to an iSCSI storage and i was thinking about to use sofs instead of using the iscsi luns for the HyperV Cluster.

What do you guys think?

Philipp

the external drive is not recognized in backup and restore configuration after enabling both enhanced session mode and vinking the external drive in more options!

$
0
0

hi,

I have configured VM  on essentials 2012r2 ,everything is OK  but when I try to configure backup and restore  in dasboard to external drive F:, it sees the external drive under this PC directory   but in the backup configuration it gives an error ,there is no external drive.

I have enabled enhanced session mode policy ,also I have enabled enhanced session mode under users , then I enabled also the external drive in more options after starting VM.  my external drive is 500GB sharkon brand  .  now I don't understand why it not recognize this external drive in backup configuration?

johan


h.david


Poor IO on fixed VHDX disks 2012 R2

$
0
0

I have a 7 node 2012 R2 Hyper-V cluster (failover cluster) with SCVMM.  The backend storage is a Netapp 2040-2, cluster-mode, and I'm using SMB 3.0 for my storage protocol.  The hosts each have 4 1Gb bonded NICs using LACP and TransportPorts.

When I first setup the cluster, I did some testing from the guests and found that I could write to the storage at or near the speed of the network, 4Gb/s (512MB/s).  This last week, applications started performing slowly and I found that I could now write to the storage at only about 30MB/s.

I checked the storage, network, found no problems or bottlenecks.

Finally, I created a VM directly on the hyper-v host which is has not been added as a resource to the failover cluster and was not created via SCVMM.  This VM can write to the same storage (same volume, share, spindles, etc) at almost 4Gb/s.  I can test simultaneously with any VM on any one of my 7 hyper-v hosts and it continues to have excellent IO performance and the VMs inside the cluster continue to have poor IO performance.

I have run packet traces to try to determine if anything could be wrong with the conversation between hyper-v and the storage, but found no issues.


Disk performance 6x slower in HyperV 2012 R2 VM with SSD software and hardware arrays

$
0
0

Hi,

My hyperv runs on 2012 R2, it has two array filled with SSDs

1- raid1 array with two Crucial M400 256GB drives using PCIe Hardware RAID controller

2- Software Storage Space array in parity mode with three 512GB Crucial M400 SSD

Diskmark result on the host, Array 1 exceed 800MB/s read speed and 430 write, array 2 does 1500MB/s Read and 262MB/s write

Diskmark result on the VM (fixed size with gen2 iscsi mode, similar result no matter which array the VHDX is hosted on): 250MB/s read and 174MB/s write

Any idea why such a big difference ?

UPDATE: tried running two indentical VMs from Array 2, and run the test on both at the same time and got identical results ! so it seems like Hyperv is limiting the speed PER VM, what am i missing ?




IOPS capped on a VM within Hyper-V

$
0
0
quick question ... we get 100,000 IOPS once we used SQLIO against a VHDX file . ( let's say disk2.vhdx) 

from inside a VM , we mount the same disk as a secondary disk and run SQLIO against it ; we get about 30,000 IOPS. 

There is no QoS for storage defined yet .. 

Is there any other limit ? we increased VM memory to 64 GB , processor to 8 and never went above 30,000 

VM Network Speed

$
0
0

Hi all

We have Hyper v 2012 r2 Failover Cluster running . When we copy some Gbs file from lets say Host 1 to Virtual Machines resides on Host1 .

Copy starts and network speed down to 0 kbps . VMQ is disable on Physical Network of Hyper V switch.

Please advise.  Below is the output of Checksum Offloading.

Name                           IpIPv4Enabled   TcpIPv4Enabled  TcpIPv6Enabled  UdpIPv4Enabled  UdpIPv6Enabled
----                           -------------   --------------  --------------  --------------  --------------
NIC                           Disabled        RxTxEnabled     RxTxEnabled     RxTxEnabled     RxTxEnabled

Should we disable Checksum Offloading or it is okay ?

Regards

How Can I tell if a VM is fixed or dynamic?

$
0
0

We left some snapshots running to the point that the drive on our 2008 R2 hyper-v server is getting low. I'm going to do the merge this weekend and in reviewing this process I learned that there could be some concerns of the VM growing beyond my availble free space if the VHD was created as a dynamic disk rather than a fixed one. I've checked the disk to see if it's dynamic or fixed, but since it has snapshots it's listed as "differencing disk". Is there any way for me to tell for sure if this was a fixed or dynamic disk?

Beyond that, is what I have read correct? If this is a dynamic disk and I merge the snapshots, is there a concern of the primary VHD growing beyond my free space? The original VHD was 300gb and we have about that much in snapshots and only about 22GB of free space on the host. Thanks!!

Cluster connectivity issue

$
0
0

Hello all, 

I have some issue with my Hyper-V Cluster.

My cluster settings is 2 Dell r620 server with DAS, 1 team of 2 NIC on each server for cluster.

I have some random connectivity issue on host, never the same either host1 or host2.

When it happen, some of my Vms lost connectivity and users can't work properly.

Each time, i move Vms to other node and then i reboot the host then its fine for a while.

Yesterday, its happen again, so i change my teaming settings, from active/active to active/passive then cluster come back.

I suspect a NIC issue, either teaming or something else.

Could you let me know if you get this kind of issue, 

Thanks you so much, 

Yvan

it is giving an error message when I try to make a VHD drive of mine external drive in VM (essentials 2012 r2)

$
0
0

hi,

I try to make  a vhd disk drive of my external hard drive in VM in windows server essentials 2012 r2  but it gives an error  message that it can not been made a vhd file  because of file system limitation.

I searched in google I found that

1- I have to defrag the harddisk I did whitout any result

2- I have to run format FS:/NTFS /all  but it gives that the system using the drive so it can not be run.

how I can solve this problem?

johan


h.david


2008 R2 - Hyper-V: Move storage / VM to Hyper-V Cluster

$
0
0

Hi all,

(For below, all OS is 2008 R2 enterprise)

I currently have an HP P2000 G3 iScsi SAN

VM's are hosted on one standalone HyperV server and on High availability Hyper-v cluster server. Storage is network based via i-scsi.

We recently had to recover our exchange server to a VM and my main problem at the moment is the amount of time it takes to back up the standalone VM. Also, I would like to move as many of the VM's as I can to the cluster. For obvious reasons.

Unfortunately all vDisks on the SAN are nearly fully occupied at the moment. To start with I need to move my Exchange VM to the Cluster. The VM (and VHD files) is located on a 2TB Raid volume on the SAN and the VM data is approx. 1.3 TB. iscsi initiated with a drive letter on the Hyper-v host. Pretty simple.

Cluster already has 2 x VM's hosted and has CSV enabled. 3 x "ClusterStorage Volumes" exists for the current VM's, Live migration works a charm and all redundancy's in place.

Plan would be to Export VM complete from the current Hyper-v onto suitable storage. Then remove the explicit mapping on the SAN to the current Hyper-v, removing the data drive, and then simply add explicit mapping to the 2 x physical nodes of the cluster. Then in cluster manager add Disk and finally add as cluster volume. Easy.

Would like to know:

Will the partition on the affected RAID volume stay intact? AND if so would it be in any way recommended to skip the 'export' of the VM, and rather just create a new VM on the cluster manager with the same settings and just adding the .vhd files as drives on the same virtual ide ports as it was on the old Hyper-v server?

Why?: Because 1) I don't have storage on the SAN with enough space to accommodate the 1.2TB of VM data to export and I will need to export to a USB. Server hardware is HP DL380 G7 with USB 2... Will take forever!

2) Importing on the Cluster, same issue. Time.

3) Seeing as I don't have spare capacity on the SAN, I would have to remove the data partition on the affected raid volume once export is complete. If USB (or whatever...) drive I used fails, OR the import fails, I will be reduced to recovering VM and VHD's from backup. More time.

Any feedback will be greatly appreciated!

Thanks!

Remove resources not in use

$
0
0

Hi. I'd like to know how can I remove unused resources in my VM in Hyper-V. For example, when I create a virtual machine in generation 1, it automatically adds Floppy Drive, COM1 and COM2. But I do not want and need those resources. Those can even cause some problems regarding some operating systems.

Is there a way to remove those resources after the machine is created?

Thank you.

Enable Bitlocker on Hyper-V Server 2012 R2

$
0
0

I have a dell R320 I am trying to enable Bitlocker on but am unable to.

I partition the boot drive and configured the BIOS to use UEFI booting.  I enabled the following TPM BIOS options so I could enable bitlocker.

TPM  - on with Pre-boot measurements

TPM Activation - Active

Intel TXT - on

After though BIOS options were enabled I used the TPM MMC snap-in on a Server 2012 R2 machine with the full GUI installed to prepare the TPM.  Preparing the TPM requires a reboot.  Once the server came back up I ran the command

manage-bde.exe -on C:

When I run that command I receive the error, "The TPM cannot be used to protect this volume. The TPM does not have an owner set.". 

I am not sure what I am missing.  Any assistance would be most helpful.

Thanks,

Joel

Hyper-V-VmSwitch EventID 106

$
0
0

I have Windows Server 2012 with Hyper-V role. There is a network team on the server.

When the server starts I receive a error:

Log Name:      System
Source:        Microsoft-Windows-Hyper-V-VmSwitch
Date:          2/4/2013 2:44:50 PM
Event ID:      106
Task Category: None
Level:         Error
Keywords:     
User:          SYSTEM
Computer:      Seventeen.aqa.com.ru
Description:
Available processor sets of the underlying physical NICs belonging to the LBFO team NIC /DEVICE/{F81E5C50-00B3-4105-9CBB-04919F058B9D} (Friendly Name: Microsoft Network Adapter Multiplexor Driver) on switch 8CBADD0E-F4A3-45D4-AC2D-874C7DE6C821 (Friendly Name: AQA) are not configured correctly. Reason: The processor sets overlap when LBFO is configured with sum-queue mode.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Hyper-V-VmSwitch" Guid="{67DC0D66-3695-47C0-9642-33F76F7BD7AD}" />
    <EventID>106</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2013-02-04T10:44:50.175406400Z" />
    <EventRecordID>11345</EventRecordID>
    <Correlation />
    <Execution ProcessID="4" ThreadID="380" />
    <Channel>System</Channel>
    <Computer>Seventeen.aqa.com.ru</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData>
    <Data Name="NicNameLen">46</Data>
    <Data Name="NicName">/DEVICE/{F81E5C50-00B3-4105-9CBB-04919F058B9D}</Data>
    <Data Name="NicFNameLen">44</Data>
    <Data Name="NicFName">Microsoft Network Adapter Multiplexor Driver</Data>
    <Data Name="SwitchNameLen">36</Data>
    <Data Name="SwitchName">8CBADD0E-F4A3-45D4-AC2D-874C7DE6C821</Data>
    <Data Name="SwitchFNameLen">3</Data>
    <Data Name="SwitchFName">AQA</Data>
    <Data Name="QueueMode">2</Data>
  </EventData>
</Event>

Shared VHDX problems using separate Hyper-V Cluster and SOFS with storage spaces

$
0
0

Hi all

I'm having a hard time troubleshooting an issue with shared VHDX in a VM. I already have have a Hyper-V cluster connected to a SAN using fiberchannel and have no problem using shared VHDX. We created a new compute cluster for Hyper-V and a dedicated scale-out file server using storage spaces (SAS JBOD). Also have RDMA (iWarp) set up between the compute and the storage cluster. Everything looks good here. Have already migrated a bunch of VM's not using shared VHDX and they are running great. 

Though the problem arises when we tried to migrate our virtual cluster over to the new environment. Shared VHDX just will not work. I have done a lot of troubleshooting on this, and have problem nailing down the root cause. So in hopes of anyone here having had the same problem, I write these words. 

I have looked at the cluster filter that handles sharing the disk on the SOFS side. This can be viewed using FLTMC (instances) command. Printing this out one can find the shared vhdx filter named svhdxflt, the intertnal mapped disk, and the altitude number. 

svhdxflt              \Device\HarddiskVolume291                 135100 

This does not seem that strange, even though I have no reference to say if this is correct or not. Can also see the cluster filter use the same mapping.

CsvFlt                \Device\HarddiskVolume291                 40480

So far so good, though when I try to share a vhdx residing on the file share I get the following error in the Hyper-V-shared-vhdx eventlog:

Error reading metadata from Shared VHDX File. File: \\Device\HarddiskVolume291\VMS1\MP-CLn01\TestSharedVHDX.vhdx. Error: The object was not found

The VM can also not access the VHDX disk from inside the OS.

Does anybody have some advice of where I need to look to be able to understand this better?

Thanks

Viewing all 19461 articles
Browse latest View live


Latest Images