扫一扫,访问微社区

QQ登录

只需一步,快速开始

查看: 3853|回复: 0

[Linux] 如何移除主机中的存储 Remove Storage Configured Under Host

[复制链接]
发表于 2016-12-7 15:31:14 | 显示全部楼层 |阅读模式

访客您好,登录后可看更多精彩内容!发帖、回复积分还可换实物奖品哦,还在犹豫什么,赶紧注册登录吧!

您需要 登录 才可以下载或查看,没有账号?立即注册

×
本帖最后由 bijiafeng 于 2016-12-7 15:33 编辑

1.     Open Desktop Studio console and checkthe name of the storage that needs to be removed, under Host connection, asdisplayed in the following screen shot.
image003.gif
2.     Start PowerShell using the Run as administratoroption.
3.     Run the following command to initializethe PowerShell environment:
asnp Citrix*
4.     Run following commands to find theparameters necessary for executing related to storage configuration:
cd XDHyp:
cd HostingUnits
ls
image005.gif
5.     Once the required parameters are found,run the following commands to remove the Storage:
Remove-HypHostingUnitStorage-LiteralPath XDHyp:\HostingUnits\nff -StoragePath ‘XDHyp:\Connections\Xe\iSCSIvirtual disk storage (1).storage’.
        如果需要移除PersonalvDiskStorage要在以上命令后加 -StorageType PersonalvDiskStorage
  1. Remove-HypHostingUnitStorage –LiteralPath ### –StoragePath ###
  2. Remove-HypHostingUnitStorage –LiteralPath ### –StoragePath ### -StorageType PersonalvDiskStorage
复制代码

6.     executed successfully, the output followingcommand execution should show that iSCSI virtual disk storage(1).storage no longer exist, as displayed on the following screen shot
image007.gif
6.     Go back to Desktop Studio and confirmthat the storage is removed, as displayed in the following screen shot:
image009.gif
In the preceding screen shot, you wouldnotice that the Storage count has changed to 1 and the Storage iSCSIvirtual disk storage (1) was successfully removed.


毕嘉峰电脑技术论坛-Bijiafeng.com:论技术分享我们更专业更精确!!
关闭

站长推荐 上一条 /1 下一条

9.9全场包邮
客服热线
暂缓开通 周一至周五:09:00 - 18:00
公司地址:北京市海淀区中关科技园
邮箱:root@bijiafeng.com

毕嘉峰电脑技术网始于2008年,由毕嘉峰创办并延续至今,在2012年进行线下转型于2013年正式上线运行。我们坚持初心不忘使命,努力为客户打造准确精准的解决方案,目前处于公益运行,如果你喜欢本站,希望给予赞助让我们做得更好更久,谢谢支持!。

Powered by Discuz!  X3.5 © 2008-2021 毕嘉峰电脑技术网   技术支持: 凡尘

申请友链|手机版|小黑屋|毕嘉峰电脑技术网 ( 京ICP备13033230号-2 )|赞助我们

GMT+8, 2024-11-21 19:54 , Processed in 0.048915 second(s), 28 queries .

快速回复 返回顶部 返回列表