Physical hard disk option in Windows 2008 R2 HyperV

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.
lineonecorpAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Felix LevenConnect With a Mentor Senior System and DatabaseadministratorCommented:
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
 
lineonecorpAuthor Commented:
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
 
Felix LevenConnect With a Mentor Senior System and DatabaseadministratorCommented:
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
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
Felix LevenConnect With a Mentor Senior System and DatabaseadministratorCommented:
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
 
lineonecorpAuthor Commented:
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
 
Felix LevenConnect With a Mentor Senior System and DatabaseadministratorCommented:
No then you can add it to the virtual server and after it you are able to see it in the explorer
0
 
lineonecorpAuthor Commented:
Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.