Solved

After converting vm disk from Thin to Thick, it still shows as Thin in the GUI?

Posted on 2010-08-13
4
2,013 Views
Last Modified: 2012-05-10
The Inflate process ran fine, but after completing it still shows as Thin under vsphere client > VM > Summary > Edit Settings > Disk.  Is there a Command line that I can run directly on the host to verify if the disk is currently thin or thick format?  
0
Comment
Question by:dkraut
  • 2
4 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 33433175
I would do a refresh, since it appears not to do one automatically.

I hope this helps !
0
 
LVL 28

Expert Comment

by:bgoering
ID: 33434428
You could take a look at the disk header. From vmdk format specification:

cat test.vmdk
# Disk DescriptorFile
version=1
CID=fffffffe
parentCID=ffffffff
createType="twoGbMaxExtentSparse"
# Extent description
RW 4192256 SPARSE "test-s001.vmdk"
RW 4192256 SPARSE "test-s002.vmdk"
RW 2101248 SPARSE "test-s003.vmdk"
# The Disk Data Base
#DDB
ddb.adapterType = "ide"
ddb.geometry.sectors = "63"
ddb.geometry.heads = "16"
ddb.geometry.cylinders = "10402"

Pay special attention to the create type - sparse indicates a thin format:

createType
This line describes the type of the virtual disk. It can be one of the following:
• monolithicSparse
• vmfsSparse
• monolithicFlat
• vmfs
• twoGbMaxExtentSparse
• twoGbMaxExtentFlat
• fullDevice
• vmfsRaw
• partitionedDevice
• vmfsRawDeviceMap
• vmfsPassthroughRawDeviceMap
• streamOptimized
The first six terms are used to describe various types of virtual disks. Terms that include
monolithic indicate that the data storage for the virtual disk is contained in a single file.
Terms that include twoGbMaxExtent indicate that the data storage for the virtual disk
consists of a collection of smaller files. Terms that include sparse indicate that the virtual
disks start small and grow to accommodate data. Some product documentation refers to
these virtual disks as growable disks. Terms that include flat indicate that all space
needed for the virtual disks is allocated at the time they are created. Some product
documentation refers to these virtual disks as preallocated disks.
Terms that include vmfs indicate that the disk is an ESX Server disk.
The terms fullDevice, vmfsRaw, and partitionedDevice are used when the
virtual machine is configured to make direct use of a physical disk — either a full disk or
partitions on a disk — rather than store data in files managed by the host operating
system.

Hope this helps - Good Luck
0
 

Author Comment

by:dkraut
ID: 33447912
Thanks... My create type = vmfs, yet it is showing Thin in the GUI.  Does this mean the GUI is wrong?   >


# cat vm-red1.vmdk
# Disk DescriptorFile
version=1
CID=90236cd3
parentCID=ffffffff
createType="vmfs"

# Extent description
RW 104857600 VMFS "vm-red1-flat.vmdk"

# The Disk Data Base
#DDB

ddb.virtualHWVersion = "4"
ddb.uuid = "60 00 C2 96 24 ff 76 59-dc 25 98 26 99 9d 53 ba"
ddb.geometry.cylinders = "6527"
ddb.geometry.heads = "255"
ddb.geometry.sectors = "63"
ddb.adapterType = "lsilogic"
ddb.thinProvisioned = "0"
ddb.toolsVersion = "2147483647"
#
0
 
LVL 28

Accepted Solution

by:
bgoering earned 500 total points
ID: 33447947
It appears to be a thick formatted disk to me. What flavor of VMware and GUI are you looking at? If it is the vSphere client try to

1. Remove it from inventory
2. Use datastore browser to browse to the datastore holding your vm, right click on the vm-red1.vmx file there and select add to inventory
3. Check the GUI again and see what it reports.

This should force a total refresh of what the GUI is seeing.

Let me know...
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question