Solved

Physical hard disk option in Windows 2008 R2 HyperV

Posted on 2011-03-04
7
656 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

Question has a verified solution.

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

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

734 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