How to Register SMB 3.0 Shares in SCVMM 2012 SP1 Beta


In my last blog http://blogs.technet.com/b/trentsh/archive/2012/08/31/server-2012-optimizing-smb-shares-for-hyper-v.aspx I described how to setup SMB 3.0 shares in Windows server 2012 optimized for hyper-v. In this blog I will describe how we can present these shares to hyper-v hosts in SCVMM 2012 SP1. If you don't perform these steps and try to deploy a VM where the parent VHD lives on a SMB share you will receive this error:

Error (13931)
The file \\server801\SCVMMLibrary\VHDs\ENUW2K8R2EESP1X64.vhd is in a share which is not registered to the host server802.contoso.com.

Recommended Action
Register the share to the host, and then try the operation again.

 

General Assumptions

1. SMB 3.0 shares have already been configured in Windows Server 2012.

2. A domain "Run As Account" has already been configured in VMM. This account will be used for host management. Because the account will be used by SCVMM to modify share and NTFS permissions as well as accessing the SMB share from the hyper-v hosts the account will need admin rights on the hyper-v host machines and the VMM server.

 

Open SCVMM click on fabric ->right click on storage -> and click on add storage device.

 

Type in the provider name and select "Native Windows WMI" as the Protocol. Click browse and select the run as account that will be used for host management and click next. Note the provider name is the name of the server hosting the SMB 3.0 share.

At the gather information dialog click next.

Select the shares you setup as SMB 3.0 shares and click next.

 At the summary window click finish. Verify your VMM job completed successfully before proceeding to the next step.

While still in the Fabric tab right click one of your hosts and choose properties.

 Click on Storage and then click on Add File Share.

 In the File Share Path dialog you should see the SMB shares as an available selection. Select one of the shares and click ok. Repeat this process for each host and for each share.

 In my next post look for some rapid provisioning stuff through SCVMM 2012 SP1

 

Hope this helps!

Trent
CISSP, ITILv3, MCP

This posting is provided "AS IS" with no warranties, and confers no rights

 

Comments (2)
  1. fbarbier says:

    Hi, thanks for all 🙂

    I tried this but I get an error in the end of the last step (adding file storage to host):

    "An internal error has occured trying to contact server.ad.lan server: w:InternalError: :Windows System error 1332:No mapping between account names and security IDs was done.

    WinRM: URL: [http://server.ad.lan:5985], Verb: [INVOKE], Method:[GrantAccess], Resource: [schemas.microsoft.com/…/MSFT_SmbShare*]

    (Error ID:2912, Detailed Error: No mapping between account names and security IDs was done (0x80070534))

    Check that WS-Management service is installed and running on server SERVER.AD.LAN. For more information use the command "winrm helpmsg hresult". If SERVER.AD.LAN is a host/library/update server or a PXE server role then ensure that VMM agent is installed
    and running."

    Anybody can help me please 🙂 ?

    Regards,

    Fred

  2. fbarbier says:

    I find the solution. Language error 🙁 File server must be in English…

Comments are closed.

Skip to main content