Solved

Remotely accessing MS Hyper-V 2012 Disk Partitions

Posted on 2013-06-14
7
1,009 Views
Last Modified: 2014-11-12
Hi,

I've installed Microsoft Hyper-V 2012 on a Physical Server, the Server is up and running and I can manage the Server and Hyper-V from the Server Manager on my other Full Version of Server 2012 running on another Physical Server.

Question:

I now have a 1.5 TB ReFS Partition setup as the d: drive on the Hyper-V 2012 Server and I want to move existing .VHD Files from another 2008 R2 Server that is running Hyper-V (so effectively I want to move my virtual Servers from the old 2008 R2 Server to the new Hyper-V 2012 Server).

How do I access the 1.5. partition from my 2008 R2 server?

They are both on our AD Domain, I can Remote Desktop to the Hyper-V 2012 Server, I can remotely manage it from my other 2012 Full version Server, but for the heck if me I cannot "browse" to it's c: drive or d: drive from any of the Servers (start -> run \\<server-ip> simply tells me it cannot access the Server) - there must be a trick to this and I've GOOGLE'd it and cannot find the answer :)

Thanks for advice.

Regards,
Reinhard
0
Comment
Question by:ReinhardRensburg
[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 11

Expert Comment

by:Pradeep Dubey
ID: 39247286
Seems you are getting this error because of ReFS. Try accessing 2k8 R2 from the 2k12 server and copy files.
0
 

Author Comment

by:ReinhardRensburg
ID: 39247298
The c: drive on the Hyper-V 2012 Server is normal NTFS, but as mentioned, if one goes "Start -> Run -> \\<hyper-v 2012 server ip> it comes back with an error that it cannot access it at all (almost like file and print sharing is not support or not enabled or blocked on the hyper-v 2012 Server).

Yes, I can go onto the Hyper-V 2012 Server's Desktop (that's only got a command prompt and sconfig - basically very limited GUI) and battle my way through it from there to map a drive back to server 2008 r2 etc... but there must be an easier way, I am sure one can enable what ever needs to be enabled on the Hyper-V 2012 Server in order to access it's c: drive and d: drive nativly from any other Server.

I do also have other 2012 Servers (full O/S with GUI) and from there I am 100% sure access the ReFS partition will also not be a problem at all, just need to know how to access the file system from other Servers.

Thanks,
Reinhard
0
 
LVL 11

Accepted Solution

by:
Pradeep Dubey earned 500 total points
ID: 39247345
Okay, run below command on the 2012 server

dism /online /enable-feature /featurename=FileServices

and

netsh advfirewall firewall set rule group=”File and Printer Sharing” new enable=Yes


It will allow sharing.
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

Author Comment

by:ReinhardRensburg
ID: 39249014
Hi pradeep08_81,

Not one of those two commands wanted to work on the Hyper-V 2012 Server, I had to run the commands from elevated command prompt (and not PowerShell right)?

Command 1:


C:\>dism /online /enable-feature /featurename=FileServices

Deployment Image Servicing and Management tool
Version: 6.2.9200.16384

Image Version: 6.2.9200.16384


Error: 0x800f080c

Feature name FileServices is unknown.
A Windows feature name was not recognized.
Use the /Get-Features option to find the name of the feature in the image and tr
y the command again.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

C:\>

and Command 2:


C:\>netsh advfirewall firewall set rule group="File and Printer Sharing" new ena
ble=Yes

Group cannot be specified with other identification conditions.


C:\>
0
 

Author Comment

by:ReinhardRensburg
ID: 39249050
It seems like the first one should have been the "File Server" Role that is a "child" of "File and iSCSI Services" which falls under the "File And Storage Services" Role. I remotely added this with the Server Manager GUI on my other 2012 Server.


Then the 2nd command to add the exception to the firewall is:

C:\>netsh advfirewall firewall set rule group="File and Printer Sharing" new ena
ble=Yes


Updated 34 rule(s).
Ok.

-----------------------------


I tested it after doing the above and it worked fine, so thanks for putting me on the right track pradeep08_81.
0
 

Author Comment

by:ReinhardRensburg
ID: 39249058
Sorry, just to summarise:

I think there was only one mistake in the initial answer,

dism /online /enable-feature /featurename=FileServices (should be =FileServer I guess)

and

netsh advfirewall firewall set rule group=”File and Printer Sharing” new enable=Yes (100% correct)
0
 
LVL 11

Expert Comment

by:Pradeep Dubey
ID: 39249067
the first command was to add file and sharing feature in 2012 (you have to run in powershell I forgot to write this) you manage to do it from the management console good.

Please accept the answer also. :-)

Thank you!
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

628 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