Partager via


hpcpack unmount

Unmounts a VHD file that was previously mounted on a Windows Azure node using hpcpack mount. You can specify a drive letter on the Windows Azure node, or the VHD source (VHD name and storage account details).

Note

This subcommand was introduced in HPC Pack 2008 R2 with Service Pack 3 (SP3) and is not supported in previous versions.

Syntax

hpcpack unmount <VHDname> /account:<storageAccountName> (/key:<storageKey>|/sas:<sasToken>)   
[/container:<containerName>]  
  
hpcpack unmount <driveLetter>  
  
hpcpack unmount {/? | /help}  

Parameters

Parameter Description
<VHDname > Specifies the name of the VHD file that you want to unmount from the Windows Azure node.

For example: myDrive.vhd.
/account Specifies the public name of the Windows Azure storage account (the same storage name that you specify in the Windows Azure node template).

This is the value of <storageAccountName> in the public URL of the account: https:// <storageAccountName>.blob.core.windows.net.

If you specify /account, you must also specify /key.
/key Specifies the access key for the Windows Azure storage account.

If you specify /key, you must also specify /account.
/container Specifies the name of the container in the Windows Azure storage account that contains the VHD file.
<driveLetter> Specifies the drive letter on the Windows Azure node to which the VHD is mounted.
/sas Specifies a Shared Access Signature (SAS) token. Note: This parameter was introduced in HPC Pack 2012 and is not supported in previous versions.
/? Displays Help at the command prompt.
/help Displays Help at the command prompt.

Remarks

hpcpack unmount can only be used on Windows Azure nodes and only supports HTTP connectivity. HTTPS connectivity is not supported.

Examples

To unmount drive F:\ from the Windows Azure node.

hpcpack unmount F:   

To unmount myVHD.vhd from the Windows Azure node.

hpcpack unmount myVHD.vhd /account:accountName /key:storageKey /container:myVHDs