Hyper-V 2012 Server Core and Physical Disks

vage

2[H]4U
Joined
Jan 10, 2005
Messages
3,038
Sup guys, so I am messing around with some free release candidates I got of Server 2012. One of them is 2012 Hyper-V Server Core, so there is no GUI just powershell, but you can manage the VMs remotely. I have a VM setup, and am trying to add my physical disk which already contains a lot of data that I don't want to move off, I'd just like it available to my VM.

Whenever I try to add a physical disk, the option is greyed out. I have gone through, took the volume offline, taken the disk offline, removed drive letters and labels.

Has anyone had any experience with this, and could give some tips as to why the option may be constantly greyed out?
 
guest is offline when you try to add? SCSI controller used? Disk is offline also for this?

run diskpart check SAN
make sure its offline shared
 
Doesn't Server 2012 let you swap to a GUI installation with a reboot? Could be a good idea to let you check a few things, then reboot back into Core to play with PowerShell more.

Otherwise, what 4saken said. Especially the part about making sure you add to the SCSI controller and not the IDE controller.
 
As far as I can find there is no way to get the GUI on this, its not a regular server, its ONLY Hyper-V. I am definitely trying both SCSI and IDE (only IDE because SCSI isn't working either). Guest is offline, disk is offline. The command diskpart check SAN does not seem to be valid though.
 
Are you trying to control it through the CLI?

Make sure the remote disk services firewall settings are enabled and try administering it from a Win8RP box. Run MMC and select the computer manager addin and connect it to your HV box, should give you the normal disk controls to make sure everything is properly offlined.
 
Is it possible to manage a Hyper-V 2012 Server system from Windows 7? I've tried using MMC and RSAT tools but I'm having difficulty establishing a connection. It could be a (default) firewall rule, but I'm hesitant to assume that.

I don't have a Windows 8 box yet.
 
You can't use the new/advanced features yet like replication or change things like making startup and minimum dynamic memory different from W7 RSAT but it works for basic things
 
Okay, that's what I had expected. Anyone know which firewall rule(s) need to be adjusted before the RSAT / MMC will work? I saw something about using netsh to change the rules, but there's powershell cmdlets for making firewall changes. MS's push toward powershell leads me to believe the netsh method should be deprecated.
 
Been a long time since I used hyper-v server (i.e. not as a role) but I recall something like sconfig could be used for setting up some of the basic features including remote management.
 
$200 buy you the GUI features you get when you buy the FULL OS for $700+ with none of the security issues.

You get all the win that comes with the Core OS....less patch management, less security holes, leaner of resources all for just $200.

For $200 its a no brainer. Or just fudge it via command line and add the Administrative tools to one of your other servers and connect them via MSC or MMC to the core server.
 
I figured out that the rule group I needed to enable is "Windows Remote Management". There were a few other important ones, but that one was the most important. Still working toward establishing an RSAT Hyper-V connection from Win7 to 2012 but I'm getting close.
 
Cute idea for a utility, but the pricetag eliminates the "free" aspect of Hyper-V server. Not unreasonably expensive, though.

There's a free version of VT called 5nine, but I'm not sure if it works on Hyper V 2012.
 
yep 5nine was an earlier build made by VT that worked somewhat well on Server core 2008.
 
Back
Top