vmkfstools change disk format or extend share disk

Enabling clustering features for an existing virtual disk by converting in place (1035823)clustering

通过就地转换为现有虚拟磁盘启用群集功能 (2062869)请添加链接描述

Attempts to extend the size of an EagerZeroedThick VMDK from the vSphere Client might result in a LazyZeroedThick VMDK (2054563)请添加链接描述

How to change VMDK disk format from Thin and Thick Provision Lazy Zeroed to Thick Provision Eager Zeroed

方法一Use Storage vMotion to change the disk format

方法二将虚拟磁盘转换为厚置备置零磁盘:

a) 如果 VMDK 虚拟磁盘的类型为精简置备,请使用 vmkfstools --inflatedisk 命令将此磁盘转换为厚置备置零。

例如:

vmkfstools --inflatedisk /vmfs/volumes/DatastoreName/VMName/VMName.vmdk

注意:inflate 命令会报告完成的百分比。

b) 如果 VMDK 虚拟磁盘的类型为厚置备,请使用 vmkfstools --eagerzero 命令将此磁盘转换为厚置备置零。

例如:

vmkfstools --eagerzero /vmfs/volumes/DatastoreName/VMName/VMName.vmdk

注意:eager zero 命令会报告完成的百分比。

Powering on the virtual machine fails with the error: Thin/TBZ disks cannot be opened in multiwriter mode (1033570)请添加链接描述

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2040969请添加链接描述

How to extend Share disks size

If you need to extend the VMDK and want the VMDK to be EagerZeroedThick, run this command:
For example, to extend the size of the virtual disk to 60 GB:

#vmkfstools -X 60G -d eagerzeroedthick /vmfs/volumes/Datastore_name/virtual_Machine_folder/virtualmachinedisk.vmdk

Notes:
In the preceding vmkfstools -X example, 60 GB is the size that you want the disk file to be, is not the size by which you want to extend the disk file.

If you extend the disk by using UI, you have no control over all the options to extend the disk. As a result, the EagerZeroedThick VMDK automatically becomes LazyZeroedThick.

原文地址:http://blog.51cto.com/549687/2130630

时间: 2024-10-03 14:45:27

vmkfstools change disk format or extend share disk的相关文章

extend san disk

server abc00101 要加一个lun,需要往生产用的SG和备份用的SG里分别加两个lun,先确定lun的号码,例如1234和abcd,再把disk加入SG之前,需要先往此SG的pool里bind上1234和abcd. 第二步: 需要在backup server的相应两个DG中加入这两个lun,命令如下: symld -sid xxx -g [abcd_dg] add dev 1234 abcd_sg_01  ( abcd_sg_01为1234这个lun的logic name) symb

How to batch extend VM disk

Add-PSSnapin vmWARE.VimAutomation.Core $vc="vCenterHostName" connect-viserver $vc $VMinfo = get-content "c:\VMName.csv" foreach ($VM in $VMinfo){ Get-HardDisk -vm $VM | where {$_.Name -eq "Hard Disk 1"} |Set-HardDisk -Capacit

VM with share disk configuration

原文地址:http://blog.51cto.com/549687/2311552

ESXI虚拟机厚置备延迟置零转换为Thin Provision方法

最近有博友提出一个需求,他们公司的服务器磁盘空间不足了,现在无法正常创建虚拟机,其实并没有使用到这么多空间,只是因为划了这么多空间给虚拟机,所以造成磁盘空间不足,那么是否有什么解决的方法了?详细了解发现虚拟机在配置磁盘的时候设置的是厚置备延迟置零.其实厚置备延迟置零与Thin Provision在性能上是有一定的区别,但对于业务并非100%高性能的系统来说,两者并不会产生太大的区别,这时候对于这种磁盘空间不足我们可以通过将对应的虚拟机磁盘转换成Thin Provision来解决此问题: 下面我们

Maste Note for OCR / Vote disk Maintenance Operations (ADD/REMOVE/REPLACE/MOVE)

Doc ID 428681.1 Applies to: Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.1.0 [Release 10.2 to 11.2]Information in this document applies to any platform. Goal The goal of this note is to provide steps to add, remove, replace or mo

Disk array controller and information processing apparatus

A disk array controller has a function of relocating a plurality of data blocks stored in a disk array. The controller includes a read unit which reads data blocks to be relocated from the disk array, a determining unit which determines whether an er

Eager thick vs Lazy thick disk performance

The VMware Thick Eager Zeroed Disk vs the Lazy Zeroed Thick disk in write performance. What is the potential write performance difference between the VMware virtual disks: Thick Lazy Zeroed, Thick Eager Zeroed and Thin provisioned types? This has bee

win32 disk imager使用后u盘容量恢复

XP下进入CMD命令窗体,Vista及7下右键以管理员方式运行DOS窗体 输入DISKPART,会显示计算机名,及DISKPART>命令行 在此状态下输入LIST DISK查看机器磁盘,正常Disk 0是本地硬盘,如果有多个硬盘那么以此类推,根据USB设备容量选择磁盘,例如要选择第二块磁盘 则需输入SELECT DISK 1 输入CLEAN删除磁盘(PS:操作之前要记得备份USB设备内的文件) 输入CREATE PARTITION PRIMARY创建主磁盘分区 输入ACTIVE激活磁盘分区 输入

HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node

In this Document APPLIES TO: Oracle Database - Enterprise Edition - Version 9.2.0.1 and laterInformation in this document applies to any platform.***Checked for relevance on 15-Apr-2014*** GOAL - You have a RAC database backed up by RMAN to disk loca