Hyper-v Snapshot compact issue
Hello All,
I have Hyper-v machine with three snapshot. All the snapshot size around 200GB. The total this Hyper-v machine size 800GB and physical HDD size 1TB. Now i need to delete the hyper-v snapshot and run the compact as because of Hyper-v HDD issue. But i cannot
run the delete snapshot due to Physical HDD size issue. Is their any way to delete snapshot on existing HDD size.
Please suggest
Hi ,
I agree with BrianEh .
Please delete the snapshot directly for merging , hope the following article is helpful :
http://technet.microsoft.com/en-us/library/dd560637(v=WS.10).aspx
Best Regards
Elton Ji
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.
Similar Messages
-
Hello All,
I had one Hyper-V VM in that i took 5-6 snapshot's (Weekly). Due to this my physical HDD space is increased. So, i have deleted 2 snapshots and deleted some .avhd's.
After this process i have logged into the VM and found one drive was missing. Did checked the snapshot settings->IDE Controller-> Inspect-> "The differencing chain is broken." I lost all the files, but i have rebuilt the server from backup
data's.
Now i have 3 snapshots and one running vm, suppose if i delete the snapshot's it will merge to parent disk ?
Also please find below, in my 1st snapshot(12/14/2013) i have 3 .vhd's , in my 2nd snapshot (4/17/2014) i have 3 .avhd's , in my 3rd snapshot (4/18/2014) i have 2 .avhd's and in my running vm i have 3 .avhd's.
Time Office Virtual Machine – (12/14/2013 – 3:05.54 PM), it has 3 .vhd drives mapped.
(Backup Drive.vhd,
Time Office Virtual Machine.vhd,
D Drive.vhd)
2 Time Office Virtual Machine – (4/17/2014 – 9:32:30 AM), it has 3 .vhd drives mapped)
(BackUp Drive_154CE002-11AD-4112-A951-9782E04C79E2.avhd,
Time Office Virtual Machine_D6A28FAE-8890-4B0A-9DC8-EA38DD782DC8.avhd,
D Drive_3E797CBA-FB64-42E1-A728-BAB6A7998153.avhd)
3 Time Office Virtual Machine – (4/18/2014 – 11:23:23 AM), it has 2 .vhd drives mapped)
(BackUp Drive_5EEA291E-1336-4C3D-A9B0-7E9DFF4776BE.avhd,
Time Office Virtual Machine_CDFA9194-0BDF-4659-8FF4-1B1692E7E0BB.avhd)
4 Now, Running Virtual Machine, it has 3 .vhd drives mapped)
(BackUp Drive_A5343054-3B38-49B1-8716-34FBD60AAC4D.avhd,
Time Office Virtual Machine_415E3759-F7AE-4F7E-9084-F30F13DED681.avhd,
D Drive.vhd)
Can anyone tell me which one is best method to merge the snapshots, because in one snapshot i have 2 .avhd and in another i have 3 .avhd .
Please guide me.
Thanks,
SankarHyper-V 6.1 = 2008 R2 (if I recall my versions properly)
When a snapshot is taken all virtual disks attached to the VM end up with a new AVHD attached to them.
You should only manually merge in a panic, no other way, situation.
The problem that you now have is, you manually deleted a snapshot disk instead of allowing Hyper-V to manage it for you (by shutting down the VM).
Thus you describe another snapshot disk that is now an orphan, because you deleted its parent.
You have not answered if you have powered off the VM to allow Hyper-V to perform the merge that it can.
You have not stated if there is a backup where you can recover the deleted AVHD.
If you have deleted all snapshots from the VM - power it off an let Hyper-V merge what it can and recover space. There will be events in the event logs that identify the missing AVHD and corresponding failures.
You can manually merge -
http://itproctology.blogspot.com/2008/06/how-to-manually-merge-hyper-v-snapshots.html
Read the entire article, all comments too.
Please be aware, that you have lost data. How that impacts your VM is unknown, what change has been lost is unknown.
Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat.
Disclaimer: Attempting change is of your own free will. -
Does SharePoint/Exchange/SQL/AD Support Hyper-V Snapshots?
Hi,
Help, please.
Does SharePoint/Exchange/SQL/Active Directory Support Hyper-V Snapshots?
Thanks in advanced.The short answer is NO.
Snapshot/Checkpoint is a point-in-time VM state including its disks, memory, CPU, system state. It does nothing to quiescence the data prior to taking a snapshot. So, SQL/Exchange/AD may not be consistent.
VSS (volume shadow copy) on the other hand does just that.
See this post for more details.
Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx -
Hyper-V Snapshot Issue on Exchange server
Hyper-v 2008 R2
I have a 2TB host in which I am running 2 VM's
Exchange was a 900gb Fixed disk VM
Terminal server 200gb Fixed.
I was working remotely on my iPhone on the Exchange server (I know, don't ask) when I think I accidentally hit the snapshot button inside of Hyperv Manager.
The user called and said the server stopped working and I quickly realized it unexpectedly rebooted and the Address Book service failed to start automatically. I was trying to navigate my way around on my phone and thats when I think I hit the snapshot button.
I didn't realize this until 2 days later when looking inside my VHDS folder that a new AVHD file was created that was 818gb and timestamped exactly when I was working on it remotely.
The original VHD file was dated 2 days earlier and 825gb
The snapshot is NOT showing up in Hyperv Manager at all so I'm not sure what the best next steps are.
I figured I would first take the VM offline and export it to a another location before doing anything to preserve the Exchange server. I am running a Barracuda so I'm not worried about losing any email as that will trap everything.
I noticed in the settings of Hyperv Manager for Exchange that it is using the AVHD file as the primary file.
Questions
1 - If I take it offline, shouldn't the 2 files merge without me doing anything else? I just wasn't sure since the Snapshot does not show up in SCVMM or Hyperv manager.
2 - I should be able to see this process in SCVMM?
3- How long will it take to merge 800gb? I've seen varying results depending on disk speed, etc.
With an exchange server, this obviously needs to be done delicately without data loss. I assume my statement about the original Exporting of the VM will cover my bases for that?
Thoughts on how to proceed?
Thanks!
JimHyper-V 2008 R2.. This was prior to live merging of snapshots.
What I am guessing is: the snapshot was taken, and in panic the snapshot was deleted.
This means that the VM remains in a snapshotted state, but the snapshot is removed from the GUI. Deleted snapshots do not show up in the GUI, but remain in place until the background merge process happens / is allowed to happen.
The only way for this snapshot to merge is to power off the VM and wait
for the merge to happen.
You can verify this by looking for pending merge events in the Hyper-V event logs ( events -> applications and services -> Microsoft -> Windows -> Hyper-V*
if you want to before scheduling your offline time.
Merge speed depends on the amount of change. You cannot predict it, you can only test to know.
Exporting the VM will keep the disk structure as it is. Taking a snapshot then exporting the snapshot will create a single VHD (but will take just as long as the merge itself if not longer).
I would check the logs for pending merge events (just to confirm, safety), if they exist then schedule some downtime and power off the VM for the duration of your maintenance window and watch for the merge.
Or, don't bother checking for the merge events and just schedule the downtime and power off the VM and wait.
Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat. -
How to recover deleted Hyper-V Snapshot file (.avhd)
Hi all
I am working on Hyper-V virtual machines with server2003r2 installed in. The host machine is server 2008r2. I had taken the snapshot (.avhd file) of each VM (.vhd file). Now the snapshot file of a VM is deleted manually (even
from recycle bin) without remerging and i want to recover it to get the data back.
Can anyone help me in reovering the deleted snapshot (.avhd) file from the host machine??
This will be very appreciated.
Regards
manibestHi,
I understand your current situation, however, this is a data recovery issue instead of a Hyper-V issue. You can try to use some data recovery tool or
send your hard disk to some professional data recovery company if you do have important data need to be recovered.
Personally, I will recommend that you use Recuva, it’s a free tool. I used it recovered thousands of deleted pictures. You can also wait for other
community to share about this.
Best Regards,
Vincent Hu -
Using a Hyper-V VM, I take snapshots of my base image build between major sections (automatic updates, application installation, scripts and extras, etc.) with the intention of being able to go back to that area and look at it for troubleshooting's sake.
Each of these snapshots is manually taken during a pause in my MDT task sequence (using LTISuspend). I would like to be able to roll back to these snaphots make edits to the task sequence (obviously to sections that haven't yet run), then resume and
see the changes implemented - but I don't know where the task sequence file(s) resides on VM being imaged, or if that can be changed after kicking it off at the very start of the build.
Is it possible to replace the task sequence file (and any other necessary files) that are cached locally on the VM during the imaging process? Where are those files located? Or any other way to implement changes to my task sequence so I wouldn't
have to start the image build completely from scratch?
This build takes about 6 hours. Having to make even the slightest modification causes me to lose an entire day, so this would be golden even if I have to manually edit certain files!Hi,
Based on my known, you cannot edit the task sequence after starting the deployment.
However, I suggest you ask this issue in MDT forum for more professional solution:
https://social.technet.microsoft.com/Forums/en-US/home?forum=mdt
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn
from your interaction with us. Thank you for your understanding.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
im configuring hyper-v server which host 5 virtual machines.total capacity nearly 100tb.if i want to run snapshots how do i calculate capacity for the snapshots
samjHi,
If you want to perform some tests or install some updates due to the potential issue, you can take a snapshot before the operation. After the tests,
it is recommend that you remove the snapshots because it will affect the performance of the VMs, especially in a production environment.
By the way, snapshot is not a backup method also, if you want to back up the VMs, please use a regular backup tools instead of snapshots.
Best Regards,
Vincent Hu -
Windows Server 2012 R2 - Hyper-V NIC Teaming Issue
Hi All,
I have cluster windows server 2012 R2 with hyper-v role installed. I have an issue with one of my windows 2012 R2 hyper-v host.
The virtual machine network adapter show status connected but it stop transmit data, so the vm that using that NIC cannot connect to external network.
The virtual machine network adapter using Teamed NIC, with this configuration:
Teaming Mode : Switch Independent
Load Balance Algorithm : Hyper-V Port
NIC Adapter : Broadcom 5720 Quad Port 1Gbps
I already using the latest NIC driver from broadcom.
I found a little trick for this issue by disable one of the teamed NIC, but it will happen again.
Anyone have the same issue with me, and any workaround for this issue?
Please Advise
Thanks,Hi epenx,
Thanks for the information .
Best Regards,
Elton Ji
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
VCB/VADP, ESX 4.1 and NetWare vm snapshot backup issue
Hi!
If you are running Netware as a guest in VMware ESX 4.1 and are using backup
software that uses the snapshot feature to backup the guests vmdk then you
may run into an issue that causes the snapshot to fail. This was just
documented by VMware on Feb 23 (two days ago) so you may have not seen this
yet. Here is the url to the VMware kb:
http://kb.vmware.com/kb/1029749
The fix is to install the older v4.0 vmware tools into the NetWare guest.
Cheers,
RonRon,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://forums.novell.com/ -
VMware to Hyper-V template conversion issue for Windows Server 2008 template
Hello,
I am attempting to convert a Windows server 2k8 template from VMware to Hyper-V. The hosts are Cisco UCS B200 M3 blades running Win2k12 and ESX 5.5 respectively. The template boots successfully in VMware and runs through its post install process without
any issues. When I convert the template to Hyper-V the guest will display the windows splash screen and then I get the error "windows setup could not configure windows to run on this computers hardware”. I attempted to force the OOBE process
by running msoobe.exe from the CLI but got the same error on restart.
The particularly strange thing is that if I boot the syspreped guest in VMware, interrupt the post install process, shutdown the guest, then convert to Hyper-V the guest will boot successfully in Hyper-V. At this point I uninstall the VMware tools, install
the windows virtual guest services, and re-sysprep the guest. Sadly the result is the same, on boot I get "windows setup could not configure windows to run on this computers hardware”. I found http://support.microsoft.com/kb/2466753/en-us but
it references Win2k8R2 specifically. Does anyone have any ideas on how this issue could be manifesting itself
in Win2k8?
As an aside I was able to successfully convert a Win2k8R2 template successfully using the same process, any input on this issue would be greatly appreciated!
Regards,
Toll_Hou5eHi Toll_Hou5e,
As far as I know there don’t have the KB or article mention we can convert the VMware template image to VHD, you can use the MVMC for the virtual machine convert.
I don’t familiar with VMware template but base on my experience, the VMware View Connection template can execute the Windows template image sysprep program, VMware may configured
some system option, you can ask your software vendor for the further help.
More information:
Migrate virtual machines from a VMware environment to Hyper-V in Windows Server 2012 using a free, simple, standalone tool.
http://blogs.technet.com/b/virtualization/archive/2012/09/18/migrate-virtual-machines-from-a-vmware-environment-to-hyper-v-in-windows-server-2012-using-a-free-simple-standalone-tool.aspx
Microsoft Virtual Machine Converter Solution Accelerator
http://www.microsoft.com/en-us/download/details.aspx?id=34591
Step-By-Step: Migrating From VMware to Microsoft Hyper-V Server 2012
http://blogs.technet.com/b/canitpro/archive/2013/03/24/step-by-step-migrating-from-vmware-to-microsoft-hyper-v-server-2012.aspx
I’m glad to be of help to you!
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
ZFS shrink and Storage Array snapshot GUID issues - RFE status
Anyone know where the ZFS team is on the RFE's for:
zpool shrink (vdev evacuate)
Allowing zpool guid changes so that you can import a zpool that has been Cloned/snapshot (ShadowImage, Snapmirror, etc) on the same host
Edited by: 892985 on Oct 24, 2011 11:44 AMThanks, I am running this Areca 1320 in two other machines and this is the first I am encountering the issue. (hopefully its not the adapter). Nothing seems to want to just die anymore.
Anyhow I noticed these three errors:
errors: Permanent errors have been detected in the following files:
<metadata>:<0x14f5d>
<metadata>:<0x14f5e>
<metadata>:<0x14f5f>Any way for me to correct these? This says metadata, so I am guessing it has something to do with the attributes on the file, like compression etc. So how would I identify which zfs attributes are at issue here? If I can get rid of the three errors I can at least get the array out of the degraded state. -
Hi there I've had problems with my z1 compact a number of months. I told the shop about the problem at the start they did nothing niether did the mobile network.
I'm thinking about canceling the payments.
Ive had to restore my phone a number of time and now I've had enough.
I have 14 system restarts in three days along side 2290 applications not responding. The screen freezes and becomes unresponsive.
It now has became very warm at the back.
Tell my my phone is fine?
Regards. Brian.
Solved!
Go to Solution.That's quite interesting, how is it that you had 2290 applications not responding? you actually have 2290 applications on your phone? if you have indeed that insane amount of apps on your phone then it will explain why all those apps are using up all your RAM, thus creating issues with your screen, heating up your phone, reboots.
"I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994) -
Hyper-V snapshots sometimes comes without mounted ISO
Hello, all.
We are running an automated tests with Microsoft Test Manager and SCVMM virtual environments. Recently we started to mount ISO images with file collections on VMs (we used to copy them to VMs from a network share, but it was too slow and caused timeouts and
network share access problems).
ISO images is being mounted via WMI Hyper-V Provider. The images are located in host's local folders (C:\ISO), which are also network shares being synced with "primary" share with DFS.
The problem is: sometimes (I'd say in 1 case from 100) a virtual machine doesn't "see" mounted drive like it's ejected. But Hyper-V Manager shows correct "image file" in the VM's settings. Changing it to "None" and back to the
same image file fixes the problem.
Is it a bug in Hyper-V? We even inserted an additional check: after calling WMI we also run dir D:\ to ensure the image is mounted. And it's there. And then it doesn't...
Any suggestions other than re-mount an image every time it's needed :-) ?Hi,
As the issue is specific with Hyper-V , you may contact Microsoft Hyper-V Forum for further assistance on the issue:
Contact - Microsoft Hyper-V Forum:
http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverhyperv
Please revert for any clarification on this or any Windows issue. We will be glad to help you.
Roger Lu
TechNet Community Support -
HYP 11.1.1 issue
Hi,
we have installed 11.1.1.1 yesterday and we also configured shared services and planning ..etc succesfully.Today when i login to shared services console.i get this error . iwas able to see good yesterday
http 404 error.
Any help
RajeevRajeev,
OK,Don't try to start the servers( i mean managed ones) from the web logic console . I have seen this and in our case we were able to resolve by restarting services.
Try to restart 'hyp planning ' service from the services.msc , and then refresh the console page . If it changes its status from 'shutdown' to 'running' with health OK , then look at the deployments.Do the same with shared services too.
So, restart the servcices and even it does not work reboot the server ( For windows,it works )
Sandeep Reddy Enti
HCC
http://hyperionconsultancy.com/ -
Hyper-V snapshot for package management?
Greetings,
I have created a Hyper-V Windows 7 VM on my Windows 8.1 PC to use for installing Flexera AdminStudio. The idea is to use this VM to create msi packages. AdminStudio will monitor the install of an application and then create a package based on the system
changes. It is suggested to create a VM to do this so you can always revert back to a fresh image after the package has been created.
I am interested in how to revert back a VM in Hyper-V? I see that there is something called Checkpoint. Will Checkpoint allow me to always revert my VM back to a specific point? (IE after the package has been completed)
Cheers,
Greg
City of VictoriaYes.
A checkpoint is a moment in time that you can return to.
For instance: build your VM os and patch it up. Take a checkpoint. Name this checkpoint 'clean os'. Do all kinds of stupid stuff. Get rid of the stupid stuff by select the Checkpoint 'clean os' and apply it.
At this point the system tosses away all of your 'stupid stuff' and puts you right back to the state of 'clean os'.
Now, you can repeat.
If you delete a checkpoint that means that you don't want to return to that point in time any longer. Under the hood all of your stupid stuff would be merged in and committed for life. There would be no turning back.
Yes, think of checkpoints as a timeline.
Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat.
Maybe you are looking for
-
Safari quits unexpectedly and can't connect to software updates
Hi, can anyone help? have never had any trouble with mac before but today it's been endless! 1. safari quits unexpectedly - takes much longer than usual to open safari then it suddenly quits after about 10 seconds 2. went to software updates but got
-
Variable for Fiscal Year Period in cube "0ECCS_C01" - Urgent
Hi all, I have created a query based on cube "0ECCS_C01". I have restriced the characterstic " Fiscal Year Period" on "Period/Fiscal Year (Single Value Entry, Required)" variable. Output of the query are just 2 numbers : sum of "cumulative value GC"
-
IPad App Store is not working, iPad App Store is not working
My App Store stopped working today!! HELP!!
-
Using the RB_Split feature in Interface Determination
hi, I have a 1:N file to IDOC Scenario where I need to do multi-mapping using RB_Split in Interface Determination instead of using CCBPM. I had done the repository part, but during interface determination, after I select the RB_SPLIT feature, I get "
-
Thread Problem while executing jar
Actually I have one thread working in swing components (type SwingWorker). When I try to run it by pressing a button, it works fine for a minute or 20 seconds, than it shut itself off. When you debug you project in an IDE everything is fine, everythi