Solved

Physical hard disk option in Windows 2008 R2 HyperV

Posted on 2011-03-04
7
644 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

Too many email signature changes to deal with?

Are you constantly being asked to update your organization's email signatures? Do they take up too much of your time? Wouldn't you love to be able to manage all signatures from one central location, easily design them and deploy them quickly to users. Well, you can!

Join & Write a Comment

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…

707 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

13 Experts available now in Live!

Get 1:1 Help Now