+ Post New Thread
Results 1 to 8 of 8
Thin Client and Virtual Machines Thread, Can I just use vhdx files from a virtual machine, and put them in a new image? in Technical; So, I'm doing some major restructure work with our Hyper-V cluster, to introduce storage redundancy, and as part of that ...
  1. #1

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    18,162
    Thank Post
    522
    Thanked 2,554 Times in 1,982 Posts
    Blog Entries
    24
    Rep Power
    879

    Can I just use vhdx files from a virtual machine, and put them in a new image?

    So, I'm doing some major restructure work with our Hyper-V cluster, to introduce storage redundancy, and as part of that I am needing to basically disassemble it all, and rebuild from scratch.

    The question I have is, I'm thinking, a very simple one but also a very key one. Can I go and grab the VHDX files from all my VMs, and create new guests on my new cluster with the old VHDX as the hard disk?

    I believe the answer is yes, but after having run into issues doing something similar with VirtualBox in the past, I want to check and confirm.

  2. #2
    Marshall_IT's Avatar
    Join Date
    Jul 2011
    Location
    Leeds
    Posts
    605
    Thank Post
    80
    Thanked 86 Times in 70 Posts
    Blog Entries
    1
    Rep Power
    23
    I don't think so.

    They is not a definitive answer, I believe you need to export and then import. This will basically allow you to do the same thing.

    I had a crash of my hyper-v server one and had to do a LOT of work to get the vhds on my new server. These came from 2008 hyper-v. 2012 might be different.

  3. Thanks to Marshall_IT from:

    localzuk (8th April 2014)

  4. #3

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,245
    Thank Post
    882
    Thanked 2,744 Times in 2,318 Posts
    Blog Entries
    11
    Rep Power
    785
    As long as you copy the settings xmls and copy paste in the nessisaries like mac addresses and such you should be alright.

  5. Thanks to SYNACK from:

    localzuk (8th April 2014)

  6. #4


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,464
    Thank Post
    245
    Thanked 2,834 Times in 2,093 Posts
    Rep Power
    816
    Quote Originally Posted by Marshall_IT View Post
    2012 might be different.
    It is slightly different.

    VM's that are exported from Windows Server 2008 or 2008 R2 utilized the version 1 WMI namespace which resulted in an .exp file to represent the exported virtual machine. In Windows Server 2012 we introduced a new WMI namespace (version 2 or root\virtualization\v2) which implemented a much better import/export model Ė allowing you to effectively just copy the virtual machine folder (with the VMís XML configuration file inside it) as well as the VMís VHDs and then import that directly. For Windows Server 2012 we maintained the version 1 WMI namespace which allowed for importing of Windows Server 2008/R2 VMís on 2012.

    In Windows Server 2012 R2 we have removed the old version 1 namespace which means we canít import virtual machines that were exported from Windows Server 2008/R2. (Source)

  7. 2 Thanks to Arthur:

    localzuk (8th April 2014), Marshall_IT (8th April 2014)

  8. #5
    Marshall_IT's Avatar
    Join Date
    Jul 2011
    Location
    Leeds
    Posts
    605
    Thank Post
    80
    Thanked 86 Times in 70 Posts
    Blog Entries
    1
    Rep Power
    23
    @Arthur thanks, that's actual really useful for me right now. I have 2 2008 hosts and a 2012 host. Knowing this I'll need to migrate to 2012 before I can upgrade to R2.

  9. #6
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,995
    Thank Post
    120
    Thanked 286 Times in 263 Posts
    Rep Power
    108
    If you only have the VHD(X) file you can just add it to a new VM but you will need to set the IP address again. I have had to do that a few times. Other ways as described above are more desirable, but it's not the end of the world if have to do it the way you described.

  10. Thanks to ChrisH from:

    localzuk (8th April 2014)

  11. #7

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    18,162
    Thank Post
    522
    Thanked 2,554 Times in 1,982 Posts
    Blog Entries
    24
    Rep Power
    879
    OK, cool. I'll work around exporting the VMs then, to keep things simple. Thanks all.

  12. #8

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    18,162
    Thank Post
    522
    Thanked 2,554 Times in 1,982 Posts
    Blog Entries
    24
    Rep Power
    879
    Well, I've made a start today. I tried out live storage migration first, but it took about 20 minutes to move a 45GB VM. So, I've switched to offline export/import. 45GB now takes about 7 minutes.

    8 servers and 309GB down, 15 servers and 800GB to go.



SHARE:
+ Post New Thread

Similar Threads

  1. Can't open or copy files from WebDav
    By Arcath in forum Mac
    Replies: 0
    Last Post: 19th September 2013, 03:35 PM
  2. Replies: 4
    Last Post: 11th February 2013, 08:45 AM
  3. [WDS] Image from a Virtual Machine
    By jonatkinson in forum O/S Deployment
    Replies: 3
    Last Post: 28th November 2011, 01:52 PM
  4. Can I clear the log files from Exchange?
    By Maj in forum Windows Server 2000/2003
    Replies: 2
    Last Post: 26th July 2011, 03:16 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •