?
Solved

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

Posted on 2010-08-13
4
Medium Priority
?
2,104 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

777 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