Datastore Mount/Unmount Detach/Attach functions
2017-11-21 14:15
387 查看
A set of functions to allow you to unmount/mount and detach/attach datastores from multiple hosts.
List all datastores and their mount/detach status by passing your datastore object(s) into the Get-DatastoreMountInfo advanced function as shown below:
To unmount a datastore pass your datastore object(s) to the Unmount-Datastore advanced function as seen below, this will unmount the datastore from all attached hosts:
Once unmounted you will then be able to detach the datastore from the hosts using the Detach-Datastore cmdlet as shown below:
Script download
https://communities.vmware.com/servlet/JiveServlet/download/18008-1-78898/DatastoreFunctions.txt
Forward from
https://communities.vmware.com/docs/DOC-18008
List all datastores and their mount/detach status by passing your datastore object(s) into the Get-DatastoreMountInfo advanced function as shown below:
To unmount a datastore pass your datastore object(s) to the Unmount-Datastore advanced function as seen below, this will unmount the datastore from all attached hosts:
Once unmounted you will then be able to detach the datastore from the hosts using the Detach-Datastore cmdlet as shown below:
Script download
https://communities.vmware.com/servlet/JiveServlet/download/18008-1-78898/DatastoreFunctions.txt
Forward from
https://communities.vmware.com/docs/DOC-18008
相关文章推荐
- Caused by: org.datanucleus.store.rdbms.exceptions.MissingTableException: Required table m
- Ext.data.Store的基本用法
- Ext.form.ComboBox加载Ext.data.SimpleStore的data数组的问题
- Google Datastore 学习记录
- Data Volume 之 bind mount - 每天5分钟玩转 Docker 容器技术(39)
- 设置 Ext.data.Store 传参的请求方式
- [转载]EXT核心API详解Ext.data(十二)-GroupingStore/JsonStore/SimpleStore javascript
- Ext.data-Store
- How to mount & unmount a USB thumb drive on CentOS 6.x Server
- EXT核心API详解Ext.data(十二)-GroupingStore/JsonStore/SimpleStore javascript
- SAP IUT210 Master Data and Basic Functions_Col62.pdf
- Ext.data.SimpleStore的使用方法
- Extjs4.0设置Ext.data.Store传参的请求方式(默认为GET)
- DetourFunction \DetourRemove 和DetourAttach \DetourDetach
- [ExtJS5学习笔记]第十四节 Extjs5中data数据源store和datapanel学习
- Ext.data.Store 中 data 的克隆原理
- Ext.data.Store 获取Json数据只有一行,而且是最后一行
- 如何使用VM PowerCLI 访问Vsphere Datastore
- Attach and Detach in VC
- FAILED: Error in metadata: javax.jdo.JDOFatalDataStoreException: