使用 hpcpack 装载卸载以前装载在 Windows Azure 节点上的 VHD 文件。 可以在 Windows Azure 节点上指定驱动器号或 VHD 源(VHD 名称和存储帐户详细信息)。
注意
此子命令在 HPC Pack 2008 R2 中引入了 Service Pack 3(SP3),在早期版本中不受支持。
语法
hpcpack unmount <VHDname> /account:<storageAccountName> (/key:<storageKey>|/sas:<sasToken>)
[/container:<containerName>]
hpcpack unmount <driveLetter>
hpcpack unmount {/? | /help}
参数设置
| 参数 | 说明 |
|---|---|
| <VHDname > | 指定要从 Windows Azure 节点中卸载的 VHD 文件的名称。 例如:myDrive.vhd。 |
| /帐户 | 指定 Windows Azure 存储帐户的公共名称(在 Windows Azure 节点模板中指定的相同存储名称)。 这是帐户公共 URL 中 <storageAccountName> 的值:https:// <storageAccountName>.blob.core.windows.net。 如果指定 /account,则还必须指定 /key。 |
| /钥匙 | 指定 Windows Azure 存储帐户的访问密钥。 如果指定 /key,则还必须指定 /account。 |
| /容器 | 指定包含 VHD 文件的 Windows Azure 存储帐户中的容器的名称。 |
| <driveLetter> | 指定装载 VHD 的 Windows Azure 节点上的驱动器号。 |
| /sas | 指定共享访问签名 (SAS) 令牌。 注意: 此参数是在 HPC Pack 2012 中引入的,在以前的版本中不受支持。 |
| /? | 在命令提示符处显示帮助。 |
| /帮助 | 在命令提示符处显示帮助。 |
注解
hpcpack 卸载 只能在 Windows Azure 节点上使用,并且仅支持 HTTP 连接。 不支持 HTTPS 连接。
示例
从 Windows Azure 节点卸载驱动器 F:\ 。
hpcpack unmount F:
从 Windows Azure 节点卸载 myVHD.vhd。
hpcpack unmount myVHD.vhd /account:accountName /key:storageKey /container:myVHDs