Solved

Physical hard disk option in Windows 2008 R2 HyperV

Posted on 2011-03-04
7
648 Views
Last Modified: 2012-05-11
What are the steps to get a physical hard drive recognized as a VHD in a 2008 R2 HyperV VM? What we are trying to accomplish is attaching a real physical drive to a VM.
0
Comment
Question by:lineonecorp
  • 4
  • 3
7 Comments
 
LVL 13

Accepted Solution

by:
Felix Leven earned 300 total points
ID: 35040974
Hyper-V allows virtual machines to access storage mapped directly to the Hyper-V server without requiring the volume be configured. The storage can either be a physical disk internal to the Hyper-V server or it can be a Storage Area Network (SAN) Logical Unit (LUN) mapped to the Hyper-V server. To ensure the Guest has exclusive access to the storage, it must be placed in an Offline state from the Hyper-V server perspective. Additionally, this raw piece of storage is not limited in size so, hypothetically, it can be a multi-terabyte LUN.

Full:
http://blogs.technet.com/b/askcore/archive/2008/10/24/configuring-pass-through-disks-in-hyper-v.aspxhttp://blogs.technet.com/b/askcore/archive/2008/10/24/configuring-pass-through-disks-in-hyper-v.aspx

0
 

Author Comment

by:lineonecorp
ID: 35041014
Thanks for the quick reply. However, I am not sure from my reading of the articles that an existing hard disk with data on it will be recognized - it seems to refer to raw disks. The disk I want to attach is  a working disk and I want to access the data on it.
0
 
LVL 13

Assisted Solution

by:Felix Leven
Felix Leven earned 300 total points
ID: 35041058
Allways good to have a backup :-)
Run DISKPART on the Hyper-V server, identify the disk and mark it offline.  It would then appear in the list of disks that could be installed.
If you also like to boot from the drive, you have to do some more configuration.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 13

Assisted Solution

by:Felix Leven
Felix Leven earned 300 total points
ID: 35067951
By the way, there are limitations when you are using a passthrough disc in Hyoer-V. A fixed VHD is allmost as fast as a passthrough disc.

To read about the backup limitations of  a passthrough disc, please read::
http://blogs.technet.com/b/virtualization/archive/2009/03/03/working-around-the-pass-through-limitations-of-the-hyper-v-vss-writer.aspx
0
 

Author Comment

by:lineonecorp
ID: 35073162
Thanks for the additonal info. Just to be clear, you write:

"Run DISKPART on the Hyper-V server, identify the disk and mark it offline.  It would then appear in the list of disks that could be installed. "

Once I've done this I can view the file folders/file structure on the drive via the Explorer option in Disk Manager?


0
 
LVL 13

Assisted Solution

by:Felix Leven
Felix Leven earned 300 total points
ID: 35073266
No then you can add it to the virtual server and after it you are able to see it in the explorer
0
 

Author Comment

by:lineonecorp
ID: 35073295
Thanks.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now