Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Physical hard disk option in Windows 2008 R2 HyperV

Posted on 2011-03-04
7
Medium Priority
?
662 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 1200 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 1200 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
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
LVL 13

Assisted Solution

by:Felix Leven
Felix Leven earned 1200 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 1200 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

877 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